|
|
|
@@ -316,13 +316,14 @@ |
|
|
|
<result column="operation_type" property="operationType"/> |
|
|
|
<result column="rent_shop_type" property="rentShopType"/> |
|
|
|
<result column="merchant_id" property="merchantId"/> |
|
|
|
<result column="property_status" property="propertyStatus"/> |
|
|
|
|
|
|
|
</resultMap> |
|
|
|
|
|
|
|
<select id="listContractVo" parameterType="com.iformall.domain.vo.WxRentPropertyContractVo" resultMap="contractMap"> |
|
|
|
select rc.id,rc.merchant_name,rc.rental_start_date,rc.rental_end_date,rc.`status`, |
|
|
|
rc.price as rent_price,rc.contract_number,s.shop_number,rc.type,rc.apply_status, |
|
|
|
rc.rent_shop_type,rc.rent_info,pc.price as property_price,rc.merchant_id |
|
|
|
rc.rent_shop_type,rc.rent_info,pc.price as property_price,rc.merchant_id,pc.`status` as property_status |
|
|
|
from wx_rent_contract rc left join wx_property_contract pc on rc.id=pc.rent_contract_id |
|
|
|
left join wx_shop s on rc.shop_id=s.id |
|
|
|
<where> |
|
|
|
|