|
@@ -147,7 +147,7 @@ public class KZTRoleController extends BaseController {
|
|
|
@PostMapping(value = "/saveBatchRoleMenus")
|
|
@PostMapping(value = "/saveBatchRoleMenus")
|
|
|
@ApiOperation(value = "批量角色关联菜单保存")
|
|
@ApiOperation(value = "批量角色关联菜单保存")
|
|
|
public HttpResult saveBatchRoleMenus(@RequestBody KZTRoleAndMenuDto kZTRoleAndMenuDto) {
|
|
public HttpResult saveBatchRoleMenus(@RequestBody KZTRoleAndMenuDto kZTRoleAndMenuDto) {
|
|
|
- if (!kZTRoleAndMenuDto.getRoleIdIds().isEmpty()) {
|
|
|
|
|
|
|
+ if (kZTRoleAndMenuDto.getRoleIdIds().isEmpty()) {
|
|
|
throw new SystemException("角色id不能为空!!");
|
|
throw new SystemException("角色id不能为空!!");
|
|
|
}
|
|
}
|
|
|
if (kZTRoleAndMenuDto.getSysType()==null) {
|
|
if (kZTRoleAndMenuDto.getSysType()==null) {
|