|
@@ -13,10 +13,10 @@
|
|
and p.delete_flag = '0'
|
|
and p.delete_flag = '0'
|
|
<if test="searchType != null and searchType != ''">
|
|
<if test="searchType != null and searchType != ''">
|
|
<if test="searchType == 1">
|
|
<if test="searchType == 1">
|
|
- AND p.status_flag = '1'
|
|
|
|
|
|
+ AND p.process_status_flag = '1'
|
|
</if>
|
|
</if>
|
|
<if test="searchType == 2">
|
|
<if test="searchType == 2">
|
|
- AND p.status_flag = '3'
|
|
|
|
|
|
+ AND p.process_status_flag = '3'
|
|
</if>
|
|
</if>
|
|
</if>
|
|
</if>
|
|
<if test="tranTypeKey != null and tranTypeKey != ''">
|
|
<if test="tranTypeKey != null and tranTypeKey != ''">
|
|
@@ -59,8 +59,8 @@
|
|
concat(p.receive_private,p.receive_city,p.receive_area,p.receive_detailed_address,p.receiver,p.receiver_phone) AS receive,
|
|
concat(p.receive_private,p.receive_city,p.receive_area,p.receive_detailed_address,p.receiver,p.receiver_phone) AS receive,
|
|
p.delivery_date_start AS deliveryDateStart,
|
|
p.delivery_date_start AS deliveryDateStart,
|
|
p.delivery_date_end AS deliveryDateEnd,
|
|
p.delivery_date_end AS deliveryDateEnd,
|
|
- p.status,
|
|
|
|
- p.status_flag AS statusFlag,
|
|
|
|
|
|
+ p.process_status AS processStatus,
|
|
|
|
+ p.process_status_flag AS processStatusFlag,
|
|
p.tran_type AS tranType,
|
|
p.tran_type AS tranType,
|
|
p.tran_type_key AS tranTypeKey,
|
|
p.tran_type_key AS tranTypeKey,
|
|
p.feedback_status AS feedbackStatus,
|
|
p.feedback_status AS feedbackStatus,
|
|
@@ -73,10 +73,10 @@
|
|
and p.delete_flag = '0'
|
|
and p.delete_flag = '0'
|
|
<if test="searchType != null and searchType != ''">
|
|
<if test="searchType != null and searchType != ''">
|
|
<if test="searchType == 1">
|
|
<if test="searchType == 1">
|
|
- AND p.status_flag = '1'
|
|
|
|
|
|
+ AND p.process_status_flag = '1'
|
|
</if>
|
|
</if>
|
|
<if test="searchType == 2">
|
|
<if test="searchType == 2">
|
|
- AND p.status_flag = '3'
|
|
|
|
|
|
+ AND p.process_status_flag = '3'
|
|
</if>
|
|
</if>
|
|
</if>
|
|
</if>
|
|
<if test="tranTypeKey != null and tranTypeKey != ''">
|
|
<if test="tranTypeKey != null and tranTypeKey != ''">
|
|
@@ -103,7 +103,7 @@
|
|
OR lower(p.receiver) like lower(CONCAT('%',#{searchKeyWord},'%'))
|
|
OR lower(p.receiver) like lower(CONCAT('%',#{searchKeyWord},'%'))
|
|
OR lower(p.process_no) like lower(CONCAT('%',#{searchKeyWord},'%'))
|
|
OR lower(p.process_no) like lower(CONCAT('%',#{searchKeyWord},'%'))
|
|
</if>
|
|
</if>
|
|
- ORDER BY p.status DESC,p.update_date DESC
|
|
|
|
|
|
+ ORDER BY p.process_status DESC,p.update_date DESC
|
|
</select>
|
|
</select>
|
|
|
|
|
|
</mapper>
|
|
</mapper>
|