Browse Source

[合同][修改][品牌信息]

release_toaliyun_real
gongbiao 7 years ago
parent
commit
03da3f37fc
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      mallinkService/src/main/resources/mapper/WxPropertyContractMapper.xml
  2. +2
    -2
      mallinkService/src/main/resources/mapper/WxRentContractMapper.xml

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

@@ -96,12 +96,12 @@
rentalEndDate,rc.`status`,rc.price,rc.contract_number contractNumber,s.shop_number shopNumber,
f.floor_name floorName,b.building_name buildingName,receive_period receivePeriod,
rc.lease,rc.filepath,rc.filename,rc.pay_account payAccount,rc.sign_date signDate,
start_date startDate,end_date endDate,rc.rent_contract_id rentContractId,b.`name` brandName
start_date startDate,end_date endDate,rc.rent_contract_id rentContractId,br.`name` brandName
from wx_property_contract rc
left join wx_shop s on rc.shop_id=s.id
left join wx_mall_floor f on s.floor=f.id
left join wx_mall_building b on s.building=b.id
left join wx_brand b on rc.brand=b.id
left join wx_brand br on rc.brand=br.id
<where>
<if test=" null != tenantId ">rc.tenant_id=#{tenantId}</if>


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

@@ -99,12 +99,12 @@
select rc.id,rc.merchant_name merchantName,rc.rental_start_date rentalStartDate,rc.rental_end_date rentalEndDate,rc.`status`,
rc.price,rc.contract_number contractNumber,s.shop_number shopNumber,f.floor_name floorName,b.building_name buildingName,
rc.lease,rc.filepath,rc.filename,rc.pay_account payAccount,rc.sign_date signDate,rc.merchant_id merchantId,rc.type,
rc.start_date startDate,rc.end_date endDate,b.`name` brandName
rc.start_date startDate,rc.end_date endDate,br.`name` brandName
from wx_rent_contract rc
left join wx_shop s on rc.shop_id=s.id
left join wx_mall_floor f on s.floor=f.id
left join wx_mall_building b on s.building=b.id
left join wx_brand b on rc.brand=b.id
left join wx_brand br on rc.brand=br.id
<where>
rc.tenant_id=#{tenantId}
<if test=" null != merchantName and merchantName!=''">and rc.`merchant_name` like concat('%',#{merchantName},'%')</if>


Loading…
Cancel
Save