From 4f3b666cd625381e4acb07d8ae4d68ae9554b1b8 Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期一, 06 十一月 2023 18:12:49 +0800
Subject: [PATCH] Merge branch 'xinghong-dev' of http://git.homecommunity.cn/supervip/MicroCommunity

---
 java110-db/src/main/resources/mapper/store/ResourceSupplierServiceDaoImplMapper.xml |   11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/java110-db/src/main/resources/mapper/store/ResourceSupplierServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/store/ResourceSupplierServiceDaoImplMapper.xml
index db67d69..3af9743 100644
--- a/java110-db/src/main/resources/mapper/store/ResourceSupplierServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/store/ResourceSupplierServiceDaoImplMapper.xml
@@ -1,6 +1,5 @@
 <?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE mapper
-        PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
 <mapper namespace="resourceSupplierServiceDaoImpl">
 
@@ -12,7 +11,6 @@
         values (#{supplierName}, #{createUserId}, #{address}, #{contactName}, #{rsId}, #{createUserName}, #{remark},
                 #{storeId}, #{accountBank}, #{operate}, #{tel}, #{bankAccountNumber}, #{bId})
     </insert>
-
 
     <!-- 鏌ヨ鐗╁搧渚涘簲鍟嗕俊鎭紙Business锛� add by wuxw 2018-07-03 -->
     <select id="getBusinessResourceSupplierInfo" parameterType="Map" resultType="Map">
@@ -63,6 +61,7 @@
             and t.b_id= #{bId}
         </if>
     </select>
+
     <!-- 淇濆瓨鐗╁搧渚涘簲鍟嗕俊鎭嚦 instance琛ㄤ腑 add by wuxw 2018-07-03 -->
     <insert id="saveResourceSupplierInfoInstance" parameterType="Map">
         insert into resource_supplier(
@@ -109,7 +108,6 @@
         </if>
     </insert>
 
-
     <!-- 鏌ヨ鐗╁搧渚涘簲鍟嗕俊鎭� add by wuxw 2018-07-03 -->
     <select id="getResourceSupplierInfo" parameterType="Map" resultType="Map">
         select t.supplier_name,t.supplier_name supplierName,t.create_user_id,t.create_user_id
@@ -132,7 +130,7 @@
             and t.contact_name= #{contactName}
         </if>
         <if test="rsId !=null and rsId != ''">
-            and t.rs_id= #{rsId}
+            and t.rs_id like '%${rsId}%'
         </if>
         <if test="createUserName !=null and createUserName != ''">
             and t.create_user_name= #{createUserName}
@@ -163,7 +161,6 @@
             limit #{page}, #{row}
         </if>
     </select>
-
 
     <!-- 淇敼鐗╁搧渚涘簲鍟嗕俊鎭� add by wuxw 2018-07-03 -->
     <update id="updateResourceSupplierInfoInstance" parameterType="Map">
@@ -222,7 +219,7 @@
             and t.contact_name= #{contactName}
         </if>
         <if test="rsId !=null and rsId != ''">
-            and t.rs_id= #{rsId}
+            and t.rs_id like '%${rsId}%'
         </if>
         <if test="createUserName !=null and createUserName != ''">
             and t.create_user_name= #{createUserName}

--
Gitblit v1.8.0