winter 1 год назад
Родитель
Сommit
4a886f9d8f
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      mallinkService/src/main/resources/mapper/WxFinanceReceiveMapper.xml

+ 1
- 1
mallinkService/src/main/resources/mapper/WxFinanceReceiveMapper.xml Просмотреть файл

@@ -106,7 +106,7 @@
<result column="total_setoff" jdbcType="VARCHAR" property="totalSetoff" />
<result column="total_pay" jdbcType="VARCHAR" property="totalPay"/>
</resultMap>
<select id="getReceiveSum" parameterType="com.iformall.domain.po.WxFinanceReceive" resultMap="SumBaseResultMap">
<select id="getReceiveSum" parameterType="com.iformall.domain.po.WxFinanceReceive" resultMap="SumResultMap">
select
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,


Загрузка…
Отмена
Сохранить