|
@@ -48,11 +48,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<result property="otherContent" column="other_content" />
|
|
<result property="otherContent" column="other_content" />
|
|
<result property="measureNo" column="measure_no" />
|
|
<result property="measureNo" column="measure_no" />
|
|
<result property="nextWarnDate" column="next_warn_date" />
|
|
<result property="nextWarnDate" column="next_warn_date" />
|
|
|
|
+ <result property="isSend" column="is_send" />
|
|
<result property="deptName" column="dept_name" />
|
|
<result property="deptName" column="dept_name" />
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectTMeasureThicknessVo">
|
|
<sql id="selectTMeasureThicknessVo">
|
|
- select d.id,d.next_warn_date, d.plant_code, d.unit_code, d.tagno, d.status, d.createdate, d.updater_code, d.updatedate, d.dept_id, d.remarks, d.position, d.recorder, d.recorder_date, d.equipment_name, d.material, d.cor_allowance, d.original_thickness, d.medium, d.pressure, d.specification, d.flow_rate, d.temperature, d.corrosion_type, d.inspection_method, d.photo, d.analysis, d.nominal_tickness, d.thickness_min, d.st_corrosion, d.lt_corrosion, d.est_remain, d.method_cause, d.effect_tracing, d.raiser, d.raiser_date, d.del_flag, d.location_url, d.analysis_url, d.measure_cycle, d.record_url, d.other_content ,d.measure_no ,s.dept_name from t_measure_thickness d
|
|
|
|
|
|
+ select d.id,d.next_warn_date, d.plant_code, d.unit_code, d.tagno, d.status, d.createdate, d.updater_code, d.updatedate, d.dept_id, d.remarks, d.position, d.recorder, d.recorder_date, d.equipment_name, d.material, d.cor_allowance, d.original_thickness, d.medium, d.pressure, d.specification, d.flow_rate, d.temperature, d.corrosion_type, d.inspection_method, d.photo, d.analysis, d.nominal_tickness, d.thickness_min, d.st_corrosion, d.lt_corrosion, d.est_remain, d.method_cause, d.effect_tracing, d.raiser, d.raiser_date, d.del_flag, d.location_url, d.analysis_url, d.measure_cycle, d.record_url, d.other_content ,d.measure_no, d.is_send,s.dept_name from t_measure_thickness d
|
|
left join sys_dept s on s.dept_id = d.dept_id
|
|
left join sys_dept s on s.dept_id = d.dept_id
|
|
</sql>
|
|
</sql>
|
|
|
|
|
|
@@ -270,6 +271,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="otherContent != null and otherContent != ''">other_content = #{otherContent},</if>
|
|
<if test="otherContent != null and otherContent != ''">other_content = #{otherContent},</if>
|
|
<if test="measureNo != null">measure_no = #{measureNo},</if>
|
|
<if test="measureNo != null">measure_no = #{measureNo},</if>
|
|
<if test="nextWarnDate != null">next_warn_date = #{nextWarnDate},</if>
|
|
<if test="nextWarnDate != null">next_warn_date = #{nextWarnDate},</if>
|
|
|
|
+ <if test="isSend != null">is_send = #{isSend},</if>
|
|
</trim>
|
|
</trim>
|
|
where id = #{id}
|
|
where id = #{id}
|
|
</update>
|
|
</update>
|