1.审计用户消息和邮件推送
2.国网上送母线,变电站,主配网监测点统计,典型源荷统计等算法调整 3.国网上送定时任务调整
This commit is contained in:
@@ -73,4 +73,11 @@ public interface UserFeignClient {
|
||||
*/
|
||||
@PostMapping("/getUserByDeptIds")
|
||||
HttpResult<List<User>> getUserByDeptIds(@RequestBody List<String> deptId);
|
||||
/**
|
||||
* 根据角色Code集合查询用户信息
|
||||
* @param roleCode
|
||||
* @return
|
||||
*/
|
||||
@GetMapping("/getUserListByRoleCode")
|
||||
HttpResult<List<User>> getUserListByRoleCode(@RequestParam("roleCode") String roleCode);
|
||||
}
|
||||
|
||||
@@ -78,6 +78,12 @@ public class UserFeignClientFallbackFactory implements FallbackFactory<UserFeign
|
||||
log.error("{}异常,降级处理,异常为:{}","根据部门ids查询用户信息",cause.toString());
|
||||
throw new BusinessException(finalExceptionEnum);
|
||||
}
|
||||
|
||||
@Override
|
||||
public HttpResult<List<User>> getUserListByRoleCode(String roleCode) {
|
||||
log.error("{}异常,降级处理,异常为:{}","根据角色Code集合查询用户信息",cause.toString());
|
||||
throw new BusinessException(finalExceptionEnum);
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user