🐛 修复测试.

This commit is contained in:
lijiahang
2024-02-28 14:48:16 +08:00
parent 1a08de36e4
commit ea0c0a0c1e
8 changed files with 21 additions and 8 deletions

View File

@@ -68,6 +68,7 @@ public class SystemRoleServiceImpl implements SystemRoleService {
// 查询编码是否存在
this.checkCodePresent(record);
// 插入
record.setStatus(RoleStatusEnum.ENABLED.getStatus());
int effect = systemRoleDAO.insert(record);
log.info("SystemRoleService-createSystemRole effect: {}, domain: {}", effect, JSON.toJSONString(record));
// 设置到缓存