LAPTOP-063L2NVL\dong %!s(int64=5) %!d(string=hai) anos
pai
achega
585250af35

+ 3 - 3
src/main/java/com/unissoft/grainManage/service/impl/GrainConditionRecordServiceImpl.java

@@ -212,9 +212,9 @@ public class GrainConditionRecordServiceImpl extends ServiceImpl<GrainConditionR
212 212
         Integer depotId = null;
213 213
         if (!StringUtils.isEmpty(pageParam.getCondition())) {
214 214
             JSONObject object = new JSONObject(pageParam.getCondition());
215
-             houseId = object.optInt("houseId");
216
-             depotId = object.optInt("depotId");
217
-            logger.info("houseId============"+houseId +"============depotId"+depotId);
215
+             houseId = object.getInt("houseId");
216
+             depotId = object.getInt("depotId");
217
+            logger.info("houseId"+houseId +"============depotId"+depotId);
218 218
         }
219 219
         List<GrainConditionRecord> list = grainConditionRecordMapper.getByCheckPersonAndCheckTime(houseId,depotId);
220 220
         for (GrainConditionRecord conditionRecord : list) {