人员类别控制层
This commit is contained in:
parent
ba50643942
commit
58c6720f60
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue