소스 검색

Merge commit 'refs/tags/jenkins-back-end-740^{}' into release

release_toaliyun_real
hupeng 7 년 전
부모
커밋
c91d3ef89a
2개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  1. +0
    -2
      mallinkService/src/main/resources/mapper/WxPropertyContractMapper.xml
  2. +0
    -1
      mallinkService/src/main/resources/mapper/WxRentContractMapper.xml

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

@@ -135,13 +135,11 @@
<select id="queryRentContractEndSoonStatus" resultType="int"
parameterType="com.iformall.domain.po.WxPropertyContract">
select count(id) from wx_property_contract where tenant_id=#{tenantId} and status=4
and DATEDIFF(rental_end_date,now()) &lt;= 30 and rental_end_date > now()
<if test=" null != rentShopType ">and rent_shop_type = #{rentShopType}</if>
</select>
<select id="queryRentContractPaidStatus" resultType="int" parameterType="com.iformall.domain.po.WxPropertyContract">
select count(id) from wx_property_contract where tenant_id=#{tenantId} and status in (2,3,4)
and rental_start_date &lt;= now() and rental_end_date >= now()
<if test=" null != rentShopType ">and rent_shop_type = #{rentShopType}</if>
</select>


+ 0
- 1
mallinkService/src/main/resources/mapper/WxRentContractMapper.xml 파일 보기

@@ -130,7 +130,6 @@
<select id="queryRentContractEndSoonStatus" resultType="int" parameterType="com.iformall.domain.po.WxRentContract">
select count(id) from wx_rent_contract where tenant_id=#{tenantId} and status=4
and DATEDIFF(rental_end_date,now()) &lt;= 30 and rental_end_date > now()
<if test=" null != rentShopType ">and rent_shop_type = #{rentShopType}</if>
</select>


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