|
|
@@ -106,7 +106,7 @@ |
|
|
<result column="total_setoff" jdbcType="VARCHAR" property="totalSetoff" /> |
|
|
<result column="total_setoff" jdbcType="VARCHAR" property="totalSetoff" /> |
|
|
<result column="total_pay" jdbcType="VARCHAR" property="totalPay"/> |
|
|
<result column="total_pay" jdbcType="VARCHAR" property="totalPay"/> |
|
|
</resultMap> |
|
|
</resultMap> |
|
|
<select id="getReceiveSum" parameterType="com.iformall.domain.po.WxFinanceReceive" resultMap="SumBaseResultMap"> |
|
|
|
|
|
|
|
|
<select id="getReceiveSum" parameterType="com.iformall.domain.po.WxFinanceReceive" resultMap="SumResultMap"> |
|
|
select |
|
|
select |
|
|
sum(CAST(ifnull(receive_money,'0') AS DECIMAL(20,2))) total_receive , |
|
|
sum(CAST(ifnull(receive_money,'0') AS DECIMAL(20,2))) total_receive , |
|
|
sum(CAST(ifnull(set_off_money,'0') AS DECIMAL(20,2))) total_setoff, |
|
|
sum(CAST(ifnull(set_off_money,'0') AS DECIMAL(20,2))) total_setoff, |
|
|
|