Commit 47ca8aea by 刘鑫

CI: 文档以及接口修订, 组织机构相关使用MQ实现

1 parent f494a753
......@@ -42,13 +42,12 @@ public class PeaApiController {
/**
* 2.1POST 组织架构同步事件通知
* 2.1MQ 组织架构同步事件通知
*
* @param requestParam 请求参数
* @return 成功或者失败
* @apiNote BEAN系统当组织架构信息变化的时候,通知PEA系统;然后PEA系统,将会根据变化的要素信息,再去向BEAN系统发起查询,去获取详细的信息;
*/
@PostMapping("/organization/tree")
public Result<?> organizationTree(@NotNull(message = "请求参数不能为空") @Validated({ValidGroup.PeaTree.class})
@RequestBody OrganizationTreeDTO.Request requestParam) {
......@@ -57,26 +56,24 @@ public class PeaApiController {
/**
* 2.2POST 组织人员同步事件通知
* 2.2MQ 组织人员同步事件通知
*
* @param requestParam 请求参数
* @return 成功或者失败
* @apiNote 当组织人员有变化的时候,BEAN调用本接口,告知PEA系统,该组织人员有变化,PEA系统再去BEAN系统发起查询,获取该组织所有的人员信息保存到本地;
*/
@PostMapping("/organization/staff")
public Result<?> organizationStaff(@RequestBody OrganizationTreeDTO.Request requestParam) {
return Result.success(null);
}
/**
* 2.3POST 技术员信息同步事件通知
* 2.3MQ 技术员信息同步事件通知
*
* @param requestParam 请求参数
* @return 成功或者失败
* @apiNote 将网点/小组内的工程师信息,推送给PEA系统;包括2种模式:全量/增量;
*/
@PostMapping("/organization/engineer")
public Result<?> organizationEngineer(@RequestBody EngineerParamDTO.Request requestParam) {
return Result.success(null);
......@@ -96,7 +93,7 @@ public class PeaApiController {
@DateTimeFormat(pattern = "yyyy-MM-dd")
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") @RequestParam(value = "beginDate") Date beginDate,
@DateTimeFormat(pattern = "yyyy-MM-dd")
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") @RequestParam(value = "beginDate") Date endDate) {
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") @RequestParam(value = "endDate") Date endDate) {
return Result.success(new EngineerCalendarResultDTO());
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!