소스 검색

暂时还原一部分代码

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]);
         }
     }