人员类别控制层

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

View File

@ -60,7 +60,9 @@ public class CustPsnTypeController extends BaseController {
@DeleteMapping({"/deletePsnTypeById"})
@ApiOperation("根据id删除人员类别")
public AjaxResult deletePsnTypeById(@RequestBody @Valid DeletePsnTypeDTO dto) {
public AjaxResult deletePsnTypeById(@Valid Long id) {
DeletePsnTypeDTO dto = new DeletePsnTypeDTO();
dto.setId(id);
this.custPsnTypeService.deletePsnTypeById(dto);
return success();
}