|
@@ -241,7 +241,7 @@ module.exports = app => {
|
|
|
if (a.audit_order === 0) continue;
|
|
|
newAuditors.push({
|
|
|
tid: newSettle.tid, settle_id: newSettle.id,
|
|
|
- audit_id: a.id,
|
|
|
+ audit_id: a.audit_id,
|
|
|
audit_times: 1, audit_order: a.audit_order, audit_type: a.audit_type,
|
|
|
active_order: a.audit_order, audit_status: auditConst.settle.status.uncheck,
|
|
|
name: a.name, company: a.company, role: a.role, mobile: a.mobile,
|
|
@@ -386,6 +386,7 @@ module.exports = app => {
|
|
|
code: this.ctx.session.sessionProject.code,
|
|
|
};
|
|
|
await this.ctx.helper.sendWechat(users, smsTypeConst.const.JS, smsTypeConst.judge.approval.toString(), wxConst.template.settle, wechatData);
|
|
|
+ console.log(audits);
|
|
|
for (const a of audits) {
|
|
|
await this.ctx.service.noticeAgain.addNoticeAgain(transaction, smsTypeConst.const.JS, {
|
|
|
pid: this.ctx.session.sessionProject.id,
|