|
@@ -63,7 +63,8 @@
|
|
<if test="searchKeyWord != null and searchKeyWord != ''">
|
|
<if test="searchKeyWord != null and searchKeyWord != ''">
|
|
AND (lower(a.payment_no) like lower(CONCAT('%',#{searchKeyWord},'%'))
|
|
AND (lower(a.payment_no) like lower(CONCAT('%',#{searchKeyWord},'%'))
|
|
OR lower( a.customer_name) like lower(CONCAT('%',#{searchKeyWord},'%'))
|
|
OR lower( a.customer_name) like lower(CONCAT('%',#{searchKeyWord},'%'))
|
|
- OR lower( a.car_no) like lower(CONCAT('%',#{searchKeyWord},'%')))
|
|
|
|
|
|
+ OR lower( a.car_no) like lower(CONCAT('%',#{searchKeyWord},'%'))
|
|
|
|
+ OR lower( a.contract_no) like lower(CONCAT('%',#{searchKeyWord},'%')))
|
|
</if>
|
|
</if>
|
|
<if test="startDate != null">
|
|
<if test="startDate != null">
|
|
AND (DATE_FORMAT(a.create_date,"%Y%m%d") >=
|
|
AND (DATE_FORMAT(a.create_date,"%Y%m%d") >=
|
|
@@ -216,7 +217,8 @@
|
|
<if test="searchKeyWord != null and searchKeyWord != ''">
|
|
<if test="searchKeyWord != null and searchKeyWord != ''">
|
|
AND (lower(a.payment_no) like lower(CONCAT('%',#{searchKeyWord},'%'))
|
|
AND (lower(a.payment_no) like lower(CONCAT('%',#{searchKeyWord},'%'))
|
|
OR lower( a.customer_name) like lower(CONCAT('%',#{searchKeyWord},'%'))
|
|
OR lower( a.customer_name) like lower(CONCAT('%',#{searchKeyWord},'%'))
|
|
- OR lower( a.car_no) like lower(CONCAT('%',#{searchKeyWord},'%')))
|
|
|
|
|
|
+ OR lower( a.car_no) like lower(CONCAT('%',#{searchKeyWord},'%'))
|
|
|
|
+ OR lower( a.contract_no) like lower(CONCAT('%',#{searchKeyWord},'%')))
|
|
</if>
|
|
</if>
|
|
<if test="startDate != null">
|
|
<if test="startDate != null">
|
|
AND (DATE_FORMAT(a.create_date,"%Y%m%d") >=
|
|
AND (DATE_FORMAT(a.create_date,"%Y%m%d") >=
|