Commit 407e9ffa authored by caotao's avatar caotao

修改工单创建逻辑避免重复创建

parent fe01633a
...@@ -88,7 +88,7 @@ public class MaintenanceResultHandlerMessage extends EmqxListener { ...@@ -88,7 +88,7 @@ public class MaintenanceResultHandlerMessage extends EmqxListener {
jpStation = jpStationMapper.selectById(stationid); jpStation = jpStationMapper.selectById(stationid);
} }
TdHygfJpInverterWarn tdHygfJpInverterWarn = tdHygfJpInverterWarnMapper.getInverTerWarnByparams(warningId, sncode, stationid); TdHygfJpInverterWarn tdHygfJpInverterWarn = tdHygfJpInverterWarnMapper.getInverTerWarnByparams(warningId, sncode, stationid);
// hygfMaintenanceTickets.setHandlerStatus("未处理"); hygfMaintenanceTickets.setHandlerStatus("未处理");
MaintenanceDto maintenance = maintenanceMapper.selectOneById(Long.valueOf(mantainancePersonId)); MaintenanceDto maintenance = maintenanceMapper.selectOneById(Long.valueOf(mantainancePersonId));
hygfMaintenanceTickets.setStationId(stationid); hygfMaintenanceTickets.setStationId(stationid);
hygfMaintenanceTickets.setWarningId(warningId); hygfMaintenanceTickets.setWarningId(warningId);
......
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