缓存修改

This commit is contained in:
2026-08-20 16:04:37 +08:00
parent c5744d7388
commit 1636915510
2 changed files with 17 additions and 11 deletions
@@ -32,9 +32,7 @@ public class SendUserBaseService implements ISendUserBaseService {
@SyncOpLog(SyncDataType.SEND_ADD_GROUP)
public BoaGroup addGroup(String name, Integer parentId, Integer sort, NodeType type,Integer schId){
comSchTreeService.clearCache();
SysGroupRequest group=new SysGroupRequest();
group.setName(name);
group.setParentId(parentId);
@@ -58,7 +56,15 @@ public class SendUserBaseService implements ISendUserBaseService {
@SyncOpLog(SyncDataType.SEND_DELETE_GROUP)
public void deleteGroup(Integer id,Integer schId){
comSchTreeService.clearCache();
YschBaseOpenApi.deleteGroup(id,schId);
try {
BoaGroup group= YschBaseOpenApi.getGroupById(id,false);
if(group!=null)
{
YschBaseOpenApi.deleteGroup(id,schId);
}
}finally {
}
}