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