Commit f63be44a by 王昆

gsb

parent 751bd40a
...@@ -8,7 +8,7 @@ class CcashinfoDao extends Dao{ ...@@ -8,7 +8,7 @@ class CcashinfoDao extends Dao{
async findUnNotifyIds() { async findUnNotifyIds() {
let date = moment().add(-485, 'minutes').format("YYYY-MM-DD HH:mm:ss"); let date = moment().add(-485, 'minutes').format("YYYY-MM-DD HH:mm:ss");
let sql = "SELECT id FROM `c_cash_info` WHERE trade_status IN ('00', '02') AND notify_rs = '' AND app_id = '1289358457992232962' AND updated_at <= :date ORDER BY id DESC "; let sql = "SELECT id FROM `c_cash_info` WHERE trade_status IN ('00', '02') AND notify_rs = '' AND updated_at <= :date ORDER BY id DESC ";
let list = await this.customQuery(sql, {date: date}); let list = await this.customQuery(sql, {date: date});
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