人员类别控制层

This commit is contained in:
sxu 2025-03-03 18:28:46 +08:00
parent 58c6720f60
commit c85d67f632
1 changed files with 1 additions and 2 deletions

View File

@ -39,10 +39,9 @@ public class CustPsnTypeController extends BaseController {
@GetMapping({"/queryPsnTypeByPage"})
@ApiOperation("获取人员类别信息")
public TableDataInfo queryPsnTypeByPage(String content) {
public TableDataInfo queryPsnTypeByPage(@Valid QueryPsnTypeDTO dto) {
try {
startPage();
QueryPsnTypeDTO dto = (QueryPsnTypeDTO) QueryParseHelper.getParamFromContent(content, QueryPsnTypeDTO.class);
List<ExportPsnTypeVO> list = this.custPsnTypeService.queryPsnTypeByPage(dto);
return getDataTable(list);
} catch (Exception e) {