提交汇付会员实体类

This commit is contained in:
2023-06-07 15:01:49 +08:00
parent eb1e678378
commit da5d3d1457
5 changed files with 406 additions and 0 deletions

View File

@@ -0,0 +1,213 @@
<?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.jsowell.pile.mapper.AdapayMemberInfoMapper">
<resultMap id="BaseResultMap" type="com.jsowell.pile.domain.AdapayMemberInfo">
<!--@mbg.generated-->
<!--@Table adapay_member_info-->
<id column="id" jdbcType="INTEGER" property="id" />
<result column="member_id" jdbcType="VARCHAR" property="memberId" />
<result column="gender" jdbcType="VARCHAR" property="gender" />
<result column="identified" jdbcType="VARCHAR" property="identified" />
<result column="tel_no" jdbcType="INTEGER" property="telNo" />
<result column="prod_mode" jdbcType="VARCHAR" property="prodMode" />
<result column="nickname" jdbcType="VARCHAR" property="nickname" />
<result column="disabled" jdbcType="VARCHAR" property="disabled" />
<result column="location" jdbcType="VARCHAR" property="location" />
<result column="app_id" jdbcType="INTEGER" property="appId" />
<result column="email" jdbcType="VARCHAR" property="email" />
<result column="object" jdbcType="VARCHAR" property="object" />
<result column="status" jdbcType="VARCHAR" property="status" />
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
<result column="del_flag" jdbcType="VARCHAR" property="delFlag" />
</resultMap>
<sql id="Base_Column_List">
<!--@mbg.generated-->
id, member_id, gender, `identified`, tel_no, prod_mode, nickname, disabled, `location`,
app_id, email, `object`, `status`, create_time, del_flag
</sql>
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
<!--@mbg.generated-->
select
<include refid="Base_Column_List" />
from adapay_member_info
where id = #{id,jdbcType=INTEGER}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
<!--@mbg.generated-->
delete from adapay_member_info
where id = #{id,jdbcType=INTEGER}
</delete>
<insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.jsowell.pile.domain.AdapayMemberInfo" useGeneratedKeys="true">
<!--@mbg.generated-->
insert into adapay_member_info (member_id, gender, `identified`,
tel_no, prod_mode, nickname,
disabled, `location`, app_id,
email, `object`, `status`,
create_time, del_flag)
values (#{memberId,jdbcType=VARCHAR}, #{gender,jdbcType=VARCHAR}, #{identified,jdbcType=VARCHAR},
#{telNo,jdbcType=INTEGER}, #{prodMode,jdbcType=VARCHAR}, #{nickname,jdbcType=VARCHAR},
#{disabled,jdbcType=VARCHAR}, #{location,jdbcType=VARCHAR}, #{appId,jdbcType=INTEGER},
#{email,jdbcType=VARCHAR}, #{object,jdbcType=VARCHAR}, #{status,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP}, #{delFlag,jdbcType=VARCHAR})
</insert>
<insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.jsowell.pile.domain.AdapayMemberInfo" useGeneratedKeys="true">
<!--@mbg.generated-->
insert into adapay_member_info
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="memberId != null">
member_id,
</if>
<if test="gender != null">
gender,
</if>
<if test="identified != null">
`identified`,
</if>
<if test="telNo != null">
tel_no,
</if>
<if test="prodMode != null">
prod_mode,
</if>
<if test="nickname != null">
nickname,
</if>
<if test="disabled != null">
disabled,
</if>
<if test="location != null">
`location`,
</if>
<if test="appId != null">
app_id,
</if>
<if test="email != null">
email,
</if>
<if test="object != null">
`object`,
</if>
<if test="status != null">
`status`,
</if>
<if test="createTime != null">
create_time,
</if>
<if test="delFlag != null">
del_flag,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="memberId != null">
#{memberId,jdbcType=VARCHAR},
</if>
<if test="gender != null">
#{gender,jdbcType=VARCHAR},
</if>
<if test="identified != null">
#{identified,jdbcType=VARCHAR},
</if>
<if test="telNo != null">
#{telNo,jdbcType=INTEGER},
</if>
<if test="prodMode != null">
#{prodMode,jdbcType=VARCHAR},
</if>
<if test="nickname != null">
#{nickname,jdbcType=VARCHAR},
</if>
<if test="disabled != null">
#{disabled,jdbcType=VARCHAR},
</if>
<if test="location != null">
#{location,jdbcType=VARCHAR},
</if>
<if test="appId != null">
#{appId,jdbcType=INTEGER},
</if>
<if test="email != null">
#{email,jdbcType=VARCHAR},
</if>
<if test="object != null">
#{object,jdbcType=VARCHAR},
</if>
<if test="status != null">
#{status,jdbcType=VARCHAR},
</if>
<if test="createTime != null">
#{createTime,jdbcType=TIMESTAMP},
</if>
<if test="delFlag != null">
#{delFlag,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update id="updateByPrimaryKeySelective" parameterType="com.jsowell.pile.domain.AdapayMemberInfo">
<!--@mbg.generated-->
update adapay_member_info
<set>
<if test="memberId != null">
member_id = #{memberId,jdbcType=VARCHAR},
</if>
<if test="gender != null">
gender = #{gender,jdbcType=VARCHAR},
</if>
<if test="identified != null">
`identified` = #{identified,jdbcType=VARCHAR},
</if>
<if test="telNo != null">
tel_no = #{telNo,jdbcType=INTEGER},
</if>
<if test="prodMode != null">
prod_mode = #{prodMode,jdbcType=VARCHAR},
</if>
<if test="nickname != null">
nickname = #{nickname,jdbcType=VARCHAR},
</if>
<if test="disabled != null">
disabled = #{disabled,jdbcType=VARCHAR},
</if>
<if test="location != null">
`location` = #{location,jdbcType=VARCHAR},
</if>
<if test="appId != null">
app_id = #{appId,jdbcType=INTEGER},
</if>
<if test="email != null">
email = #{email,jdbcType=VARCHAR},
</if>
<if test="object != null">
`object` = #{object,jdbcType=VARCHAR},
</if>
<if test="status != null">
`status` = #{status,jdbcType=VARCHAR},
</if>
<if test="createTime != null">
create_time = #{createTime,jdbcType=TIMESTAMP},
</if>
<if test="delFlag != null">
del_flag = #{delFlag,jdbcType=VARCHAR},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
</update>
<update id="updateByPrimaryKey" parameterType="com.jsowell.pile.domain.AdapayMemberInfo">
<!--@mbg.generated-->
update adapay_member_info
set member_id = #{memberId,jdbcType=VARCHAR},
gender = #{gender,jdbcType=VARCHAR},
`identified` = #{identified,jdbcType=VARCHAR},
tel_no = #{telNo,jdbcType=INTEGER},
prod_mode = #{prodMode,jdbcType=VARCHAR},
nickname = #{nickname,jdbcType=VARCHAR},
disabled = #{disabled,jdbcType=VARCHAR},
`location` = #{location,jdbcType=VARCHAR},
app_id = #{appId,jdbcType=INTEGER},
email = #{email,jdbcType=VARCHAR},
`object` = #{object,jdbcType=VARCHAR},
`status` = #{status,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
del_flag = #{delFlag,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>