From de08d4876092d361009aa467ef4d2a77068fbcaa Mon Sep 17 00:00:00 2001
From: guoyujie <guoyujie@ng.com>
Date: 星期五, 26 十二月 2025 14:08:31 +0800
Subject: [PATCH] 一键入库相同订单序号,不同流程卡被过滤。无法入库问题
---
north-glass-erp/src/main/resources/mapper/userInfo/PermissionRoleMapper.xml | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/north-glass-erp/src/main/resources/mapper/userInfo/PermissionRoleMapper.xml b/north-glass-erp/src/main/resources/mapper/userInfo/PermissionRoleMapper.xml
index 0f30a4b..f980401 100644
--- a/north-glass-erp/src/main/resources/mapper/userInfo/PermissionRoleMapper.xml
+++ b/north-glass-erp/src/main/resources/mapper/userInfo/PermissionRoleMapper.xml
@@ -38,15 +38,14 @@
on b.id = c.role_id
left join permission_basic d
on d.id = c.permission_id
- and d.permission='edit'
- where a.id = #{loginId}
+ where a.id = #{loginId} and
</if>
<if test="userIsAdmin==true">
from permission_basic d
- where d.permission='edit'
+ where
</if>
- and d.state = 1
+ d.state = 1
group by d.id
</select>
--
Gitblit v1.8.0