代码迁移

This commit is contained in:
liang.chao 2025-01-16 13:04:18 +08:00
parent 22232fbbf7
commit 539c46bbab
1 changed files with 1 additions and 6 deletions

View File

@ -226,12 +226,7 @@ public class BackReceiveController extends BaseController {
@PostMapping("/endBack")
public AjaxResult endBack(@RequestBody BackApplyInfo record) {
try {
int res = backReceiveService.endBack(record);
if (res > 0) {
return AjaxResult.success("接收成功");
} else {
return AjaxResult.error("接收失败");
}
return AjaxResult.success(backReceiveService.endBack(record));
} catch (Exception e) {
throw new RuntimeException(e);
}