|
|
@ -39,14 +39,12 @@ public interface HighUserPayPasswordMapper extends HighUserPayPasswordMapperExt |
|
|
|
int deleteByPrimaryKey(Long id); |
|
|
|
int deleteByPrimaryKey(Long id); |
|
|
|
|
|
|
|
|
|
|
|
@Insert({ |
|
|
|
@Insert({ |
|
|
|
"insert into high_user_pay_password (user_id, user_phone, ", |
|
|
|
"insert into high_user_pay_password (user_id, `password`, ", |
|
|
|
"`password`, create_time, ", |
|
|
|
"create_time, update_time, ", |
|
|
|
"update_time, ext_1, ", |
|
|
|
"ext_1, ext_2, ext_3)", |
|
|
|
"ext_2, ext_3)", |
|
|
|
"values (#{userId,jdbcType=BIGINT}, #{password,jdbcType=VARCHAR}, ", |
|
|
|
"values (#{userId,jdbcType=BIGINT}, #{userPhone,jdbcType=BIGINT}, ", |
|
|
|
"#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{password,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
"#{updateTime,jdbcType=TIMESTAMP}, #{ext1,jdbcType=VARCHAR}, ", |
|
|
|
|
|
|
|
"#{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
|
|
|
|
}) |
|
|
|
}) |
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
int insert(HighUserPayPassword record); |
|
|
|
int insert(HighUserPayPassword record); |
|
|
@ -59,7 +57,6 @@ public interface HighUserPayPasswordMapper extends HighUserPayPasswordMapperExt |
|
|
|
@Results({ |
|
|
|
@Results({ |
|
|
|
@Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), |
|
|
|
@Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), |
|
|
|
@Result(column="user_id", property="userId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="user_id", property="userId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="user_phone", property="userPhone", jdbcType=JdbcType.BIGINT), |
|
|
|
|
|
|
|
@Result(column="password", property="password", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="password", property="password", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
@ -71,15 +68,13 @@ public interface HighUserPayPasswordMapper extends HighUserPayPasswordMapperExt |
|
|
|
|
|
|
|
|
|
|
|
@Select({ |
|
|
|
@Select({ |
|
|
|
"select", |
|
|
|
"select", |
|
|
|
"id, user_id, user_phone, `password`, create_time, update_time, ext_1, ext_2, ", |
|
|
|
"id, user_id, `password`, create_time, update_time, ext_1, ext_2, ext_3", |
|
|
|
"ext_3", |
|
|
|
|
|
|
|
"from high_user_pay_password", |
|
|
|
"from high_user_pay_password", |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
}) |
|
|
|
}) |
|
|
|
@Results({ |
|
|
|
@Results({ |
|
|
|
@Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), |
|
|
|
@Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), |
|
|
|
@Result(column="user_id", property="userId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="user_id", property="userId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="user_phone", property="userPhone", jdbcType=JdbcType.BIGINT), |
|
|
|
|
|
|
|
@Result(column="password", property="password", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="password", property="password", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
@ -101,7 +96,6 @@ public interface HighUserPayPasswordMapper extends HighUserPayPasswordMapperExt |
|
|
|
@Update({ |
|
|
|
@Update({ |
|
|
|
"update high_user_pay_password", |
|
|
|
"update high_user_pay_password", |
|
|
|
"set user_id = #{userId,jdbcType=BIGINT},", |
|
|
|
"set user_id = #{userId,jdbcType=BIGINT},", |
|
|
|
"user_phone = #{userPhone,jdbcType=BIGINT},", |
|
|
|
|
|
|
|
"`password` = #{password,jdbcType=VARCHAR},", |
|
|
|
"`password` = #{password,jdbcType=VARCHAR},", |
|
|
|
"create_time = #{createTime,jdbcType=TIMESTAMP},", |
|
|
|
"create_time = #{createTime,jdbcType=TIMESTAMP},", |
|
|
|
"update_time = #{updateTime,jdbcType=TIMESTAMP},", |
|
|
|
"update_time = #{updateTime,jdbcType=TIMESTAMP},", |
|
|
|