diff --git a/mallinkService/src/main/resources/mapper/WxRentContractMapper.xml b/mallinkService/src/main/resources/mapper/WxRentContractMapper.xml index ba1b8bff5..f7428762c 100644 --- a/mallinkService/src/main/resources/mapper/WxRentContractMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxRentContractMapper.xml @@ -319,7 +319,7 @@ 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 - from wx_rent_contract rc inner join wx_property_contract pc on rc.id=pc.rent_contract_id + 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 rc.tenant_id=#{tenantId}