Преглед на файлове

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>


Зареждане…
Отказ
Запис