ソースを参照

暂时还原一部分代码

MaiXinRong 1 年間 前
コミット
40d20fd1eb
1 ファイル変更2 行追加1 行削除
  1. 2 1
      app/service/stage_pay.js

+ 2 - 1
app/service/stage_pay.js

@@ -497,7 +497,8 @@ module.exports = app => {
         }
 
         async cacheOrder(stage, transaction) {
-            const sql = `UPDATE ${this.tableName} sp LEFT JOIN ${this.ctx.service.pay.tableName} p ON sp.pid = p.id SET sp.porder = p.\`order\` Where sp.sid = ? AND p.valid`;
+            //const sql = `UPDATE ${this.tableName} sp LEFT JOIN ${this.ctx.service.pay.tableName} p ON sp.pid = p.id SET sp.porder = p.\`order\` Where sp.sid = ? AND p.valid`;
+            const sql = `UPDATE ${this.tableName} sp LEFT JOIN ${this.ctx.service.pay.tableName} p ON sp.pid = p.id SET sp.porder = p.\`order\` Where sp.sid = ?`;
             await transaction.query(sql, [stage.id]);
         }
     }