|
|
@@ -77,6 +77,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="appealUserId" column="appeal_user_id" />
|
|
|
<result property="appealTime" column="appeal_time" />
|
|
|
<result property="appealReason" column="appeal_reason" />
|
|
|
+ <result property="suspendExplain" column="suspend_explain" />
|
|
|
</resultMap>
|
|
|
|
|
|
<resultMap type="GxtRepairOrder" id="GxtRepairOrderWithPersonResult" extends="GxtRepairOrderResult">
|
|
|
@@ -130,8 +131,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
review_content, maintenance_type, occur_time, fault_barcode, suspend_reason, suspend_description, approval_status,
|
|
|
rejection_reason, modify_reason, finalization_remark, related_order_code, related_order_content, mis_order_no, restart_time,
|
|
|
scoring_status, pcs_station_pid, attachment_urls, review_score_num, final_coefficient, order_type, repair_method, reset_method, invalid_reason, return_type, return_reason, feedback_reason, confirm_status,
|
|
|
- wwry_num, wlry_num, work_area, info_entry, real_failure_reason, lost_power, work_permit_num, appeal_user_name, appeal_user_id, appeal_time, appeal_reason
|
|
|
- from gxt_repair_order t
|
|
|
+ wwry_num, wlry_num, work_area, info_entry, real_failure_reason, lost_power, work_permit_num, appeal_user_name, appeal_user_id, appeal_time, appeal_reason, suspend_explain from gxt_repair_order t
|
|
|
left join sys_user u on u.user_name = t.create_by
|
|
|
left join sys_dept d on u.dept_id = d.dept_id
|
|
|
</sql>
|
|
|
@@ -292,6 +292,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="appealUserId != null">appeal_user_id,</if>
|
|
|
<if test="appealTime != null">appeal_time,</if>
|
|
|
<if test="appealReason != null and appealReason != ''">appeal_reason,</if>
|
|
|
+ <if test="suspendExplain != null and suspendExplain != ''">suspend_explain,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="workOrderProjectNo != null and workOrderProjectNo != ''">#{workOrderProjectNo},</if>
|
|
|
@@ -365,6 +366,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="appealUserId != null">#{appealUserId},</if>
|
|
|
<if test="appealTime != null">#{appealTime},</if>
|
|
|
<if test="appealReason != null and appealReason != ''">#{appealReason},</if>
|
|
|
+ <if test="suspendExplain != null and suspendExplain != ''">#{suspendExplain},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
|
@@ -442,6 +444,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="appealUserId != null">appeal_user_id = #{appealUserId},</if>
|
|
|
<if test="appealTime != null">appeal_time = #{appealTime},</if>
|
|
|
<if test="appealReason != null and appealReason != ''">appeal_reason = #{appealReason},</if>
|
|
|
+ <if test="suspendExplain != null and suspendExplain != ''">suspend_explain = #{suspendExplain},</if>
|
|
|
</trim>
|
|
|
where id = #{id}
|
|
|
</update>
|