@@ -250,7 +250,7 @@ class NeedinfoService extends ServiceBase {
*/
asyncgetStatisticsByCity(pobj){
letac=pobj.actionBody;
letsql=`select typeName,province,count(*) count from n_need_info where province is not null and typeCode is not null AND (channelTypeName <> "商标交易" or channelTypeName is null) `;
letsql=`select typeName typeCode,province,count(*) count from n_need_info where province is not null and typeCode is not null AND (channelTypeName <> "商标交易" or channelTypeName is null) `;
letwhereParams={};
if(ac.start&&ac.end){
sql+=` and created_at >= :start and created_at <= :end `;