|
|
@@ -626,10 +626,11 @@ public class StorageQualitycheckController {
|
|
626
|
626
|
@ApiImplicitParam(name = "checktype", value = "检查的类型", paramType = "query"),
|
|
627
|
627
|
@ApiImplicitParam(name = "checkResult", value = "检查结果", paramType = "query"),
|
|
628
|
628
|
@ApiImplicitParam(name = "historyStatus", value = "数据状态", paramType = "query"),
|
|
629
|
|
- @ApiImplicitParam(name = "orgId", value = "单位ID", paramType = "query")
|
|
|
629
|
+ @ApiImplicitParam(name = "orgId", value = "单位ID", paramType = "query"),
|
|
|
630
|
+ @ApiImplicitParam(name = "processState", value = "1扦样化验待处理 2化验已处理", paramType = "query")
|
|
630
|
631
|
})
|
|
631
|
632
|
public PageInfo<StorageQualitycheck> newListPage(Integer pageNum, Integer pageSize, Integer houseId, Integer wareId,
|
|
632
|
|
- String checkType, String checkResult, Integer historyStatus, Integer orgId) {
|
|
|
633
|
+ String checkType, String checkResult, Integer historyStatus, Integer orgId, Integer processState) {
|
|
633
|
634
|
|
|
634
|
635
|
List<StorageQualitycheck> list = null;
|
|
635
|
636
|
PageInfo<StorageQualitycheck> pageInfo = null;
|
|
|
@@ -637,7 +638,7 @@ public class StorageQualitycheckController {
|
|
637
|
638
|
if (pageNum!=null && pageSize!=null) {
|
|
638
|
639
|
PageHelper.startPage(pageNum, pageSize);
|
|
639
|
640
|
}
|
|
640
|
|
- list = storageQualitycheckService.getList(houseId, wareId, checkType, checkResult, historyStatus, orgId);
|
|
|
641
|
+ list = storageQualitycheckService.getList(houseId, wareId, checkType, checkResult, historyStatus, orgId, processState);
|
|
641
|
642
|
pageInfo = new PageInfo<StorageQualitycheck>(list);
|
|
642
|
643
|
} catch (Exception e) {
|
|
643
|
644
|
e.printStackTrace();
|
|
|
@@ -812,14 +813,15 @@ public class StorageQualitycheckController {
|
|
812
|
813
|
@ApiImplicitParam(name = "wareId", value = "货位ID", paramType = "query"),
|
|
813
|
814
|
@ApiImplicitParam(name = "checkType", value = "检验类型(0:自检,3:出库检验,4:春秋普查,5:第三方检查)", paramType = "query"),
|
|
814
|
815
|
@ApiImplicitParam(name = "historyStatus", value = "数据状态(0:新数据,1:已归档数据)", paramType = "query"),
|
|
815
|
|
- @ApiImplicitParam(name = "orgId", value = "组织机构ID", paramType = "query")
|
|
|
816
|
+ @ApiImplicitParam(name = "orgId", value = "组织机构ID", paramType = "query"),
|
|
|
817
|
+ @ApiImplicitParam(name = "processState", value = "1扦样化验待处理 2化验已处理", paramType = "query")
|
|
816
|
818
|
})
|
|
817
|
819
|
public Map<String, Object> queryCheckDataDetail(Integer houseId, Integer wareId, String checkType,
|
|
818
|
|
- Integer historyStatus, Integer orgId){
|
|
|
820
|
+ Integer historyStatus, Integer orgId, Integer processState){
|
|
819
|
821
|
|
|
820
|
822
|
Map<String, Object> retMap = null;
|
|
821
|
823
|
try {
|
|
822
|
|
- retMap = storageQualitycheckService.queryCheckDataDetail(houseId, wareId, checkType, historyStatus, orgId);
|
|
|
824
|
+ retMap = storageQualitycheckService.queryCheckDataDetail(houseId, wareId, checkType, historyStatus, orgId, processState);
|
|
823
|
825
|
} catch (Exception e) {
|
|
824
|
826
|
e.printStackTrace();
|
|
825
|
827
|
}
|