This commit is contained in:
parent
e112ae1a0a
commit
b4666fa566
|
|
@ -599,14 +599,14 @@ public class BackApplyServiceImpl implements BackApplyService {
|
||||||
// 存在文件数据,删除
|
// 存在文件数据,删除
|
||||||
int i = backReceiveMapper.deleteBackFile(backApplyInfo);
|
int i = backReceiveMapper.deleteBackFile(backApplyInfo);
|
||||||
if (i == 0) {
|
if (i == 0) {
|
||||||
return AjaxResult.error("退料申请表文件表数据删除失败");
|
return AjaxResult.error("退料接收表文件表数据删除失败");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (backApplyInfo.getId() != null) {
|
if (backApplyInfo.getId() != null) {
|
||||||
backApplyInfo.setUpdateBy(SecurityUtils.getUsername());
|
backApplyInfo.setUpdateBy(SecurityUtils.getUsername());
|
||||||
result = backApplyMapper.updateBackApply(backApplyInfo);
|
result = backApplyMapper.updateBackApply(backApplyInfo);
|
||||||
if (result == 0) {
|
if (result == 0) {
|
||||||
return AjaxResult.error("退料申请修改失败");
|
return AjaxResult.error("退料接收修改失败");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (bean.getIsFinishBack() != null && bean.getIsFinishBack() == 1) {
|
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) {
|
} catch (Exception e) {
|
||||||
throw new RuntimeException("退料申请修改失败");
|
throw new RuntimeException("退料接收修改失败");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue