|
|
@@ -134,8 +134,8 @@ |
|
|
|
|
|
|
|
|
<update id="updateRentInvalidStatus" parameterType="com.iformall.domain.po.WxRentContract"> |
|
|
<update id="updateRentInvalidStatus" parameterType="com.iformall.domain.po.WxRentContract"> |
|
|
update wx_rent_contract set status=#{status} where shop_id in ( |
|
|
update wx_rent_contract set status=#{status} where shop_id in ( |
|
|
select s.shop_id from (SELECT shop_id FROM wx_rent_contract WHERE tenant_id = #{tenantId} and merchant_id is not null and status!=6 |
|
|
|
|
|
)s) and merchant_id is null and tenant_id=#{tenantId} |
|
|
|
|
|
|
|
|
select s.shop_id from (SELECT shop_id FROM wx_rent_contract WHERE tenant_id = #{tenantId} and status in(2,3,4) |
|
|
|
|
|
)s) and status=1 and status!=7 and tenant_id=#{tenantId} |
|
|
</update> |
|
|
</update> |
|
|
|
|
|
|
|
|
<select id="getRentContractList" parameterType="String" resultType="com.iformall.domain.po.WxRentContract"> |
|
|
<select id="getRentContractList" parameterType="String" resultType="com.iformall.domain.po.WxRentContract"> |
|
|
|