|
|
@@ -58,6 +58,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="attachmentUrls" column="attachment_urls" />
|
|
|
<result property="reviewScoreNum" column="review_score_num" />
|
|
|
<result property="finalCoefficient" column="final_coefficient" />
|
|
|
+ <result property="orderType" column="order_type" />
|
|
|
</resultMap>
|
|
|
|
|
|
<resultMap type="GxtRepairOrder" id="GxtRepairOrderWithPersonResult" extends="GxtRepairOrderResult">
|
|
|
@@ -81,7 +82,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
accept_user_id, accept_user_name, real_start_time, real_end_time, team_leader_id, team_leader_name, work_group_member_id,
|
|
|
work_group_member_name, t.create_by, t.create_time, t.update_by, t.update_time, t.remark, content, plan_hour, priority_type, score,
|
|
|
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
|
|
|
+ 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
|
|
|
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
|
|
|
@@ -137,6 +138,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="attachmentUrls != null and attachmentUrls != ''"> and attachment_urls = #{attachmentUrls}</if>
|
|
|
<if test="reviewScoreNum != null "> and review_score_num = #{reviewScoreNum}</if>
|
|
|
<if test="finalCoefficient != null "> and final_coefficient = #{finalCoefficient}</if>
|
|
|
+ <if test="orderType != null "> and order_type = #{orderType}</if>
|
|
|
|
|
|
<!-- 业务特定数据权限过滤条件 -->
|
|
|
<if test="params.businessDataScope != null and params.businessDataScope != ''">
|
|
|
@@ -211,6 +213,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="attachmentUrls != null and attachmentUrls != ''">attachment_urls,</if>
|
|
|
<if test="reviewScoreNum != null">review_score_num,</if>
|
|
|
<if test="finalCoefficient != null">final_coefficient,</if>
|
|
|
+ <if test="orderType != null">order_type,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="workOrderProjectNo != null and workOrderProjectNo != ''">#{workOrderProjectNo},</if>
|
|
|
@@ -265,6 +268,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="attachmentUrls != null and attachmentUrls != ''">#{attachmentUrls},</if>
|
|
|
<if test="reviewScoreNum != null">#{reviewScoreNum},</if>
|
|
|
<if test="finalCoefficient != null">#{finalCoefficient},</if>
|
|
|
+ <if test="orderType != null">#{orderType},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
|
@@ -323,6 +327,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="attachmentUrls != null and attachmentUrls != ''">attachment_urls = #{attachmentUrls},</if>
|
|
|
<if test="reviewScoreNum != null">review_score_num = #{reviewScoreNum},</if>
|
|
|
<if test="finalCoefficient != null">final_coefficient = #{finalCoefficient},</if>
|
|
|
+ <if test="orderType != null">order_type = #{orderType},</if>
|
|
|
</trim>
|
|
|
where id = #{id}
|
|
|
</update>
|