aa
jiangping
2023-11-03 4653a17b8b2343affd5d86cbba423674a2645bad
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.doumee.dao.business.WxBillDetailMapper">
 
  <insert id="insertBatch">
      insert into wx_bill_detail
    ( "id" ,
    "bill_date",
    "pid",
    "appid" ,
    "mch_id" ,
    "sub_mchid" ,
    "device_info",
    "transaction_id",
    "out_trade_no",
    "openid",
    "bill_type",
    "bill_status",
    "bank_type",
    "fee_type" ,
    "settlement_total_fee",
    "coupon_fee",
    "refund_id" ,
    "out_refund_no" ,
    "refund_fee",
    "coupon_refund_fee" ,
    "refund_type",
    "refund_apply_date" ,
    "refund_success_date" ,
    "refund_success_status" ,
    "body",
    "attach" ,
    "cmms_amt",
    "rate",
    "total_fee",
    "apply_refund_fee" ,
    "rate_remark"
    )
    values
    <foreach collection="list" item="item" separator=",">
      (#{item.id},
      #{item.billDate},
      #{item.pid},
      #{item.appid},
      #{item.mchId},
      #{item.subMchid},
      #{item.deviceInfo},
      #{item.transactionId},
      #{item.outTradeNo},
      #{item.openid},
      #{item.billType},
      #{item.billStatus},
      #{item.bankType},
      #{item.feeType},
      #{item.settlementTotalFee},
      #{item.couponFee},
      #{item.refundId},
      #{item.outRefundNo},
      #{item.refundFee},
      #{item.couponRefundFee},
      #{item.refundType},
      #{item.refundApplyDate},
      #{item.refundSuccessDate},
      #{item.refundSuccessStatus},
      #{item.body},
      #{item.attach},
      #{item.cmmsAmt},
      #{item.rate},
      #{item.totalFee},
      #{item.applyRefundFee},
      #{item.rateRemark}
      )
    </foreach>
  </insert>
 
</mapper>