소스 검색

修复资金测试bug

ellisran 10 달 전
부모
커밋
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);
         }
     }