fix: 81638 企业标准--试运行的数据删除提示操作失败
This commit is contained in:
+2
-8
@@ -702,15 +702,9 @@ public class EnterpriseStandardAuthUserServiceImpl extends ServiceImpl<Enterpris
|
||||
throw new JeroBootException(ResultCommon.EMPTY_COMMON, "ids不能为空");
|
||||
}
|
||||
String[] idList = ids.split(",");
|
||||
List<Map<String, Object>> records = new ArrayList<>();
|
||||
for (String id : idList) {
|
||||
Map<String, Object> map = new HashMap<>();
|
||||
map.put(FieldCommon.ID, id);
|
||||
records.add(map);
|
||||
}
|
||||
this.delFlagSet(records);
|
||||
for (Map<String, Object> map : records) {
|
||||
if (!(boolean) map.get(FieldCommon.DEL_FLAG)) {
|
||||
boolean auth = this.hasDelAuth(id, userId);
|
||||
if (!auth) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user