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

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

@@ -180,7 +180,7 @@
count(1) total_count ,
sum(CAST(`receive_pay` AS DECIMAL(20,2)) - CAST(`pay` AS DECIMAL(20,2)) - CAST(IFNULL(`set_off`,'0') AS DECIMAL(20,2)) + CAST(IFNULL(`return_pay`,'0') AS DECIMAL(20,2))) total_money,
MIN(br.starttime) min_begin_time from wx_all_bill
<include refid="queryBillRentListCondition"/>
<include refid="dynamicWhereConditions"/>
group by bill_type
</select>
@@ -195,7 +195,7 @@
</resultMap>
<select id="getBillNotifyList" parameterType="com.iformall.domain.po.WxAllBill" resultMap="NotifyResultMap">
select bill_type,br.id as bill_id, br.starttime,br.endtime,br.receive_pay,br.pay,br.merchant_id from wx_all_bill br
<include refid="queryBillRentListCondition"/>
<include refid="dynamicWhereConditions"/>
</select>
<delete id="deleteBillByContract" parameterType="com.iformall.domain.po.WxRentContract">


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