BillRecordMapper.xml 1002 B

123456789101112131415161718192021
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <!DOCTYPE mapper
  3. PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
  4. "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  5. <mapper namespace="com.juxiao.xchat.module.xbd.mapper.record.BillRecordMapper">
  6. <insert id="insert" parameterType="com.juxiao.xchat.module.xbd.domain.record.BillRecord" >
  7. insert into bill_record (bill_id, uid, target_uid,
  8. room_uid, bill_status, obj_id,
  9. obj_type, gift_id, gift_num,
  10. diamond_num, gold_num, money,
  11. create_time, update_time)
  12. values (#{billId,jdbcType=VARCHAR}, #{uid,jdbcType=BIGINT}, #{targetUid,jdbcType=BIGINT},
  13. #{roomUid,jdbcType=BIGINT}, #{billStatus,jdbcType=TINYINT}, #{objId,jdbcType=VARCHAR},
  14. #{objType,jdbcType=TINYINT}, #{giftId,jdbcType=INTEGER}, #{giftNum,jdbcType=INTEGER},
  15. #{diamondNum,jdbcType=DOUBLE}, #{goldNum,jdbcType=BIGINT}, #{money,jdbcType=BIGINT},
  16. #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP})
  17. </insert>
  18. </mapper>