| @@ -141,7 +141,7 @@ | |||||
| <result column="paid" jdbcType="VARCHAR" property="paid" /> | <result column="paid" jdbcType="VARCHAR" property="paid" /> | ||||
| </resultMap> | </resultMap> | ||||
| <select id="getBillMonthSum" parameterType="com.iformall.domain.po.WxBillDaily" resultMap="SumBaseResultMap"> | <select id="getBillMonthSum" parameterType="com.iformall.domain.po.WxBillDaily" resultMap="SumBaseResultMap"> | ||||
| select sum(br.receive_pay) receive_pay , sum(br.pay) paid from wx_bill_daily 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_daily br | |||||
| <include refid="queryBillDailyListConditions"/> | <include refid="queryBillDailyListConditions"/> | ||||
| </select> | </select> | ||||
| @@ -156,7 +156,7 @@ | |||||
| <result column="min_begin_time" jdbcType="TIMESTAMP" property="minBeginTime"/> | <result column="min_begin_time" jdbcType="TIMESTAMP" property="minBeginTime"/> | ||||
| </resultMap> | </resultMap> | ||||
| <select id="getBillHotNotify" parameterType="com.iformall.domain.po.WxBillDaily" resultMap="HotNotifyBaseResultMap"> | <select id="getBillHotNotify" parameterType="com.iformall.domain.po.WxBillDaily" resultMap="HotNotifyBaseResultMap"> | ||||
| select count(1) total_count , sum(br.`receive_pay` - br.`pay`) total_money,MIN(br.starttime) min_begin_time from wx_bill_daily 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_daily br | |||||
| <include refid="queryBillDailyListConditions"/> | <include refid="queryBillDailyListConditions"/> | ||||
| </select> | </select> | ||||
| @@ -173,7 +173,7 @@ | |||||
| <result column="paid" jdbcType="VARCHAR" property="paid" /> | <result column="paid" jdbcType="VARCHAR" property="paid" /> | ||||
| </resultMap> | </resultMap> | ||||
| <select id="getBillMonthSum" parameterType="com.iformall.domain.po.WxBillDeposit" resultMap="SumBaseResultMap"> | <select id="getBillMonthSum" parameterType="com.iformall.domain.po.WxBillDeposit" resultMap="SumBaseResultMap"> | ||||
| select sum(br.receive_pay) receive_pay , sum(br.pay) paid from wx_bill_rent_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_rent_deposit br | |||||
| <include refid="queryBillRentListCondition"/> | <include refid="queryBillRentListCondition"/> | ||||
| </select> | </select> | ||||
| @@ -188,7 +188,7 @@ | |||||
| <result column="min_begin_time" jdbcType="TIMESTAMP" property="minBeginTime"/> | <result column="min_begin_time" jdbcType="TIMESTAMP" property="minBeginTime"/> | ||||
| </resultMap> | </resultMap> | ||||
| <select id="getBillHotNotify" parameterType="com.iformall.domain.po.WxBillDeposit" resultMap="HotNotifyBaseResultMap"> | <select id="getBillHotNotify" parameterType="com.iformall.domain.po.WxBillDeposit" resultMap="HotNotifyBaseResultMap"> | ||||
| select count(1) total_count , sum(br.`receive_pay` - br.`pay`) total_money,MIN(br.starttime) min_begin_time from wx_bill_rent_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_rent_deposit br | |||||
| <include refid="queryBillRentListCondition"/> | <include refid="queryBillRentListCondition"/> | ||||
| </select> | </select> | ||||
| @@ -145,7 +145,7 @@ | |||||
| <result column="paid" jdbcType="VARCHAR" property="paid" /> | <result column="paid" jdbcType="VARCHAR" property="paid" /> | ||||
| </resultMap> | </resultMap> | ||||
| <select id="getBillMonthSum" parameterType="com.iformall.domain.po.WxBillOtherDeposit" resultMap="SumBaseResultMap"> | <select id="getBillMonthSum" parameterType="com.iformall.domain.po.WxBillOtherDeposit" resultMap="SumBaseResultMap"> | ||||
| select sum(br.receive_pay) receive_pay , sum(br.pay) paid from wx_bill_other_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_other_deposit br | |||||
| <include refid="queryBillListConditions"/> | <include refid="queryBillListConditions"/> | ||||
| </select> | </select> | ||||
| @@ -160,7 +160,7 @@ | |||||
| <result column="min_begin_time" jdbcType="TIMESTAMP" property="minBeginTime"/> | <result column="min_begin_time" jdbcType="TIMESTAMP" property="minBeginTime"/> | ||||
| </resultMap> | </resultMap> | ||||
| <select id="getBillHotNotify" parameterType="com.iformall.domain.po.WxBillOtherDeposit" resultMap="HotNotifyBaseResultMap"> | <select id="getBillHotNotify" parameterType="com.iformall.domain.po.WxBillOtherDeposit" resultMap="HotNotifyBaseResultMap"> | ||||
| select count(1) total_count , sum(br.`receive_pay` - br.`pay`) total_money,MIN(br.starttime) min_begin_time from wx_bill_other_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_other_deposit br | |||||
| <include refid="queryBillListConditions"/> | <include refid="queryBillListConditions"/> | ||||
| </select> | </select> | ||||
| @@ -140,7 +140,7 @@ | |||||
| <result column="paid" jdbcType="VARCHAR" property="paid" /> | <result column="paid" jdbcType="VARCHAR" property="paid" /> | ||||
| </resultMap> | </resultMap> | ||||
| <select id="getBillMonthSum" parameterType="com.iformall.domain.po.WxBillOther" resultMap="SumBaseResultMap"> | <select id="getBillMonthSum" parameterType="com.iformall.domain.po.WxBillOther" resultMap="SumBaseResultMap"> | ||||
| select sum(br.receive_pay) receive_pay , sum(br.pay) paid from wx_bill_other 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_other br | |||||
| <include refid="queryBillListConditions"/> | <include refid="queryBillListConditions"/> | ||||
| </select> | </select> | ||||
| @@ -155,7 +155,7 @@ | |||||
| <result column="min_begin_time" jdbcType="TIMESTAMP" property="minBeginTime"/> | <result column="min_begin_time" jdbcType="TIMESTAMP" property="minBeginTime"/> | ||||
| </resultMap> | </resultMap> | ||||
| <select id="getBillHotNotify" parameterType="com.iformall.domain.po.WxBillOther" resultMap="HotNotifyBaseResultMap"> | <select id="getBillHotNotify" parameterType="com.iformall.domain.po.WxBillOther" resultMap="HotNotifyBaseResultMap"> | ||||
| select count(1) total_count , sum(br.`receive_pay` - br.`pay`) total_money,MIN(br.starttime) min_begin_time from wx_bill_other 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_other br | |||||
| <include refid="queryBillListConditions"/> | <include refid="queryBillListConditions"/> | ||||
| </select> | </select> | ||||
| @@ -148,7 +148,7 @@ | |||||
| <result column="paid" jdbcType="VARCHAR" property="paid" /> | <result column="paid" jdbcType="VARCHAR" property="paid" /> | ||||
| </resultMap> | </resultMap> | ||||
| <select id="getBillMonthSum" parameterType="com.iformall.domain.po.WxBillPropertyDeposit" resultMap="SumBaseResultMap"> | <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"/> | <include refid="queryBillDepositListConditions"/> | ||||
| </select> | </select> | ||||
| @@ -163,7 +163,7 @@ | |||||
| <result column="min_begin_time" jdbcType="TIMESTAMP" property="minBeginTime"/> | <result column="min_begin_time" jdbcType="TIMESTAMP" property="minBeginTime"/> | ||||
| </resultMap> | </resultMap> | ||||
| <select id="getBillHotNotify" parameterType="com.iformall.domain.po.WxBillPropertyDeposit" resultMap="HotNotifyBaseResultMap"> | <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"/> | <include refid="queryBillDepositListConditions"/> | ||||
| </select> | </select> | ||||
| @@ -190,7 +190,7 @@ | |||||
| <result column="paid" jdbcType="VARCHAR" property="paid" /> | <result column="paid" jdbcType="VARCHAR" property="paid" /> | ||||
| </resultMap> | </resultMap> | ||||
| <select id="getBillMonthSum" parameterType="com.iformall.domain.po.WxBillProperty" resultMap="SumBaseResultMap"> | <select id="getBillMonthSum" parameterType="com.iformall.domain.po.WxBillProperty" resultMap="SumBaseResultMap"> | ||||
| select sum(br.receive_pay) receive_pay , sum(br.pay) paid from wx_bill_property 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 br | |||||
| <include refid="queryBillPropertyListConditions"/> | <include refid="queryBillPropertyListConditions"/> | ||||
| </select> | </select> | ||||
| @@ -205,7 +205,7 @@ | |||||
| <result column="min_begin_time" jdbcType="TIMESTAMP" property="minBeginTime"/> | <result column="min_begin_time" jdbcType="TIMESTAMP" property="minBeginTime"/> | ||||
| </resultMap> | </resultMap> | ||||
| <select id="getBillHotNotify" parameterType="com.iformall.domain.po.WxBillProperty" resultMap="HotNotifyBaseResultMap"> | <select id="getBillHotNotify" parameterType="com.iformall.domain.po.WxBillProperty" 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 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 br | |||||
| <include refid="queryBillPropertyListConditions"/> | <include refid="queryBillPropertyListConditions"/> | ||||
| </select> | </select> | ||||
| @@ -167,7 +167,7 @@ | |||||
| <result column="paid" jdbcType="VARCHAR" property="paid" /> | <result column="paid" jdbcType="VARCHAR" property="paid" /> | ||||
| </resultMap> | </resultMap> | ||||
| <select id="getBillMonthSum" parameterType="com.iformall.domain.po.WxBillRentManage" resultMap="SumBaseResultMap"> | <select id="getBillMonthSum" parameterType="com.iformall.domain.po.WxBillRentManage" resultMap="SumBaseResultMap"> | ||||
| select sum(br.receive_pay) receive_pay , sum(br.pay) paid from wx_bill_rent_manage 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_rent_manage br | |||||
| <include refid="queryBillManageListConditions"/> | <include refid="queryBillManageListConditions"/> | ||||
| </select> | </select> | ||||
| @@ -187,7 +187,7 @@ | |||||
| <result column="min_begin_time" jdbcType="TIMESTAMP" property="minBeginTime"/> | <result column="min_begin_time" jdbcType="TIMESTAMP" property="minBeginTime"/> | ||||
| </resultMap> | </resultMap> | ||||
| <select id="getBillHotNotify" parameterType="com.iformall.domain.po.WxBillRentManage" resultMap="HotNotifyBaseResultMap"> | <select id="getBillHotNotify" parameterType="com.iformall.domain.po.WxBillRentManage" resultMap="HotNotifyBaseResultMap"> | ||||
| select count(1) total_count , sum(br.`receive_pay` - br.`pay`) total_money,MIN(br.starttime) min_begin_time from wx_bill_rent_manage 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_rent_manage br | |||||
| <include refid="queryBillManageListConditions"/> | <include refid="queryBillManageListConditions"/> | ||||
| </select> | </select> | ||||
| @@ -190,7 +190,7 @@ | |||||
| <result column="paid" jdbcType="VARCHAR" property="paid" /> | <result column="paid" jdbcType="VARCHAR" property="paid" /> | ||||
| </resultMap> | </resultMap> | ||||
| <select id="getBillMonthSum" parameterType="com.iformall.domain.po.WxBillRent" resultMap="SumBaseResultMap"> | <select id="getBillMonthSum" parameterType="com.iformall.domain.po.WxBillRent" resultMap="SumBaseResultMap"> | ||||
| select sum(br.receive_pay) receive_pay , sum(br.pay) paid from wx_bill_rent 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_rent br | |||||
| <include refid="queryBillRentListCondition"/> | <include refid="queryBillRentListCondition"/> | ||||
| </select> | </select> | ||||
| @@ -205,7 +205,7 @@ | |||||
| <result column="min_begin_time" jdbcType="TIMESTAMP" property="minBeginTime"/> | <result column="min_begin_time" jdbcType="TIMESTAMP" property="minBeginTime"/> | ||||
| </resultMap> | </resultMap> | ||||
| <select id="getBillHotNotify" parameterType="com.iformall.domain.po.WxBillRent" resultMap="HotNotifyBaseResultMap"> | <select id="getBillHotNotify" parameterType="com.iformall.domain.po.WxBillRent" resultMap="HotNotifyBaseResultMap"> | ||||
| select count(1) total_count , sum(br.`receive_pay` - br.`pay`) total_money,MIN(br.starttime) min_begin_time from wx_bill_rent 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_rent br | |||||
| <include refid="queryBillRentListCondition"/> | <include refid="queryBillRentListCondition"/> | ||||
| </select> | </select> | ||||