Commit 00ba6322 authored by 高建强's avatar 高建强

item:应急处置执行业务完善

parent 5ca87411
......@@ -17,6 +17,7 @@ import com.yeejoin.amos.fas.business.action.result.ActionResult;
import com.yeejoin.amos.fas.business.action.result.SafteyPlanResult;
import com.yeejoin.amos.fas.business.action.result.message.AbstractActionResultMessage;
import com.yeejoin.amos.fas.business.action.util.ContingencyLogPublisher;
import com.yeejoin.amos.fas.business.dao.mapper.ContingencyPlanInstanceMapper;
import com.yeejoin.amos.fas.business.dao.mapper.PlanDetailMapper;
import com.yeejoin.amos.fas.business.dao.mapper.PlanOperationRecordMapper;
import com.yeejoin.amos.fas.business.dao.repository.IPlanDetailDao;
......@@ -135,6 +136,9 @@ public class ContingencyAction implements CustomerAction {
@Autowired
private ContingencyInstanceInfoService contingencyInstanceInfoService;
@Autowired
private ContingencyPlanInstanceMapper contingencyPlanInstanceMapper;
@Value("${rocket-plan-topic}")
private String rocketTopic;
......@@ -492,6 +496,12 @@ public class ContingencyAction implements CustomerAction {
result.add(tempmap1);
this.sendcmd("optionarea", paramObj, result);
ContingencyPlanInstance instance = contingencyInstance.getMessageById(contingencyPlanId);
if (instance != null) {
ContingencyPlanInstance planInstance = contingencyInstance.updateExtendColumn(instance);
// TODO,手写更新方法
// contingencyPlanInstanceMapper.updateById(planInstance);
}
//极光推送
iPlanVisual3dService.sendMessage(batchNo, buttonCode, null);
PushMsgParam pushMsgParam = new PushMsgParam();
......
......@@ -220,6 +220,7 @@ public class ContingencyPlanServiceImpl implements IContingencyPlanService {
instanceInfo.setId(batchNo);
instanceInfo.setName(detail.getPlanName());
instanceInfo.setOrgCode(detail.getOrgCode());
// TODO,手写查询方法
// WarehouseStructure warehouseStructure = warehouseStructureMapper.selectById(equipmentSpecific.getWarehouseStructureId());
// if (warehouseStructure != null) {
// instanceInfo.setPosition(warehouseStructure.getName());
......
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