修复 RoleServiceImpl 单元测试失败的问题
parent
3526353cdf
commit
69d736c3c6
|
@ -126,6 +126,7 @@ public class RoleServiceImpl implements RoleService {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@Transactional
|
||||||
public Long createRole(RoleCreateReqVO reqVO, Integer type) {
|
public Long createRole(RoleCreateReqVO reqVO, Integer type) {
|
||||||
// 校验角色
|
// 校验角色
|
||||||
checkDuplicateRole(reqVO.getName(), reqVO.getCode(), null);
|
checkDuplicateRole(reqVO.getName(), reqVO.getCode(), null);
|
||||||
|
|
Loading…
Reference in New Issue