修复指派列表名称显示问题,新增员工时角色不存在的提示问题

master
river 4 years ago
parent 454918379a
commit 3de771de14
  1. 3
      dq-financial-hrms/src/main/java/com/daqing/financial/hrms/controller/EmployeeController.java

@ -69,8 +69,7 @@ public class EmployeeController implements EmployeeControllerApi {
@PostMapping("/tree")
public ResponseResult tree(@RequestBody List<Long> ids) {
List<RolePermissionResponse> result = employeeService.permissionTreeList(ids);
return result == null ? new ResponseResult(CommonCode.PERMISSION_IS_NOT) :
new ResponseResult<List<RolePermissionResponse>>().SUCCESS(result);
return ResponseResult.SUCCESS(result);
}
/**

Loading…
Cancel
Save