|
|
@@ -808,7 +808,7 @@ public class AuditProecessServiceImpl extends ServiceImpl<AuditProecessMapper, A
|
|
|
submit = orderCheckClient.underReview(auditProecess.getSrcBillId());
|
|
|
}
|
|
|
if (!submit.isSuccess()) {
|
|
|
- throw new SecurityException("审批开始修改审核状态失败");
|
|
|
+ throw new SecurityException(submit.getMsg());
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -895,7 +895,7 @@ public class AuditProecessServiceImpl extends ServiceImpl<AuditProecessMapper, A
|
|
|
r = orderCheckClient.passCancel(auditProecess.getSrcBillId());
|
|
|
}
|
|
|
if (!r.isSuccess()) {
|
|
|
- throw new SecurityException("修改财务数据失败");
|
|
|
+ throw new SecurityException(r.getMsg());
|
|
|
}
|
|
|
|
|
|
if ("销售审批".equals(proecessTemp.getProcessType())) {
|
|
|
@@ -980,7 +980,7 @@ public class AuditProecessServiceImpl extends ServiceImpl<AuditProecessMapper, A
|
|
|
r = orderCheckClient.passCancel(auditProecess.getSrcBillId());
|
|
|
}
|
|
|
if (!r.isSuccess()) {
|
|
|
- throw new SecurityException("修改财务数据失败");
|
|
|
+ throw new SecurityException(r.getMsg());
|
|
|
}
|
|
|
if ("销售审批".equals(proecessTemp.getProcessType())) {
|
|
|
sendMessage.setMessageBody("您的销售请核未通过" + ",销售订单号:" + proecessTemp.getBillNo() + ",驳回原因:" + auditProecess.getAuditMsg());
|