Helius
2021-06-30 02b38bb7c08d68fffc6af25e4ba00a456d96e94e
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
<?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.xzx.gc.order.mapper.WeightItemPriceLogMapper">
  <resultMap id="BaseResultMap" type="com.xzx.gc.entity.WeightItemPriceLog">
    <!--
      WARNING - @mbg.generated
    -->
    <id column="id" jdbcType="BIGINT" property="id" />
    <result column="item_id" jdbcType="BIGINT" property="itemId" />
    <result column="settlement" jdbcType="VARCHAR" property="settlement" />
    <result column="unSettlement" jdbcType="VARCHAR" property="unsettlement" />
    <result column="total_settlement" jdbcType="VARCHAR" property="totalSettlement" />
    <result column="create_time" jdbcType="VARCHAR" property="createTime" />
    <result column="update_time" jdbcType="VARCHAR" property="updateTime" />
    <result column="receiver" jdbcType="VARCHAR" property="receiver" />
    <result column="del_flag" jdbcType="SMALLINT" property="delFlag" />
  </resultMap>
 
    <insert id="insertRoyaltyLog">
        INSERT INTO `xzx_weight_item_price_log` (`item_id`, `settlement`, `unSettlement`, `total_settlement`, `create_time`,  `receiver`)
        VALUES (#{itemId}, #{settlement}, #{unSettlement}, #{totalSettlement}, #{createTime}, #{receiver})
    </insert>
 
 
</mapper>