Commit 95d1d5d0 by 张祺

处理没有值可以插入的情况

parent 4863bf0d
......@@ -371,7 +371,9 @@ public class TaskServiceImpl implements TaskService {
status = Constants.APPLY_STATE_PASSED;
recordType = "审批通过";
List<IndicatorsData> datas = createCountIndValues(task);
if (CollectionUtils.isNotEmpty(datas)) {
this.baseIndDataService.batchInsertData(datas);
}
taskIndValueMapper.updateTaskValueToPass(task.getId());
}
task.setStatus(status);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment