Commit a78fcf4e authored by fangxinjiang's avatar fangxinjiang

调整批量删除接口

parent e605ea8e
......@@ -140,7 +140,7 @@ public class TEmpBadRecordController {
@SysLog("通过ids删除员工不良记录" )
@DeleteMapping("/removeByIds" )
@PreAuthorize("@pms.hasPermission('demo_tempbadrecord_del_batch')" )
public R<Boolean> removeByIds(@RequestParam String ids) {
public R<Boolean> removeByIds(@RequestBody(required = true) String ids) {
List<String> idList = Common.getList(ids);
return R.ok(tEmpBadRecordService.removeByIds(idList));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment