瀏覽代碼

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

release_toaliyun_real
luozukai 7 年之前
父節點
當前提交
970f09ada8
共有 1 個檔案被更改,包括 4 行新增2 行删除
  1. +4
    -2
      mallinkService/src/main/resources/mapper/WxShopMapper.xml

+ 4
- 2
mallinkService/src/main/resources/mapper/WxShopMapper.xml 查看文件

@@ -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…
取消
儲存