|
|
|
@@ -30,7 +30,6 @@ |
|
|
|
<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="receive_pay_update" property="receivePayUpdate"/> |
|
|
|
</resultMap> |
|
|
|
|
|
|
|
<sql id="allColumns"> |
|
|
|
@@ -38,7 +37,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`,receive_pay_update |
|
|
|
`pay_way`,`late_pay_status`,`comments` |
|
|
|
</sql> |
|
|
|
|
|
|
|
<sql id="dynamicWhereConditions"> |
|
|
|
@@ -92,7 +91,7 @@ |
|
|
|
else br.late_pay_price end latePayPrice, |
|
|
|
(select max(period) from wx_bill_property where property_contract_id=br.property_contract_id) |
|
|
|
allPeriod,d.`status` depositStatus,br.`shop_info` shopInfo,br.pay_way payWay,br.late_pay_status latePayStatus, |
|
|
|
br.`comments`,br.receive_pay_update |
|
|
|
br.`comments` |
|
|
|
from wx_bill_property 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_bill_property_deposit d on br.property_contract_id=d.property_contract_id |
|
|
|
|