Commit 68033c19 by 王昆

gsb

parent f15d997f
...@@ -14,7 +14,7 @@ class CcashinfoDao extends Dao{ ...@@ -14,7 +14,7 @@ class CcashinfoDao extends Dao{
} }
async moreIds(id, mchtId, limit) { async moreIds(id, mchtId, limit) {
let sql = "SELECT id FROM `c_cash_info` WHERE id >= :id AND deduct_amt = 0 AND mchtId = :mchtId LIMIT :limit"; let sql = "SELECT id FROM `c_cash_info` WHERE id >= :id AND deduct_amt = 0 AND mchtId = :mchtId AND trade_status = '00' LIMIT :limit ORDER BY id ASC";
let list = await this.customQuery(sql, {id: id, mchtId: mchtId, limit: limit}); let list = await this.customQuery(sql, {id: id, mchtId: mchtId, limit: limit});
return list; return list;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment