|
@@ -269,7 +269,7 @@ public class ImportAsyncServiceImpl extends ServiceImpl<ImportAsyncMapper, Impor
|
|
|
params.put("isOther", "1");
|
|
params.put("isOther", "1");
|
|
|
params.put("isNotCar", isNotCar);
|
|
params.put("isNotCar", isNotCar);
|
|
|
InsPlyIncome insPlyIncome = insPlyIncomeMapper.findByBxLicenseno(params);
|
|
InsPlyIncome insPlyIncome = insPlyIncomeMapper.findByBxLicenseno(params);
|
|
|
- if(StringUtils.isNotEmpty(insPlyIncome.getTaskId())){
|
|
|
|
|
|
|
+ if(ObjectUtils.isNotEmpty(insPlyIncome) && StringUtils.isNotEmpty(insPlyIncome.getTaskId())){
|
|
|
throw new SystemException("表中有已经结算的数据");
|
|
throw new SystemException("表中有已经结算的数据");
|
|
|
}
|
|
}
|
|
|
if (ObjectUtils.isNotEmpty(insPlyIncome) && open) {
|
|
if (ObjectUtils.isNotEmpty(insPlyIncome) && open) {
|