| | |
| | | <id column="id" property="id" jdbcType="BIGINT" />
|
| | | <result column="account" property="account" jdbcType="VARCHAR" />
|
| | | <result column="extractTime" property="extractTime" jdbcType="BIGINT" />
|
| | | <result column="receiveTime" property="receiveTime" jdbcType="TIMESTAMP" />
|
| | | |
| | | <result column="ip" property="ip" jdbcType="VARCHAR" />
|
| | | <result column="money" property="money" jdbcType="DECIMAL" />
|
| | | <result column="name" property="name" jdbcType="VARCHAR" />
|
| | |
| | |
|
| | | </resultMap>
|
| | | <sql id="Base_Column_List">
|
| | | id,account,extractTime,ip,money,name,reason,state,type,uid,sid,adminId
|
| | | id,account,extractTime,ip,money,name,reason,state,type,uid,sid,adminId,receiveTime
|
| | | </sql>
|
| | | <select id="selectByPrimaryKey" resultMap="BaseResultMap"
|
| | | parameterType="java.lang.Long">
|
| | |
| | | <insert id="insert" parameterType="com.yeshi.fanli.entity.bus.user.Extract"
|
| | | useGeneratedKeys="true" keyProperty="id">
|
| | | insert into yeshi_ec_extract (id,
|
| | | account,extractTime,ip,money,name,reason,state,type,uid,sid,adminId)
|
| | | account,extractTime,ip,money,name,reason,state,type,uid,sid,adminId,receiveTime)
|
| | | values
|
| | | (#{id,jdbcType=BIGINT},
|
| | | #{account,jdbcType=VARCHAR},
|
| | |
| | | #{type,jdbcType=INTEGER},
|
| | | #{userInfo.id,jdbcType=BIGINT},
|
| | | #{system.id,jdbcType=BIGINT}
|
| | | #{adminId,jdbcType=BIGINT}
|
| | | #{adminId,jdbcType=BIGINT},
|
| | | #{receiveTime,jdbcType=TIMESTAMP}
|
| | | )
|
| | | </insert>
|
| | | <insert id="insertSelective" parameterType="com.yeshi.fanli.entity.bus.user.Extract"
|
| | |
| | | <if test="system != null">
|
| | | adminId,
|
| | | </if>
|
| | | |
| | | <if test="receiveTime != null">
|
| | | receiveTime,
|
| | | </if>
|
| | | |
| | | |
| | | |
| | | |
| | |
|
| | | </trim>
|
| | | <trim prefix="values (" suffix=")" suffixOverrides=",">
|
| | |
| | | <if test="system != null">
|
| | | #{adminId,jdbcType=BIGINT},
|
| | | </if>
|
| | | |
| | | <if test="receiveTime != null">
|
| | | #{receiveTime,jdbcType=TIMESTAMP},
|
| | | </if>
|
| | | |
| | | |
| | | </trim>
|
| | | </insert>
|
| | | <update id="updateByPrimaryKeySelective" parameterType="com.yeshi.fanli.entity.bus.user.Extract">
|
| | |
| | | <if test="system != null">
|
| | | adminId = #{adminId,jdbcType=BIGINT},
|
| | | </if>
|
| | | |
| | | <if test="receiveTime != null">
|
| | | #{receiveTime,jdbcType=TIMESTAMP},
|
| | | </if>
|
| | | |
| | | |
| | | </set>
|
| | | where id = #{id,jdbcType=BIGINT}
|
| | | </update>
|
| | |
| | | =#{adminId,jdbcType=BIGINT},
|
| | | sid
|
| | | =
|
| | | #{system.id,jdbcType=BIGINT}
|
| | | #{system.id,jdbcType=BIGINT},
|
| | | receiveTime
|
| | | =#{receiveTime,jdbcType=TIMESTAMP}
|
| | | where id =
|
| | | #{id,jdbcType=BIGINT}
|
| | | </update>
|