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
26
27
28
29
30
31
<?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.user.mapper.PlatformAccountLogMapper">
  <resultMap id="BaseResultMap" type="com.xzx.gc.entity.PlatformAccountLog">
    <!--
      WARNING - @mbg.generated
    -->
    <id column="id" jdbcType="BIGINT" property="id" />
    <result column="type" jdbcType="INTEGER" property="type" />
    <result column="old_money" jdbcType="DECIMAL" property="oldMoney" />
    <result column="money" jdbcType="DECIMAL" property="money" />
    <result column="new_money" jdbcType="DECIMAL" property="newMoney" />
    <result column="old_hbb" jdbcType="DECIMAL" property="oldHbb" />
    <result column="hbb" jdbcType="DECIMAL" property="hbb" />
    <result column="new_hbb" jdbcType="DECIMAL" property="newHbb" />
    <result column="create_user_id" jdbcType="VARCHAR" property="createUserId" />
    <result column="create_time" jdbcType="VARCHAR" property="createTime" />
  </resultMap>
 
 
  <insert id="insertPlatFormLog" parameterType="com.xzx.gc.model.admin.PlatformAccountLogModel">
    INSERT INTO `xzx_platform_account_log`
    (`type`, `old_money`, `money`, `new_money`,
     `old_hbb`, `hbb`, `new_hbb`, `create_user_id`,
     `create_time`, `create_user_type`, `create_user_name`,
     `create_user_mobile`, `flow_no`)
    VALUES ('1', #{oldMoney}, #{money}, #{newMoney},
                 #{oldHbb}, #{hbb}, #{newHbb}, #{createUserId}, #{createTime}, #{createUserType},
                 #{createUserName}, #{createUserMobile}, #{flowNo})
  </insert>
</mapper>