企业审核
This commit is contained in:
@@ -98,5 +98,16 @@ public class HrCompanyController {
|
||||
public AlitaResult<HrCompany> findById(@PathVariable("id") Long id) {
|
||||
return AlitaResult.success(companyService.findById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 分页查询-审核表的数据
|
||||
*/
|
||||
@GetMapping("/audit_page")
|
||||
@ApiOperation("分页查询")
|
||||
public AlitaResult<Page<HrCompanyDTO>> auditPage(@Validated HrCompanyPageQueryDTO queryDTO) {
|
||||
queryDTO.check();
|
||||
companyService.auditPage(queryDTO);
|
||||
return AlitaResult.success(queryDTO.getPageResult());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user