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