zhangyuewww пре 3 година
родитељ
комит
3e5d9cc1f9

+ 6 - 2
winsea-haixin-plugin-yiliangyiyun/src/main/resources/mapper/SettledCompanyDynamicsMapper.xml

@@ -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">