|
@@ -416,7 +416,12 @@ public class HandleDataController extends BaseController
|
|
|
updateBean.setCLJYSSLL(CLJYSSLL);
|
|
|
BigDecimal SJTYJLY = Objects.isNull(objects.get(3)) || String.valueOf(objects.get(3)).contains("-") ? null : new BigDecimal(String.valueOf(objects.get(3)));
|
|
|
updateBean.setSJTYJLY(SJTYJLY);
|
|
|
- this.xinyiIndustryMapper.updateTXinyiIndustry(updateBean);
|
|
|
+ //如果两个都不为空再更新
|
|
|
+ if(!Objects.isNull(CLJYSSLL) || !Objects.isNull(SJTYJLY)){
|
|
|
+ this.xinyiIndustryMapper.updateTXinyiIndustry(updateBean);
|
|
|
+ }else{
|
|
|
+ log.error("要更新的两个字段全部为空--------");
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|