瀏覽代碼

修复资金测试bug

ellisran 7 月之前
父節點
當前提交
0392914667
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/service/financial_pay_tender.js

+ 1 - 1
app/service/financial_pay_tender.js

@@ -29,7 +29,7 @@ module.exports = app => {
                 const result = await this.db.insert(this.tableName, data);
                 return await this.getDataById(result.insertId);
             }
-            await this.db.update(this.tableName, { id: data.id });
+            await this.db.update(this.tableName, data);
             return await this.getDataById(data.id);
         }
     }