修复部门编辑报错

This commit is contained in:
zjf committed 2026-05-26 21:31:35 +08:00
1 parent 3d94169f8a
commit c295653ea0
1 file changed
+2 -2
@@ -116,8 +116,8 @@ public class SysDeptServiceImpl extends ServiceImpl<SysDeptMapper, SysDept> impl
@Override
@CacheEvict(
value = CacheConstants.WALLET_VIEWS_CANTEEN_MCH,
key = "#dto.getDeptId()",
condition = "#dto.getDeptId() != null",
key = "#sysDept.deptId",
condition = "#sysDept != null && #sysDept.deptId != null",
beforeInvocation = true
)
public Boolean edit(SysDept sysDept) {