mirror of https://gitee.com/stylefeng/roses
【7.3.2】更新批量查询组织机构信息,更新请求方式
parent
de6e4fb3a5
commit
ea552642d7
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue