MaiXinRong 2 gadi atpakaļ
vecāks
revīzija
2e269fa21f
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      app/service/stage_audit.js

+ 1 - 1
app/service/stage_audit.js

@@ -1658,7 +1658,7 @@ module.exports = app => {
                         '  FROM ?? AS la Left Join ?? AS pa On la.`aid` = pa.`id` ' +
                         '  WHERE la.`sid` = ? and la.`order` = ? and la.`times` = ?';
                     sqlParam = [this.tableName, this.ctx.service.projectAccount.tableName, stageId, cur.order, parseInt(times) - 1];
-                    auditor = await this.db.queryOne(sql, sqlParam);
+                    auditor = await this.db.query(sql, sqlParam);
                     break;
                 case auditConst.status.uncheck:
                 default: