@@ -73,12 +73,12 @@ public class FinancePaymentApplicationServiceImpl extends ServiceImpl<FinancePay
}
//获取审核人
getRevieweder(application);
- //添加申请记录 0 创建
- insertRecord(application.getId(), application.getApplicanterId(), "0", null, application.getFiles(), new Date());
- Thread.sleep(100);
+ Thread.sleep(100);
//添加申请
this.save(application);
//消息通知内容
+ //添加申请记录 0 创建
+ insertRecord(application.getId(), application.getApplicanterId(), "0", null, application.getFiles(), new Date());
String message = messageTemplate.getFinancePaymentApplicationMessage(application);
//审核人为 财务审核角色
if ("financialReview".equals(application.getReviewederId())) {
@@ -115,12 +115,10 @@ public class FinancePaymentRechargeApplicationServiceImpl extends ServiceImpl<Fi
//判断审核人和状态
getReviewedRole(recharge);
recharge.setPoolId(pool.getId());
+ this.save(recharge);
//添加申请记录
insertRecord(recharge.getId(), recharge.getApplicanterId(), "0", null, recharge.getFiles(), new Date());
-
Thread.sleep(100);
- this.save(recharge);
//添加充值账户信息
List<FinancePaymentRechargeAccount> accountList = new ArrayList<>();
String accountIds = "";