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

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

@@ -10,6 +10,7 @@
         <if test="searchKeyWord != null and searchKeyWord != ''">
             AND (lower(procurement_plan_no) like lower(CONCAT('%',#{searchKeyWord},'%'))
             OR lower(title) like lower(CONCAT('%',#{searchKeyWord},'%'))
+            OR lower(goods_name) like lower(CONCAT('%',#{searchKeyWord},'%'))
             OR lower(buyer) like lower(CONCAT('%',#{searchKeyWord},'%')))
         </if>
         <if test="receivePrivate != null and receivePrivate != '' and receivePrivate != '全国'">
@@ -66,6 +67,7 @@
         <if test="searchKeyWord != null and searchKeyWord != ''">
             AND (lower(procurement_plan_no) like lower(CONCAT('%',#{searchKeyWord},'%'))
             OR lower(title) like lower(CONCAT('%',#{searchKeyWord},'%'))
+            OR lower(goods_name) like lower(CONCAT('%',#{searchKeyWord},'%'))
             OR lower(buyer) like lower(CONCAT('%',#{searchKeyWord},'%')))
         </if>
         <if test="receivePrivate != null and receivePrivate != '' and receivePrivate != '全国'">

+ 2 - 0
winsea-haixin-plugin-yiliangyiyun/src/main/resources/mapper/SalePlanInfoMapper.xml

@@ -10,6 +10,7 @@
         <if test="searchKeyWord != null and searchKeyWord != ''">
             AND (lower(sale_plan_no) like lower(CONCAT('%',#{searchKeyWord},'%'))
             OR lower(title) like lower(CONCAT('%',#{searchKeyWord},'%'))
+            OR lower(goods_name) like lower(CONCAT('%',#{searchKeyWord},'%'))
             OR lower(seller) like lower(CONCAT('%',#{searchKeyWord},'%')))
         </if>
         <if test="sendPrivate != null and sendPrivate != '' and sendPrivate != '全国'">
@@ -66,6 +67,7 @@
         <if test="searchKeyWord != null and searchKeyWord != ''">
             AND (lower(sale_plan_no) like lower(CONCAT('%',#{searchKeyWord},'%'))
             OR lower(title) like lower(CONCAT('%',#{searchKeyWord},'%'))
+            OR lower(goods_name) like lower(CONCAT('%',#{searchKeyWord},'%'))
             OR lower(seller) like lower(CONCAT('%',#{searchKeyWord},'%')))
         </if>
         <if test="sendPrivate != null and sendPrivate != '' and sendPrivate != '全国'">