|
@@ -10,7 +10,8 @@
|
|
comp_id = #{compId}
|
|
comp_id = #{compId}
|
|
and delete_flag = '0'
|
|
and delete_flag = '0'
|
|
<if test="searchKeyWord != null and searchKeyWord != ''">
|
|
<if test="searchKeyWord != null and searchKeyWord != ''">
|
|
- AND (lower(customer) like lower(CONCAT('%',#{searchKeyWord},'%'))
|
|
|
|
|
|
+ AND (lower(comp_name) like lower(CONCAT('%',#{searchKeyWord},'%'))
|
|
|
|
+ OR (lower(customer_name) like lower(CONCAT('%',#{searchKeyWord},'%'))
|
|
OR lower(customer_phone) like lower(CONCAT('%',#{searchKeyWord},'%')))
|
|
OR lower(customer_phone) like lower(CONCAT('%',#{searchKeyWord},'%')))
|
|
</if>
|
|
</if>
|
|
</select>
|
|
</select>
|