设备点巡检生成工单详情状态赋值

master
马雪伟 11 hours ago
parent 87f55a4f32
commit 40135a1899

@ -127,6 +127,7 @@ public class DmsBillsInspectInstanceServiceImpl implements IDmsBillsInspectInsta
dmsInspectInstanceDetail.setDeviceId(deviceId); dmsInspectInstanceDetail.setDeviceId(deviceId);
dmsInspectInstanceDetail.setInstanceDetailStatus("1"); dmsInspectInstanceDetail.setInstanceDetailStatus("1");
dmsInspectInstanceDetail.setInspectStandard(dmsInspectRouteDetail.getInspectStandard()); dmsInspectInstanceDetail.setInspectStandard(dmsInspectRouteDetail.getInspectStandard());
dmsInspectInstanceDetail.setInspectStatus("0");
dmsInspectInstanceDetailMapper.insertDmsInspectInstanceDetail(dmsInspectInstanceDetail); dmsInspectInstanceDetailMapper.insertDmsInspectInstanceDetail(dmsInspectInstanceDetail);
Long projectId = dmsInspectInstanceDetailMapper.selectProjectId(dmsInspectRouteDetail.getInspectStandard()); Long projectId = dmsInspectInstanceDetailMapper.selectProjectId(dmsInspectRouteDetail.getInspectStandard());
DmsInspectProjectDevice queryInspectProjectDevice = new DmsInspectProjectDevice(); DmsInspectProjectDevice queryInspectProjectDevice = new DmsInspectProjectDevice();

@ -103,6 +103,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="planInspectId != null">#{planInspectId},</if> <if test="planInspectId != null">#{planInspectId},</if>
<if test="wfProcessId != null">#{wfProcessId},</if> <if test="wfProcessId != null">#{wfProcessId},</if>
<if test="inspectType != null and inspectType != ''">#{inspectType},</if> <if test="inspectType != null and inspectType != ''">#{inspectType},</if>
<if test="inspectRouteId != null and inspectRouteId != ''">#{inspectRouteId},</if>
<if test="billsInspectCode != null">#{billsInspectCode},</if> <if test="billsInspectCode != null">#{billsInspectCode},</if>
<if test="planBeginTime != null">#{planBeginTime},</if> <if test="planBeginTime != null">#{planBeginTime},</if>
<if test="planEndTime != null">#{planEndTime},</if> <if test="planEndTime != null">#{planEndTime},</if>

Loading…
Cancel
Save