app退料联调

This commit is contained in:
mashuai 2024-11-22 09:45:37 +08:00
parent 47640f43aa
commit 8ea66e6165
1 changed files with 3 additions and 3 deletions

View File

@ -188,9 +188,9 @@ public class BackApplyInfoController extends BaseController {
@PreventRepeatSubmit
@RequiresPermissions("back:info:remove")
@SysLog(title = "退料任务", businessType = OperaType.DELETE, logType = 1,module = "仓储管理->删除退料任务")
@DeleteMapping("/{id}")
public AjaxResult remove(@PathVariable Long id) {
return backApplyInfoService.deleteBackApplyInfoById(id);
@PostMapping("/deleteById")
public AjaxResult remove(@RequestBody BackApplyInfo backApplyInfo) {
return backApplyInfoService.deleteBackApplyInfoById(backApplyInfo.getId());
}
/**