Bläddra i källkod

fix

release_toaliyun_real
winter 1 år sedan
förälder
incheckning
6607640aa8
1 ändrade filer med 11 tillägg och 6 borttagningar
  1. +11
    -6
      mallinkService/src/main/resources/mapper/WxBillPropertyDepositMapper.xml

+ 11
- 6
mallinkService/src/main/resources/mapper/WxBillPropertyDepositMapper.xml Visa fil

@@ -176,13 +176,18 @@
<include refid="queryBillDepositListConditions"/>
</select>
<resultMap id="HotNotifyBaseResultMap" type="com.iformall.domain.vo.WxBillHotNotify">
<result column="total_count" jdbcType="INTEGER" property="totalCount"/>
<result column="total_money" jdbcType="VARCHAR" property="totalMoney" />
<result column="min_begin_time" jdbcType="TIMESTAMP" property="minBeginTime"/>
<resultMap id="NotifyResultMap" type="com.iformall.domain.vo.WxBillNotify">
<result column="bill_type" jdbcType="INTEGER" property="billType"/>
<result column="bill_type_name" jdbcType="VARCHAR" property="billTypeName" />
<result column="bill_id" jdbcType="BIGINT" property="billId" />
<result column="starttime" jdbcType="TIMESTAMP" property="starttime"/>
<result column="endtime" jdbcType="TIMESTAMP" property="endtime"/>
<result column="receive_pay" jdbcType="VARCHAR" property="receivePay"/>
<result column="pay" jdbcType="VARCHAR" property="pay"/>
<result column="merchant_id" jdbcType="BIGINT" property="merchantId" />
</resultMap>
<select id="getBillHotNotify" parameterType="com.iformall.domain.po.WxBillPropertyDeposit" resultMap="HotNotifyBaseResultMap">
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
<select id="getBillNotifyList" parameterType="com.iformall.domain.po.WxBillPropertyDeposit" resultMap="NotifyResultMap">
select #{billType} bill_type,#{billTypeName} bill_type_name,br.id as bill_id, br.starttime,br.endtime,br.receive_pay,br.pay,br.merchant_id from wx_bill_property_deposit br
<include refid="queryBillDepositListConditions"/>
</select>


Laddar…
Avbryt
Spara