|
@@ -105,7 +105,15 @@ public class BmstruckDetailsOrderServiceImpl implements IBmstruckDetailsOrderSer
|
|
|
}
|
|
|
int result = 0;
|
|
|
for (Map<String, Object> map : weightTaskResultIdList) {
|
|
|
+ if(map == null) {
|
|
|
+ System.out.println("空Map,释放");
|
|
|
+ continue;
|
|
|
+ }
|
|
|
BigDecimal weightTaskResultId = DataChange.dataToBigDecimal(map.get("weightTaskResultId"));
|
|
|
+ if(weightTaskResultId == null) {
|
|
|
+ System.out.println("计量实绩Id为空,释放");
|
|
|
+ continue;
|
|
|
+ }
|
|
|
//判断该计量实绩有没有结算数据
|
|
|
if(bmstruckDetailsOrderMapper.getIsHaveDetailsOrder(weightTaskResultId) > 0 ){
|
|
|
continue;
|
|
@@ -173,7 +181,15 @@ public class BmstruckDetailsOrderServiceImpl implements IBmstruckDetailsOrderSer
|
|
|
// }
|
|
|
int result = 0;
|
|
|
for (Map<String, Object> map : weightTaskResultIdList) {
|
|
|
+ if(map == null) {
|
|
|
+ System.out.println("map为空");
|
|
|
+ continue;
|
|
|
+ }
|
|
|
BigDecimal weightTaskResultId = DataChange.dataToBigDecimal(map.get("weightTaskResultId"));
|
|
|
+ if (weightTaskResultId == null) {
|
|
|
+ System.out.println("计量实绩Id为空");
|
|
|
+ continue;
|
|
|
+ }
|
|
|
//判断该计量实绩有没有结算数据
|
|
|
if(bmstruckDetailsOrderMapper.getIsHaveDetailsOrder(weightTaskResultId) > 0 ){
|
|
|
continue;
|