|
@@ -66,6 +66,7 @@
|
|
|
<result property="updaterCode" column="updater_code"/>
|
|
|
<result property="updatedate" column="updatedate"/>
|
|
|
<result property="deptName" column="dept_name"/>
|
|
|
+ <result property="yearReportNo" column="year_report_no"/>
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectTReportYlrqVo">
|
|
@@ -79,6 +80,7 @@
|
|
|
y.useno,
|
|
|
y.safe_class,
|
|
|
y.next_warn_date,
|
|
|
+ d.year_report_no,
|
|
|
d.medium,
|
|
|
d.des_pressure,
|
|
|
d.des_temp,
|
|
@@ -203,6 +205,7 @@
|
|
|
<if test="createdate != null">createdate,</if>
|
|
|
<if test="updaterCode != null">updater_code,</if>
|
|
|
<if test="updatedate != null">updatedate,</if>
|
|
|
+ <if test="yearReportNo != null">year_report_no,</if>
|
|
|
pj1,pj2,pj3,pj4,pj5,pj6,pj7,pj8,pj9,pj10,pj11,pj12,pj13,pj14,pj15,pj16,pj17,
|
|
|
pj18,pj19,pj20,pj21,pj22,pj23,pj24,pj25,pj26,pj27,pj28,pj29,pj30,pj31,pj32,con
|
|
|
</trim>
|
|
@@ -218,6 +221,7 @@
|
|
|
<if test="createdate != null">#{createdate},</if>
|
|
|
<if test="updaterCode != null">#{updaterCode},</if>
|
|
|
<if test="updatedate != null">#{updatedate},</if>
|
|
|
+ <if test="yearReportNo != null">#{yearReportNo},</if>
|
|
|
<![CDATA[
|
|
|
'√','√','√','√','√','√','√','√','√','√','√','√','√','√','√','√','√','√','√','√','√','√','√','√','√','√','√','√','√','√','√','√','1']]>
|
|
|
</trim>
|
|
@@ -236,6 +240,7 @@
|
|
|
<if test="createdate != null">createdate = #{createdate},</if>
|
|
|
<if test="updaterCode != null">updater_code = #{updaterCode},</if>
|
|
|
<if test="updatedate != null">updatedate = #{updatedate},</if>
|
|
|
+ <if test="yearReportNo != null">year_report_no = #{yearReportNo},</if>
|
|
|
</trim>
|
|
|
where id = #{id}
|
|
|
</update>
|
|
@@ -280,6 +285,7 @@
|
|
|
<if test="nextCheckDate != null">next_check_date = #{nextCheckDate},</if>
|
|
|
<if test="problem != null">problem = #{problem},</if>
|
|
|
<if test="con != null">con = #{con},</if>
|
|
|
+ <if test="yearReportNo != null">year_report_no = #{yearReportNo},</if>
|
|
|
</trim>
|
|
|
where dev_id = (
|
|
|
select id
|
|
@@ -349,6 +355,7 @@
|
|
|
<if test="createdate != null">createdate,</if>
|
|
|
<if test="updaterCode != null">updater_code,</if>
|
|
|
<if test="updatedate != null">updatedate,</if>
|
|
|
+ <if test="yearReportNo != null">year_report_no,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="id != null">#{id},</if>
|
|
@@ -403,6 +410,7 @@
|
|
|
<if test="createdate != null">#{createdate},</if>
|
|
|
<if test="updaterCode != null">#{updaterCode},</if>
|
|
|
<if test="updatedate != null">#{updatedate},</if>
|
|
|
+ <if test="yearReportNo != null">#{yearReportNo},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
@@ -460,6 +468,7 @@
|
|
|
<if test="createdate != null">createdate = #{createdate},</if>
|
|
|
<if test="updaterCode != null">updater_code = #{updaterCode},</if>
|
|
|
<if test="updatedate != null">updatedate = #{updatedate},</if>
|
|
|
+ <if test="yearReportNo != null">year_report_no = #{yearReportNo},</if>
|
|
|
</trim>
|
|
|
where id = #{id}
|
|
|
</update>
|