From b864148d2a9afd5e1627b761da923cca8f8dfbd2 Mon Sep 17 00:00:00 2001
From: lyh <925863403@qq.com>
Date: 星期五, 07 三月 2025 14:44:56 +0800
Subject: [PATCH] 修改产品结构树新增删除同步结构树表,新增刀具信息与设备类

---
 lxzn-module-dnc/src/main/java/org/jeecg/modules/dnc/mapper/xml/ProductInfoMapper.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lxzn-module-dnc/src/main/java/org/jeecg/modules/dnc/mapper/xml/ProductInfoMapper.xml b/lxzn-module-dnc/src/main/java/org/jeecg/modules/dnc/mapper/xml/ProductInfoMapper.xml
index f0dc586..2a8b420 100644
--- a/lxzn-module-dnc/src/main/java/org/jeecg/modules/dnc/mapper/xml/ProductInfoMapper.xml
+++ b/lxzn-module-dnc/src/main/java/org/jeecg/modules/dnc/mapper/xml/ProductInfoMapper.xml
@@ -15,8 +15,8 @@
         , (select sys_user.realname from sys_user where p.update_by=sys_user.username) as updateName
         from nc_product_info p
         inner join
-        (select distinct product_id from nc_permission_stream where delete_flag = 0 and user_id=#{userId}) s
-        on p.product_id = s.product_id
+             (select business_id,business_type from nc_permission_stream_new where delete_flag = 0 and user_id=#{userId}) s
+             on p.product_id = s.business_id and s.business_type='1'
         where p.delete_flag = 0
         order by p.create_time asc
     </select>

--
Gitblit v1.9.3