Commit d0170ebf by 孙亚楠

d

parent 021ae7d5
......@@ -111,7 +111,7 @@ class EordersignlogDao extends Dao{
async PageeordersignlogContract(params){
let sql = [];
sql.push(`SELECT t1.engine_contract_id,t1.engine_contract_name,t1.created_at,t2.live_start,t2.live_end,t2.merchant_name,t1.order_id `);
sql.push(`FROM e_order_sign_log t1 inner join e_order t2 on t2.order_id =t1.id WHERE 1 = 1 `)
sql.push(`FROM e_order_sign_log t1 inner join e_order t2 on t2.id =t1.order_id WHERE 1 = 1 `)
this.setpageEorderContractParams(sql,params);
sql.push("ORDER BY t1.created_at DESC");
sql.push("LIMIT :startRow, :pageSize");
......
......@@ -102,7 +102,7 @@ class EordersignlogService extends ServiceBase {
return system.getResult({count: 0, rows: []});
}
for (let item of list) {
this.handleDate(item,['created_at'],null,null)
this.handleDate(item,['created_at','live_start','live_end'],null,null)
}
return system.getResult({count: listContract.count, rows: list});
}catch (e) {
......
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