zhangyuewww преди 3 години
родител
ревизия
3f6daf05c2
променени са 1 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 4 4
      winsea-haixin-plugin-yiliangyiyun/src/main/resources/mapper/ProcurementPlanInfoMapper.xml

+ 4 - 4
winsea-haixin-plugin-yiliangyiyun/src/main/resources/mapper/ProcurementPlanInfoMapper.xml

@@ -9,11 +9,11 @@
         WHERE delete_flag = '0'
         <if test="searchKeyWord != null and searchKeyWord != ''">
             AND (lower(procurement_plan_no) like lower(CONCAT('%',#{searchKeyWord},'%'))
-            OR lower(title) like lower(CONCAT('%',#{searchKeyWord},'%')))
+            OR lower(title) like lower(CONCAT('%',#{searchKeyWord},'%'))
             OR lower(goods_name) like lower(CONCAT('%',#{searchKeyWord},'%')))
         </if>
         <if test="receivePrivate != null and receivePrivate != '' and receivePrivate != '全国'">
-            AND (lower(receive_private) like lower(CONCAT('%',#{receivePrivate},'%'))
+            AND (lower(receive_private) like lower(CONCAT('%',#{receivePrivate},'%')))
         </if>
         <if test="pcFlag != null and pcFlag != ''">
             AND comp_id = #{compId}
@@ -41,11 +41,11 @@
         WHERE delete_flag = '0'
         <if test="searchKeyWord != null and searchKeyWord != ''">
             AND (lower(procurement_plan_no) like lower(CONCAT('%',#{searchKeyWord},'%'))
-            OR lower(title) like lower(CONCAT('%',#{searchKeyWord},'%')))
+            OR lower(title) like lower(CONCAT('%',#{searchKeyWord},'%'))
             OR lower(goods_name) like lower(CONCAT('%',#{searchKeyWord},'%')))
         </if>
         <if test="receivePrivate != null and receivePrivate != '' and receivePrivate != '全国'">
-            AND (lower(receive_private) like lower(CONCAT('%',#{receivePrivate},'%'))
+            AND (lower(receive_private) like lower(CONCAT('%',#{receivePrivate},'%')))
         </if>
         <if test="pcFlag != null and pcFlag != ''">
             AND comp_id = #{compId}