Commit aa26841b by zhangkb

Merge branch 'hy-tobacco' of ssh://132.232.112.242:7022/zhangkb/indicators into hy-tobacco

parents b74dbc40 95d1d5d0
...@@ -371,7 +371,9 @@ public class TaskServiceImpl implements TaskService { ...@@ -371,7 +371,9 @@ public class TaskServiceImpl implements TaskService {
status = Constants.APPLY_STATE_PASSED; status = Constants.APPLY_STATE_PASSED;
recordType = "审批通过"; recordType = "审批通过";
List<IndicatorsData> datas = createCountIndValues(task); List<IndicatorsData> datas = createCountIndValues(task);
this.baseIndDataService.batchInsertData(datas); if (CollectionUtils.isNotEmpty(datas)) {
this.baseIndDataService.batchInsertData(datas);
}
taskIndValueMapper.updateTaskValueToPass(task.getId()); taskIndValueMapper.updateTaskValueToPass(task.getId());
} }
task.setStatus(status); 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