Преглед на файлове

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

ellisran преди 1 година
родител
ревизия
67db48286b
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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 {