| | |
| | | { |
| | | IpqcService m = new IpqcService(); |
| | | |
| | | /// <summary> |
| | | /// 首检单据查询 |
| | | /// </summary> |
| | | /// <param name="queryObj"></param> |
| | | /// <returns></returns> |
| | | [HttpPost("getPageSj")] |
| | | public ResponseResult getPageSj([FromBody] XJPageResult queryObj) |
| | | { |
| | |
| | | } |
| | | |
| | | |
| | | |
| | | /// <summary> |
| | | /// 首检单据查询 |
| | | /// </summary> |
| | | /// <param name="queryObj"></param> |
| | | /// <returns></returns> |
| | | [HttpPost("getPageXj")] |
| | | public ResponseResult getPageXj([FromBody] XJPageResult queryObj) |
| | | { |
| | | try |
| | | { |
| | | dynamic resultInfos = new ExpandoObject(); |
| | | var (item, totalCount) = m.getPageXj(queryObj); |
| | | var tbBillList = |
| | | resultInfos.tbBillList = item; |
| | | return new ResponseResult |
| | | { |
| | | status = 0, |
| | | message = "OK", |
| | | data = resultInfos, |
| | | TotalCount = totalCount |
| | | }; |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | |
| | | |
| | | } |