Commit b3d76c0f authored by caotao's avatar caotao

运维人员数据回显错误问题处理

parent 8eaedb33
......@@ -6,6 +6,7 @@ import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.yeejoin.amos.boot.module.hygf.api.dto.MaintenanceDto;
import com.yeejoin.amos.boot.module.hygf.api.entity.HYGFMaintenanceTickets;
import com.yeejoin.amos.boot.module.hygf.api.entity.JpStation;
import com.yeejoin.amos.boot.module.hygf.api.entity.Maintenance;
......@@ -87,7 +88,7 @@ public class MaintenanceResultHandlerMessage extends EmqxListener {
}
TdHygfJpInverterWarn tdHygfJpInverterWarn = tdHygfJpInverterWarnMapper.getInverTerWarnByparams(warningId, sncode, stationid);
hygfMaintenanceTickets.setHandlerStatus("未处理");
Maintenance maintenance = maintenanceMapper.selectOne(new QueryWrapper<Maintenance>().eq("sequence_nbr", mantainancePersonId));
MaintenanceDto maintenance = maintenanceMapper.selectOneById(Long.valueOf(mantainancePersonId));
hygfMaintenanceTickets.setStationId(stationid);
hygfMaintenanceTickets.setWarningId(warningId);
hygfMaintenanceTickets.setMaintenancePersonId(mantainancePersonId);
......
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