From 30fec4bd16e01a1fd0fc846e67ce781c716b6443 Mon Sep 17 00:00:00 2001 From: wangwei <1610949092@qq.com> Date: Sun, 8 Jan 2023 15:53:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/mybatis/mapper/thrsys/ThrProductsAddDao.xml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/api-admin/src/main/resources/mybatis/mapper/thrsys/ThrProductsAddDao.xml b/api-admin/src/main/resources/mybatis/mapper/thrsys/ThrProductsAddDao.xml index 22eac00..36edfc7 100644 --- a/api-admin/src/main/resources/mybatis/mapper/thrsys/ThrProductsAddDao.xml +++ b/api-admin/src/main/resources/mybatis/mapper/thrsys/ThrProductsAddDao.xml @@ -7,6 +7,7 @@ resultType="com.glxp.sale.admin.entity.thrsys.ThrProductsAddEntity"> SELECT thr_products_add.*,basic_corp.name corpName FROM thr_products_add left join basic_corp on thr_products_add.customerId = basic_corp.erpId + left join company on company.customerid=thr_products_add.customerid AND thr_products_add.name LIKE concat('%',#{name},'%') @@ -41,6 +42,9 @@ AND customerId = #{customerId} + + AND companyName = #{companyName} + group by thr_products_add.id