【7.3.2】更新批量查询组织机构信息,更新请求方式

pull/41/head
fengshuonan 2022-11-02 14:20:31 +08:00
parent de6e4fb3a5
commit ea552642d7
1 changed files with 2 additions and 2 deletions

View File

@ -248,8 +248,8 @@ public class HrOrganizationController {
* @author fengshuonan
* @date 2022/11/2 13:56
*/
@GetResource(name = "批量获取组织机构信息列表", path = "/hrOrganization/getOrgInfoListByIds")
public ResponseData<List<HrOrganizationDTO>> getOrgInfoListByIds(@Validated(HrOrganizationRequest.batchQuery.class) HrOrganizationRequest hrOrganizationRequest) {
@PostResource(name = "批量获取组织机构信息列表", path = "/hrOrganization/getOrgInfoListByIds")
public ResponseData<List<HrOrganizationDTO>> getOrgInfoListByIds(@RequestBody @Validated(HrOrganizationRequest.batchQuery.class) HrOrganizationRequest hrOrganizationRequest) {
List<HrOrganizationDTO> orgDetailList = hrOrganizationService.getOrgDetailList(hrOrganizationRequest.getOrgIdList());
return new SuccessResponseData<>(orgDetailList);
}