|
@@ -212,9 +212,9 @@ public class GrainConditionRecordServiceImpl extends ServiceImpl<GrainConditionR
|
|
212
|
Integer depotId = null;
|
212
|
Integer depotId = null;
|
|
213
|
if (!StringUtils.isEmpty(pageParam.getCondition())) {
|
213
|
if (!StringUtils.isEmpty(pageParam.getCondition())) {
|
|
214
|
JSONObject object = new JSONObject(pageParam.getCondition());
|
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
|
List<GrainConditionRecord> list = grainConditionRecordMapper.getByCheckPersonAndCheckTime(houseId,depotId);
|
219
|
List<GrainConditionRecord> list = grainConditionRecordMapper.getByCheckPersonAndCheckTime(houseId,depotId);
|
|
220
|
for (GrainConditionRecord conditionRecord : list) {
|
220
|
for (GrainConditionRecord conditionRecord : list) {
|