Procházet zdrojové kódy

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

release_toaliyun_real
hupeng před 7 roky
rodič
revize
c91d3ef89a
2 změnil soubory, kde provedl 0 přidání a 3 odebrání
  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 Zobrazit soubor

@@ -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 Zobrazit soubor

@@ -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>


Načítá se…
Zrušit
Uložit