|
|
|
@@ -228,16 +228,16 @@ |
|
|
|
|
|
|
|
<select id="getbshoplist" resultType="hashmap" parameterType="hashmap"> |
|
|
|
select id,shop_number shopNumber from wx_shop |
|
|
|
where tenant_id=#{tenantId} and shop_number like concat('%', ${shopNumber},'%') |
|
|
|
where tenant_id=#{tenantId} and shop_number = #{shopNumber} |
|
|
|
</select> |
|
|
|
|
|
|
|
<select id="getMerchantShopByShopId" resultType="hashmap" parameterType="hashmap"> |
|
|
|
select m.`name` merchantName,s.build_area buildArea,s.operation_area operationArea, |
|
|
|
c.price,c.receive_period receivePeriod |
|
|
|
c.price,c.receive_period receivePeriod,s.shop_number shopNumber |
|
|
|
from wx_merchant_shop ms inner join wx_merchant m on ms.merchant_id=m.id |
|
|
|
inner join wx_shop s on ms.shop_id=s.id |
|
|
|
inner join wx_rent_contract c on ms.merchant_id=c.merchant_id |
|
|
|
where ms.tenant_id=${tenantId} and ms.shop_id=${shopId} and ms.is_del=0 |
|
|
|
where ms.tenant_id=#{tenantId} and ms.shop_id=#{shopId} and ms.is_del=0 |
|
|
|
</select> |
|
|
|
|
|
|
|
</mapper> |