|
@@ -68,7 +68,8 @@
|
|
|
</if>
|
|
|
<if test="searchKeyWord != null and searchKeyWord != ''">
|
|
|
AND (lower(w.contract_no) like lower(CONCAT('%',#{searchKeyWord},'%'))
|
|
|
- OR lower(w.car_no) like lower(CONCAT('%',#{searchKeyWord},'%')))
|
|
|
+ OR lower(w.car_no) like lower(CONCAT('%',#{searchKeyWord},'%'))
|
|
|
+ OR lower(q.customer_name) like lower(CONCAT('%',#{searchKeyWord},'%')))
|
|
|
</if>
|
|
|
<if test="positionId != null and positionId != ''">
|
|
|
AND w.position_id = #{positionId}
|
|
@@ -207,7 +208,8 @@
|
|
|
</if>
|
|
|
<if test="searchKeyWord != null and searchKeyWord != ''">
|
|
|
AND (lower(w.contract_no) like lower(CONCAT('%',#{searchKeyWord},'%'))
|
|
|
- OR lower(w.car_no) like lower(CONCAT('%',#{searchKeyWord},'%')))
|
|
|
+ OR lower(w.car_no) like lower(CONCAT('%',#{searchKeyWord},'%'))
|
|
|
+ OR lower(q.customer_name) like lower(CONCAT('%',#{searchKeyWord},'%')))
|
|
|
</if>
|
|
|
<if test="positionId != null and positionId != ''">
|
|
|
AND w.position_id = #{positionId}
|