Commit 5b8def04 by 王昆

gsb

parent 3e093633
...@@ -357,8 +357,8 @@ class EsettleofflineService extends ServiceBase { ...@@ -357,8 +357,8 @@ class EsettleofflineService extends ServiceBase {
sql.push("id, amt as deduct_amt"); sql.push("id, amt as deduct_amt");
sql.push("FROM `c_esettle_offline` "); sql.push("FROM `c_esettle_offline` ");
sql.push("WHERE ecompany_id = :companyId"); sql.push("WHERE ecompany_id = :companyId");
sql.push("AND created_at >= :begin"); sql.push("AND pay_time >= :begin");
sql.push("AND created_at <= :end"); sql.push("AND pay_time <= :end");
return await this.dao.customQuery(sql.join(" "), { companyId: companyId, begin: begin, end: end }) || []; return await this.dao.customQuery(sql.join(" "), { companyId: companyId, begin: begin, end: end }) || [];
} }
......
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