|
|
@@ -63,7 +63,7 @@ public class StorageSealedConfirmationImpl implements StorageSealedConfirmationS
|
|
63
|
63
|
}
|
|
64
|
64
|
//粮情卡功能校验取数用到
|
|
65
|
65
|
if (!ObjectUtils.isEmpty(param.getApplyTime())) {
|
|
66
|
|
- criteria.andApplyTimeGreaterThanOrEqualTo(ParameterUtil.string2datetime(param.getApplyTime()));
|
|
|
66
|
+ criteria.andApplyTimeGreaterThanOrEqualTo(ParameterUtil.string2datetime(param.getApplyTime()));
|
|
67
|
67
|
}
|
|
68
|
68
|
return confirmationMapper.selectByExample(example);
|
|
69
|
69
|
}
|
|
|
@@ -137,11 +137,13 @@ public class StorageSealedConfirmationImpl implements StorageSealedConfirmationS
|
|
137
|
137
|
Integer grainAttribute = confirmationMapper.checkNoticeReceive(orgId, houseId, warehouseId);
|
|
138
|
138
|
// 未做性质转变
|
|
139
|
139
|
if (ObjectUtils.isEmpty(grainAttribute)) {
|
|
140
|
|
- return confirmation;
|
|
|
140
|
+ return null;
|
|
141
|
141
|
} else {
|
|
142
|
142
|
// 对比粮食性质是否为储备粮
|
|
143
|
143
|
if (6864 == grainAttribute || 6865 == grainAttribute || 6877 == grainAttribute || 6878 == grainAttribute || 6879 == grainAttribute || 6866 == grainAttribute) {
|
|
144
|
144
|
confirmation.setGrainAttribute(grainAttribute);
|
|
|
145
|
+ } else {
|
|
|
146
|
+ return null;
|
|
145
|
147
|
}
|
|
146
|
148
|
}
|
|
147
|
149
|
}
|