|
@@ -185,6 +185,10 @@
|
|
|
AND w.in_out_flag = '2'
|
|
|
</if>
|
|
|
</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},'%')))
|
|
|
+ </if>
|
|
|
<if test="startDate != null">
|
|
|
AND (DATE_FORMAT(w.in_out_date,"%Y%m%d") >=
|
|
|
DATE_FORMAT(#{startDate},"%Y%m%d"))
|
|
@@ -234,6 +238,10 @@
|
|
|
AND w.in_out_flag = '2'
|
|
|
</if>
|
|
|
</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},'%')))
|
|
|
+ </if>
|
|
|
<if test="startDate != null">
|
|
|
AND (DATE_FORMAT(w.in_out_date,"%Y%m%d") >=
|
|
|
DATE_FORMAT(#{startDate},"%Y%m%d"))
|