|
|
|
@@ -572,9 +572,15 @@ |
|
|
|
DATE_FORMAT(w.create_date,'%Y/%m') xTime |
|
|
|
</if> |
|
|
|
,count(distinct w.shop_id) xCount |
|
|
|
from wx_merchant_shop w |
|
|
|
from wx_merchant_shop w left join wx_shop s on w.shop_id=s.id |
|
|
|
where w.is_del=0 |
|
|
|
and w.tenant_id = #{tenantId} |
|
|
|
<if test="building!=null"> |
|
|
|
and s.building=#{building} |
|
|
|
</if> |
|
|
|
<if test="floor!=null"> |
|
|
|
and s.floor=#{floor} |
|
|
|
</if> |
|
|
|
group by xTime |
|
|
|
order by xTime |
|
|
|
</select> |
|
|
|
|