|
@@ -11,7 +11,9 @@
|
|
|
WHERE delete_flag = '0'
|
|
|
<if test="searchKeyWord != null and searchKeyWord != ''">
|
|
|
AND (lower(comp_name) like lower(CONCAT('%',#{searchKeyWord},'%'))
|
|
|
- OR lower(phone) like lower(CONCAT('%',#{searchKeyWord},'%')))
|
|
|
+ OR lower(phone) like lower(CONCAT('%',#{searchKeyWord},'%'))
|
|
|
+ OR lower(title) like lower(CONCAT('%',#{searchKeyWord},'%'))
|
|
|
+ OR lower(content) like lower(CONCAT('%',#{searchKeyWord},'%')))
|
|
|
</if>
|
|
|
<if test="searchType != null and searchType != ''">
|
|
|
<if test="searchType == 1">
|
|
@@ -55,7 +57,9 @@
|
|
|
WHERE delete_flag = '0'
|
|
|
<if test="searchKeyWord != null and searchKeyWord != ''">
|
|
|
AND (lower(comp_name) like lower(CONCAT('%',#{searchKeyWord},'%'))
|
|
|
- OR lower(phone) like lower(CONCAT('%',#{searchKeyWord},'%')))
|
|
|
+ OR lower(phone) like lower(CONCAT('%',#{searchKeyWord},'%'))
|
|
|
+ OR lower(title) like lower(CONCAT('%',#{searchKeyWord},'%'))
|
|
|
+ OR lower(content) like lower(CONCAT('%',#{searchKeyWord},'%')))
|
|
|
</if>
|
|
|
<if test="searchType != null and searchType != ''">
|
|
|
<if test="searchType == 1">
|