Browse Source

修复已调用变更计算方法bug

ellisran 1 year ago
parent
commit
67db48286b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/service/stage_change.js

+ 1 - 1
app/service/stage_change.js

@@ -591,7 +591,7 @@ module.exports = app => {
                     const sql = 'SELECT scf.* ' +
                         '  FROM ' + this.ctx.service.stageChangeFinal.tableName + ' scf ' +
                         '  LEFT JOIN ' + this.ctx.service.stage.tableName + ' s ON scf.sid = s.id' +
-                        this.ctx.helper.whereSql({ tid, cid }, 'scf') + ' And s.order <= ?';
+                        this.ctx.helper.whereSql({ tid, cid }, 'scf') + ' And s.order = ?';
                     const pre = await this.db.query(sql, [stage.order]);
                     result.push(...pre);
                 } else {