|
|
|
@@ -30,6 +30,9 @@ |
|
|
|
<result column="pay_way" jdbcType="INTEGER" property="payWay"/> |
|
|
|
<result column="late_pay_status" jdbcType="INTEGER" property="latePayStatus"/> |
|
|
|
<result column="comments" jdbcType="VARCHAR" property="comments"/> |
|
|
|
<result column="starttime" property="starttime"/> |
|
|
|
<result column="endtime" property="endtime"/> |
|
|
|
<result column="receive_pay_update" property="receivePayUpdate"/> |
|
|
|
|
|
|
|
</resultMap> |
|
|
|
|
|
|
|
@@ -38,7 +41,7 @@ |
|
|
|
`createtime`,`expired_day`,`tenant_id`,`owe`,`status`,`is_del`,`need_pay`, |
|
|
|
`merchant_id`,`user_id`,`shop_id`,`updatetime`,`rent_shop_type`, |
|
|
|
`revenue`,`late_pay_ratio`,`late_pay_time`,`late_pay_price`,`period`,`is_preview`,`shop_info`, |
|
|
|
`pay_way`,`late_pay_status`,`comments` |
|
|
|
`pay_way`,`late_pay_status`,`comments`,receive_pay_update |
|
|
|
</sql> |
|
|
|
|
|
|
|
<sql id="dynamicWhereConditions"> |
|
|
|
@@ -95,7 +98,7 @@ |
|
|
|
else br.late_pay_price end latePayPrice, |
|
|
|
(select max(period) from wx_bill_rent where rent_contract_id=br.rent_contract_id) allPeriod,d.`status` |
|
|
|
depositStatus,br.shop_info shopInfo,br.pay_way payWay,br.late_pay_status latePayStatus, |
|
|
|
br.`comments` |
|
|
|
br.`comments`,br.receive_pay_update |
|
|
|
from wx_bill_rent br left join wx_merchant m on br.merchant_id=m.id |
|
|
|
left join wx_shop s on br.shop_id=s.id |
|
|
|
left join wx_rent_contract r on br.rent_contract_id=r.id |
|
|
|
|