修复 RoleServiceImpl 单元测试失败的问题

This commit is contained in:
YunaiV 2022-03-21 00:30:39 +08:00
parent 3526353cdf
commit 69d736c3c6
1 changed files with 1 additions and 0 deletions

View File

@ -126,6 +126,7 @@ public class RoleServiceImpl implements RoleService {
}
@Override
@Transactional
public Long createRole(RoleCreateReqVO reqVO, Integer type) {
// 校验角色
checkDuplicateRole(reqVO.getName(), reqVO.getCode(), null);