|
|
@@ -85,6 +85,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="acceptReturnType" column="accept_return_type" />
|
|
|
<result property="acceptReturnReason" column="accept_return_reason" />
|
|
|
<result property="scoreReturnReason" column="score_return_reason" />
|
|
|
+ <result property="overStopStatus" column="over_stop_status" />
|
|
|
<result property="leader" column="leader" />
|
|
|
<result property="userId" column="user_id" />
|
|
|
</resultMap>
|
|
|
@@ -152,7 +153,8 @@ 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, finalize_method, appeal_user_name, appeal_user_id, appeal_time, appeal_reason, suspend_explain, order_entry_type, order_attachment, extra_work, accept_return_type, accept_return_reason, score_return_reason from gxt_repair_order t
|
|
|
+ wwry_num, wlry_num, work_area, info_entry, real_failure_reason, lost_power, work_permit_num, finalize_method, appeal_user_name, appeal_user_id, appeal_time, appeal_reason, suspend_explain, order_entry_type, order_attachment, extra_work, accept_return_type, accept_return_reason, score_return_reason, over_stop_status
|
|
|
+ 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>
|
|
|
@@ -344,6 +346,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="acceptReturnReason != null and acceptReturnReason != ''">accept_return_reason,</if>
|
|
|
<if test="scoreReturnReason != null and scoreReturnReason != ''">score_return_reason,</if>
|
|
|
<if test="finalizeMethod != null and finalizeMethod != ''">finalize_method,</if>
|
|
|
+ <if test="overStopStatus != null">over_stop_status,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="workOrderProjectNo != null and workOrderProjectNo != ''">#{workOrderProjectNo},</if>
|
|
|
@@ -425,6 +428,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="acceptReturnReason != null and acceptReturnReason != ''">#{acceptReturnReason},</if>
|
|
|
<if test="scoreReturnReason != null and scoreReturnReason != ''">#{scoreReturnReason},</if>
|
|
|
<if test="finalizeMethod != null and finalizeMethod != ''">#{finalizeMethod},</if>
|
|
|
+ <if test="overStopStatus != null">#{overStopStatus},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
|
@@ -514,6 +518,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</if>
|
|
|
<if test="scoreReturnReason != null and scoreReturnReason != ''">score_return_reason = #{scoreReturnReason},</if>
|
|
|
<if test="finalizeMethod != null and finalizeMethod != ''">finalize_method = #{finalizeMethod},</if>
|
|
|
+ <if test="overStopStatus != null">over_stop_status = #{overStopStatus},</if>
|
|
|
</trim>
|
|
|
where id = #{id}
|
|
|
</update>
|