Commit e65ff565 by 任晓松

update 看板

parent d6502125
...@@ -242,7 +242,7 @@ class NeedinfoService extends ServiceBase { ...@@ -242,7 +242,7 @@ class NeedinfoService extends ServiceBase {
if(ac.start&&ac.end){ if(ac.start&&ac.end){
sql += ` and created_at >= :start and created_at <= :end `; sql += ` and created_at >= :start and created_at <= :end `;
whereParams.start = await this.getTimeSubtraction(ac.start); whereParams.start = await this.getTimeSubtraction(ac.start);
whereParams.end = await this.getTimeSubtraction(ac.start); whereParams.end = await this.getTimeSubtraction(ac.end);
} }
sql += ` GROUP BY uapp_id,typeName`; sql += ` GROUP BY uapp_id,typeName`;
let result = await this.customQuery(sql,whereParams); let result = await this.customQuery(sql,whereParams);
......
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