|
@ -3,7 +3,7 @@ |
|
|
<mapper namespace="com.ccsens.mt.persist.mapper.MtSigninOtherMapper"> |
|
|
<mapper namespace="com.ccsens.mt.persist.mapper.MtSigninOtherMapper"> |
|
|
<resultMap id="BaseResultMap" type="com.ccsens.mt.bean.po.MtSigninOther"> |
|
|
<resultMap id="BaseResultMap" type="com.ccsens.mt.bean.po.MtSigninOther"> |
|
|
<id column="id" jdbcType="BIGINT" property="id" /> |
|
|
<id column="id" jdbcType="BIGINT" property="id" /> |
|
|
<result column="user_id" jdbcType="BIGINT" property="userId" /> |
|
|
<result column="signin_basic_id" jdbcType="BIGINT" property="signinBasicId" /> |
|
|
<result column="key" jdbcType="VARCHAR" property="key" /> |
|
|
<result column="key" jdbcType="VARCHAR" property="key" /> |
|
|
<result column="value" jdbcType="VARCHAR" property="value" /> |
|
|
<result column="value" jdbcType="VARCHAR" property="value" /> |
|
|
<result column="created_at" jdbcType="TIMESTAMP" property="createdAt" /> |
|
|
<result column="created_at" jdbcType="TIMESTAMP" property="createdAt" /> |
|
@ -69,7 +69,7 @@ |
|
|
</where> |
|
|
</where> |
|
|
</sql> |
|
|
</sql> |
|
|
<sql id="Base_Column_List"> |
|
|
<sql id="Base_Column_List"> |
|
|
id, user_id, key, value, created_at, updated_at, rec_status |
|
|
id, signin_basic_id, key, value, created_at, updated_at, rec_status |
|
|
</sql> |
|
|
</sql> |
|
|
<select id="selectByExample" parameterType="com.ccsens.mt.bean.po.MtSigninOtherExample" resultMap="BaseResultMap"> |
|
|
<select id="selectByExample" parameterType="com.ccsens.mt.bean.po.MtSigninOtherExample" resultMap="BaseResultMap"> |
|
|
select |
|
|
select |
|
@ -102,10 +102,10 @@ |
|
|
</if> |
|
|
</if> |
|
|
</delete> |
|
|
</delete> |
|
|
<insert id="insert" parameterType="com.ccsens.mt.bean.po.MtSigninOther"> |
|
|
<insert id="insert" parameterType="com.ccsens.mt.bean.po.MtSigninOther"> |
|
|
insert into t_mt_signin_other (id, user_id, key, |
|
|
insert into t_mt_signin_other (id, signin_basic_id, key, |
|
|
value, created_at, updated_at, |
|
|
value, created_at, updated_at, |
|
|
rec_status) |
|
|
rec_status) |
|
|
values (#{id,jdbcType=BIGINT}, #{userId,jdbcType=BIGINT}, #{key,jdbcType=VARCHAR}, |
|
|
values (#{id,jdbcType=BIGINT}, #{signinBasicId,jdbcType=BIGINT}, #{key,jdbcType=VARCHAR}, |
|
|
#{value,jdbcType=VARCHAR}, #{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP}, |
|
|
#{value,jdbcType=VARCHAR}, #{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP}, |
|
|
#{recStatus,jdbcType=TINYINT}) |
|
|
#{recStatus,jdbcType=TINYINT}) |
|
|
</insert> |
|
|
</insert> |
|
@ -115,8 +115,8 @@ |
|
|
<if test="id != null"> |
|
|
<if test="id != null"> |
|
|
id, |
|
|
id, |
|
|
</if> |
|
|
</if> |
|
|
<if test="userId != null"> |
|
|
<if test="signinBasicId != null"> |
|
|
user_id, |
|
|
signin_basic_id, |
|
|
</if> |
|
|
</if> |
|
|
<if test="key != null"> |
|
|
<if test="key != null"> |
|
|
key, |
|
|
key, |
|
@ -138,8 +138,8 @@ |
|
|
<if test="id != null"> |
|
|
<if test="id != null"> |
|
|
#{id,jdbcType=BIGINT}, |
|
|
#{id,jdbcType=BIGINT}, |
|
|
</if> |
|
|
</if> |
|
|
<if test="userId != null"> |
|
|
<if test="signinBasicId != null"> |
|
|
#{userId,jdbcType=BIGINT}, |
|
|
#{signinBasicId,jdbcType=BIGINT}, |
|
|
</if> |
|
|
</if> |
|
|
<if test="key != null"> |
|
|
<if test="key != null"> |
|
|
#{key,jdbcType=VARCHAR}, |
|
|
#{key,jdbcType=VARCHAR}, |
|
@ -170,8 +170,8 @@ |
|
|
<if test="record.id != null"> |
|
|
<if test="record.id != null"> |
|
|
id = #{record.id,jdbcType=BIGINT}, |
|
|
id = #{record.id,jdbcType=BIGINT}, |
|
|
</if> |
|
|
</if> |
|
|
<if test="record.userId != null"> |
|
|
<if test="record.signinBasicId != null"> |
|
|
user_id = #{record.userId,jdbcType=BIGINT}, |
|
|
signin_basic_id = #{record.signinBasicId,jdbcType=BIGINT}, |
|
|
</if> |
|
|
</if> |
|
|
<if test="record.key != null"> |
|
|
<if test="record.key != null"> |
|
|
key = #{record.key,jdbcType=VARCHAR}, |
|
|
key = #{record.key,jdbcType=VARCHAR}, |
|
@ -196,7 +196,7 @@ |
|
|
<update id="updateByExample" parameterType="map"> |
|
|
<update id="updateByExample" parameterType="map"> |
|
|
update t_mt_signin_other |
|
|
update t_mt_signin_other |
|
|
set id = #{record.id,jdbcType=BIGINT}, |
|
|
set id = #{record.id,jdbcType=BIGINT}, |
|
|
user_id = #{record.userId,jdbcType=BIGINT}, |
|
|
signin_basic_id = #{record.signinBasicId,jdbcType=BIGINT}, |
|
|
key = #{record.key,jdbcType=VARCHAR}, |
|
|
key = #{record.key,jdbcType=VARCHAR}, |
|
|
value = #{record.value,jdbcType=VARCHAR}, |
|
|
value = #{record.value,jdbcType=VARCHAR}, |
|
|
created_at = #{record.createdAt,jdbcType=TIMESTAMP}, |
|
|
created_at = #{record.createdAt,jdbcType=TIMESTAMP}, |
|
@ -209,8 +209,8 @@ |
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.ccsens.mt.bean.po.MtSigninOther"> |
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.ccsens.mt.bean.po.MtSigninOther"> |
|
|
update t_mt_signin_other |
|
|
update t_mt_signin_other |
|
|
<set> |
|
|
<set> |
|
|
<if test="userId != null"> |
|
|
<if test="signinBasicId != null"> |
|
|
user_id = #{userId,jdbcType=BIGINT}, |
|
|
signin_basic_id = #{signinBasicId,jdbcType=BIGINT}, |
|
|
</if> |
|
|
</if> |
|
|
<if test="key != null"> |
|
|
<if test="key != null"> |
|
|
key = #{key,jdbcType=VARCHAR}, |
|
|
key = #{key,jdbcType=VARCHAR}, |
|
@ -232,7 +232,7 @@ |
|
|
</update> |
|
|
</update> |
|
|
<update id="updateByPrimaryKey" parameterType="com.ccsens.mt.bean.po.MtSigninOther"> |
|
|
<update id="updateByPrimaryKey" parameterType="com.ccsens.mt.bean.po.MtSigninOther"> |
|
|
update t_mt_signin_other |
|
|
update t_mt_signin_other |
|
|
set user_id = #{userId,jdbcType=BIGINT}, |
|
|
set signin_basic_id = #{signinBasicId,jdbcType=BIGINT}, |
|
|
key = #{key,jdbcType=VARCHAR}, |
|
|
key = #{key,jdbcType=VARCHAR}, |
|
|
value = #{value,jdbcType=VARCHAR}, |
|
|
value = #{value,jdbcType=VARCHAR}, |
|
|
created_at = #{createdAt,jdbcType=TIMESTAMP}, |
|
|
created_at = #{createdAt,jdbcType=TIMESTAMP}, |
|
|