|
|
@@ -62,6 +62,7 @@
|
|
|
<result property="appealReason" column="appeal_reason" />
|
|
|
<!-- 评分退回理由 -->
|
|
|
<result property="scoreReturnReason" column="score_return_reason" />
|
|
|
+ <result property="orderEntryType" column="order_entry_type" />
|
|
|
</resultMap>
|
|
|
|
|
|
<select id="selectUnionOrderList" resultMap="OrderScoreInfoResult">
|
|
|
@@ -288,11 +289,12 @@
|
|
|
confirm_status as confirm_status,
|
|
|
create_time as create_time,
|
|
|
update_time as update_time,
|
|
|
- appeal_reason as appeal_reason
|
|
|
+ appeal_reason as appeal_reason,
|
|
|
+ null as order_entry_type
|
|
|
FROM gxt_repair_order t
|
|
|
<where>
|
|
|
<if test="keyword != null and keyword != ''">
|
|
|
- and (work_order_project_no like concat('%', #{keyword}, '%') or pcs_device_name like concat('%', #{keyword}, '%'))
|
|
|
+ and (work_order_project_no like concat('%', #{keyword}, '%') or pcs_device_name like concat('%', #{keyword}, '%') or mis_order_no like concat('%', #{keyword}, '%'))
|
|
|
</if>
|
|
|
<if test="repairOrder.workOrderProjectNo != null and repairOrder.workOrderProjectNo != ''"> and work_order_project_no = #{repairOrder.workOrderProjectNo}</if>
|
|
|
<if test="repairOrder.workOrderStatus != null and repairOrder.workOrderStatus != ''"> and work_order_status in
|
|
|
@@ -384,11 +386,12 @@
|
|
|
confirm_status as confirm_status,
|
|
|
create_time as create_time,
|
|
|
update_time as update_time,
|
|
|
- null as appeal_reason
|
|
|
+ null as appeal_reason,
|
|
|
+ order_entry_type
|
|
|
FROM gxt_work_order t
|
|
|
<where>
|
|
|
<if test="keyword != null and keyword != ''">
|
|
|
- and (work_order_project_no like concat('%', #{keyword}, '%') or pcs_device_name like concat('%', #{keyword}, '%'))
|
|
|
+ and (work_order_project_no like concat('%', #{keyword}, '%') or pcs_device_name like concat('%', #{keyword}, '%') or mis_no like concat('%', #{keyword}, '%'))
|
|
|
</if>
|
|
|
<if test="workOrder.workOrderProjectNo != null and workOrder.workOrderProjectNo != ''"> and work_order_project_no = #{workOrder.workOrderProjectNo}</if>
|
|
|
<if test="workOrder.workOrderStatus != null and workOrder.workOrderStatus != ''"> and work_order_status in
|