mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-26 17:21:53 +08:00
修复 RoleServiceImpl 单元测试失败的问题
This commit is contained in:
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
Block a user