Browse Source

[首页统计][修改][修改出租信息]

release_toaliyun_real
luozukai 7 years ago
parent
commit
970f09ada8
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      mallinkService/src/main/resources/mapper/WxShopMapper.xml

+ 4
- 2
mallinkService/src/main/resources/mapper/WxShopMapper.xml View File

@@ -543,8 +543,10 @@
</select>

<select id="getCountByWxShop" parameterType="com.iformall.domain.po.WxShop" resultType="Long">
select count(*) from wx_shop w left join wx_merchant_shop ms ON
ms.shop_id = w.id where w.tenant_id=#{tenantId} and w.is_del=0
select count(*) from wx_shop w where w.is_del=0
<if test=" null != tenantId ">
and w.`tenant_id`= #{tenantId}
</if>
<if test="null != startdate">
and ms.`create_date` >= #{startdate}
</if>


Loading…
Cancel
Save