|
|
|
@@ -148,7 +148,7 @@ |
|
|
|
<result column="paid" jdbcType="VARCHAR" property="paid" /> |
|
|
|
</resultMap> |
|
|
|
<select id="getBillMonthSum" parameterType="com.iformall.domain.po.WxBillPropertyDeposit" resultMap="SumBaseResultMap"> |
|
|
|
select sum(br.receive_pay) receive_pay , sum(br.pay) paid from wx_bill_property_deposit br |
|
|
|
select sum(CAST(br.receive_pay AS DECIMAL(20,2))) receive_pay , sum(CAST(br.pay AS DECIMAL(20,2))) paid from wx_bill_property_deposit br |
|
|
|
<include refid="queryBillDepositListConditions"/> |
|
|
|
</select> |
|
|
|
|
|
|
|
@@ -163,7 +163,7 @@ |
|
|
|
<result column="min_begin_time" jdbcType="TIMESTAMP" property="minBeginTime"/> |
|
|
|
</resultMap> |
|
|
|
<select id="getBillHotNotify" parameterType="com.iformall.domain.po.WxBillPropertyDeposit" resultMap="HotNotifyBaseResultMap"> |
|
|
|
select count(1) total_count , sum(br.`receive_pay` - br.`pay`) total_money,MIN(br.starttime) min_begin_time from wx_bill_property_deposit br |
|
|
|
select count(1) total_count , sum(CAST(br.`receive_pay` AS DECIMAL(20,2)) - CAST(br.`pay` AS DECIMAL(20,2))) total_money,MIN(br.starttime) min_begin_time from wx_bill_property_deposit br |
|
|
|
<include refid="queryBillDepositListConditions"/> |
|
|
|
</select> |
|
|
|
|
|
|
|
|