From d7db40826d797f6388034ad4710ea550780653a2 Mon Sep 17 00:00:00 2001 From: caihaohan Date: Sun, 4 Feb 2024 15:50:50 +0800 Subject: [PATCH] =?UTF-8?q?fix:=2081638=20=E4=BC=81=E4=B8=9A=E6=A0=87?= =?UTF-8?q?=E5=87=86--=E8=AF=95=E8=BF=90=E8=A1=8C=E7=9A=84=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=88=A0=E9=99=A4=E6=8F=90=E7=A4=BA=E6=93=8D=E4=BD=9C?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../impl/EnterpriseStandardAuthUserServiceImpl.java | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/laws-modules/src/main/java/com/jero/modules/laws/enterprise/service/impl/EnterpriseStandardAuthUserServiceImpl.java b/laws-modules/src/main/java/com/jero/modules/laws/enterprise/service/impl/EnterpriseStandardAuthUserServiceImpl.java index 69ab74bb..5e0bb864 100644 --- a/laws-modules/src/main/java/com/jero/modules/laws/enterprise/service/impl/EnterpriseStandardAuthUserServiceImpl.java +++ b/laws-modules/src/main/java/com/jero/modules/laws/enterprise/service/impl/EnterpriseStandardAuthUserServiceImpl.java @@ -702,15 +702,9 @@ public class EnterpriseStandardAuthUserServiceImpl extends ServiceImpl> records = new ArrayList<>(); for (String id : idList) { - Map map = new HashMap<>(); - map.put(FieldCommon.ID, id); - records.add(map); - } - this.delFlagSet(records); - for (Map map : records) { - if (!(boolean) map.get(FieldCommon.DEL_FLAG)) { + boolean auth = this.hasDelAuth(id, userId); + if (!auth) { return false; } }