This commit is contained in:
mashuai 2025-05-22 16:04:20 +08:00
parent e112ae1a0a
commit b4666fa566
1 changed files with 4 additions and 4 deletions

View File

@ -599,14 +599,14 @@ public class BackApplyServiceImpl implements BackApplyService {
// 存在文件数据删除
int i = backReceiveMapper.deleteBackFile(backApplyInfo);
if (i == 0) {
return AjaxResult.error("退料申请表文件表数据删除失败");
return AjaxResult.error("退料接收表文件表数据删除失败");
}
}
if (backApplyInfo.getId() != null) {
backApplyInfo.setUpdateBy(SecurityUtils.getUsername());
result = backApplyMapper.updateBackApply(backApplyInfo);
if (result == 0) {
return AjaxResult.error("退料申请修改失败");
return AjaxResult.error("退料接收修改失败");
}
}
if (bean.getIsFinishBack() != null && bean.getIsFinishBack() == 1) {
@ -701,9 +701,9 @@ public class BackApplyServiceImpl implements BackApplyService {
}
}
}
return AjaxResult.success("退料申请修改成功");
return AjaxResult.success("退料接收修改成功");
} catch (Exception e) {
throw new RuntimeException("退料申请修改失败");
throw new RuntimeException("退料接收修改失败");
}
}