fanxw 1 рік тому
батько
коміт
df5125e3f5

+ 1 - 3
src/main/java/com/chinaitop/depot/grainSituationCard/controller/StorageGrainCardController.java

@@ -190,9 +190,7 @@ public class StorageGrainCardController {
190
     		Integer historyStatus, String typeUpdate, Integer flagType, Integer processState) {
190
     		Integer historyStatus, String typeUpdate, Integer flagType, Integer processState) {
191
         List<StorageQualitycheckCard> tempCardList = null;
191
         List<StorageQualitycheckCard> tempCardList = null;
192
         try {
192
         try {
193
-            if (StringUtils.isNotBlank(id)) {
194
-                tempCardList = grainCardService.findQuailckCardList(id, orgId, houseId, warehouseId, historyStatus, typeUpdate, flagType, processState);
195
-            }
193
+            tempCardList = grainCardService.findQuailckCardList(id, orgId, houseId, warehouseId, historyStatus, typeUpdate, flagType, processState);
196
             return ResponseEntity.ok(tempCardList);
194
             return ResponseEntity.ok(tempCardList);
197
         } catch (Exception e) {
195
         } catch (Exception e) {
198
             e.printStackTrace();
196
             e.printStackTrace();