| | |
| | | |
| | | [Route("api/[controller]")] |
| | | [ApiController] |
| | | public class IpqcController : ControllerBase |
| | | public class IpqcController : BaseController |
| | | { |
| | | IpqcService m = new IpqcService(); |
| | | |
| | |
| | | try |
| | | { |
| | | dynamic resultInfos = new ExpandoObject(); |
| | | var (item, totalCount) = m.getPageXj(queryObj); |
| | | var (item, totalCount) = m.getPageXj(queryObj, RequestInfo); |
| | | var tbBillList = |
| | | resultInfos.tbBillList = item; |
| | | return new ResponseResult |
| | |
| | | } |
| | | } |
| | | |
| | | [HttpPost("selIpqcItemsByGw")] |
| | | public ResponseResult SelIpqcItemsByGw([FromBody] dynamic query) |
| | | { |
| | | try |
| | | { |
| | | dynamic resultInfos = new ExpandoObject(); |
| | | resultInfos.tbBillList = m.SelIpqcItemsByGw(query); |
| | | return new ResponseResult |
| | | { |
| | | status = 0, |
| | | message = "OK", |
| | | data = resultInfos |
| | | }; |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | |
| | | |
| | | } |