MaiXinRong před 1 rokem
rodič
revize
961a8ea000
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      app/service/stage_pay.js

+ 1 - 1
app/service/stage_pay.js

@@ -503,7 +503,7 @@ module.exports = app => {
         }
 
         async clearCacheOrder(stage, transaction) {
-            await transaction.update(this.tableName, { porder: 1}, { sid: stage.id });
+            await transaction.update(this.tableName, { porder: 1}, { where: { sid: stage.id } });
         }
     }