Commit 930fae42 authored by 高建强's avatar 高建强

item:应急处置获取角标接口优化

parent 279c1b34
...@@ -850,8 +850,10 @@ public class ContingencyPlanServiceImpl implements IContingencyPlanService { ...@@ -850,8 +850,10 @@ public class ContingencyPlanServiceImpl implements IContingencyPlanService {
List<PlanOperationRecord> recordList = planOperationRecordDao.findByStatus(0); List<PlanOperationRecord> recordList = planOperationRecordDao.findByStatus(0);
if (!CollectionUtils.isEmpty(recordList)) { if (!CollectionUtils.isEmpty(recordList)) {
PlanOperationRecord record = recordList.get(0); PlanOperationRecord record = recordList.get(0);
map.put("planName", record.getBatchNo()); String batchNo = record.getBatchNo();
List<ContingencyPlanInstance> list = planVisual3dService.selectDisposalActionList(record.getBatchNo(), roleModelList, 1); ContingencyInstanceInfo instanceInfo = contingencyInstanceInfoService.selectDisposalDetails(batchNo);
map.put("planName", instanceInfo.getName());
List<ContingencyPlanInstance> list = planVisual3dService.selectDisposalActionList(batchNo, roleModelList, 1);
map.put("taskNum", list.size()); map.put("taskNum", list.size());
} }
return map; return map;
......
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