소스 검색

[租赁合同][修改][提前终止租赁合同与物业合同]

release_toaliyun_real
gongbiao 7 년 전
부모
커밋
c2e65e2a20
2개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java
  2. +2
    -1
      mallinkService/src/main/resources/mapper/WxPropertyContractMapper.xml

+ 2
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java 파일 보기

@@ -424,8 +424,9 @@ public class WxRentContractServiceImpl implements WxRentContractService {
//停用商户
wxMerchantService.disable(wxRentContract.getMerchantId());
//物业合同终止
if(status.equals("1")){
if(status==1){
WxPropertyContract wxPropertyContract = new WxPropertyContract();
wxRentContract.setTenantId(wxRentContract.getTenantId());
wxPropertyContract.setRentContractId(id);
List<Map<String, Object>> contractData = wxPropertyContractMapper.queryPropertyContractData(wxPropertyContract);
if(contractData.size()>0){


+ 2
- 1
mallinkService/src/main/resources/mapper/WxPropertyContractMapper.xml 파일 보기

@@ -93,7 +93,8 @@
left join wx_mall_floor f on s.floor=f.id
left join wx_mall_building b on s.building=b.id
<where>
rc.tenant_id=#{tenantId}
<if test=" null != tenantId ">rc.tenant_id=#{tenantId}</if>
<if test=" null != merchantName and merchantName!=''">and rc.`merchant_name` like
concat('%',#{merchantName},'%')
</if>


불러오는 중...
취소
저장