|
@@ -618,14 +618,16 @@ public class ZhcxInsideInspectionServiceImpl extends ServiceImpl<ZhcxInsideInspe
|
|
|
throw new CustomException(StringUtils.join(msgList, "<br>"));
|
|
|
}
|
|
|
|
|
|
- //批量派单
|
|
|
- dispatchService.updateBatchById(dispatchList);
|
|
|
+ if(ObjectUtil.isNotEmpty(dispatchList)) {
|
|
|
+ //批量派单
|
|
|
+ dispatchService.updateBatchById(dispatchList);
|
|
|
|
|
|
- //批量更新
|
|
|
- updateBatchById(inspectionList);
|
|
|
+ //批量更新
|
|
|
+ updateBatchById(inspectionList);
|
|
|
|
|
|
- //操作日志
|
|
|
- operLogService.saveOperLog(req, operDto, descMap);
|
|
|
+ //操作日志
|
|
|
+ operLogService.saveOperLog(req, operDto, descMap);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
/**
|