Browse Source

修复审批退回时间bug

ellisran 11 months ago
parent
commit
6ee940d86e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/service/ledger_audit.js

+ 2 - 2
app/service/ledger_audit.js

@@ -529,8 +529,8 @@ module.exports = app => {
                     return {
                         id: x.id,
                         status: x.audit_id === selfAuditor.audit_id ? auditConst.status.checkNo : auditConst.status.checkSkip,
-                        opinion: x.audit_id === selfAuditor.aid ? opinion : '',
-                        end_time: x.audit_id === selfAuditor.aid ? time : null,
+                        opinion: x.audit_id === selfAuditor.audit_id ? opinion : '',
+                        end_time: x.audit_id === selfAuditor.audit_id ? time : null,
                     };
                 });
                 await transaction.updateRows(this.tableName, updateAuditData);