|
|
@@ -59,6 +59,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="reviewScoreNum" column="review_score_num" />
|
|
|
<result property="finalCoefficient" column="final_coefficient" />
|
|
|
<result property="orderType" column="order_type" />
|
|
|
+ <result property="repairMethod" column="repair_method" />
|
|
|
</resultMap>
|
|
|
|
|
|
<resultMap type="GxtRepairOrder" id="GxtRepairOrderWithPersonResult" extends="GxtRepairOrderResult">
|
|
|
@@ -94,7 +95,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, order_type
|
|
|
+ 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
|
|
|
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
|
|
|
@@ -151,6 +152,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<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="repairMethod != null and repairMethod != ''"> and repair_method = #{repairMethod}</if>
|
|
|
|
|
|
<!-- 业务特定数据权限过滤条件 -->
|
|
|
<if test="params.businessDataScope != null and params.businessDataScope != ''">
|
|
|
@@ -226,6 +228,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="reviewScoreNum != null">review_score_num,</if>
|
|
|
<if test="finalCoefficient != null">final_coefficient,</if>
|
|
|
<if test="orderType != null">order_type,</if>
|
|
|
+ <if test="repairMethod != null and repairMethod != ''">repair_method,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="workOrderProjectNo != null and workOrderProjectNo != ''">#{workOrderProjectNo},</if>
|
|
|
@@ -281,6 +284,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="reviewScoreNum != null">#{reviewScoreNum},</if>
|
|
|
<if test="finalCoefficient != null">#{finalCoefficient},</if>
|
|
|
<if test="orderType != null">#{orderType},</if>
|
|
|
+ <if test="repairMethod != null and repairMethod != ''">#{repairMethod},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
|
@@ -340,6 +344,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<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>
|
|
|
+ <if test="repairMethod != null and repairMethod != ''">repair_method = #{repairMethod},</if>
|
|
|
</trim>
|
|
|
where id = #{id}
|
|
|
</update>
|
|
|
@@ -409,6 +414,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="pcsStationPid != null "> and pcs_station_pid = #{pcsStationPid}</if>
|
|
|
<if test="attachmentUrls != null and attachmentUrls != ''"> and attachment_urls = #{attachmentUrls}</if>
|
|
|
<if test="reviewScoreNum != null "> and review_score_num = #{reviewScoreNum}</if>
|
|
|
+ <if test="repairMethod != null and repairMethod != ''"> and repair_method = #{repairMethod}</if>
|
|
|
</where>
|
|
|
order by id desc
|
|
|
</select>
|