|
|
|
@ -44,9 +44,9 @@ public interface BsMsgUserMapper extends BsMsgUserMapperExt { |
|
|
|
|
"where_check, check_time, ", |
|
|
|
|
"create_time, update_time, ", |
|
|
|
|
"ext_1, ext_2, ext_3)", |
|
|
|
|
"values (#{msgId,jdbcType=VARCHAR}, #{userId,jdbcType=BIGINT}, ", |
|
|
|
|
"values (#{msgId,jdbcType=BIGINT}, #{userId,jdbcType=BIGINT}, ", |
|
|
|
|
"#{userName,jdbcType=VARCHAR}, #{userPhone,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{whereCheck,jdbcType=BIGINT}, #{checkTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{whereCheck,jdbcType=BIT}, #{checkTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
|
}) |
|
|
|
@ -60,11 +60,11 @@ public interface BsMsgUserMapper extends BsMsgUserMapperExt { |
|
|
|
|
@SelectProvider(type=BsMsgUserSqlProvider.class, method="selectByExample") |
|
|
|
|
@Results({ |
|
|
|
|
@Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), |
|
|
|
|
@Result(column="msg_id", property="msgId", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="msg_id", property="msgId", jdbcType=JdbcType.BIGINT), |
|
|
|
|
@Result(column="user_id", property="userId", jdbcType=JdbcType.BIGINT), |
|
|
|
|
@Result(column="user_name", property="userName", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="user_phone", property="userPhone", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="where_check", property="whereCheck", jdbcType=JdbcType.BIGINT), |
|
|
|
|
@Result(column="where_check", property="whereCheck", jdbcType=JdbcType.BIT), |
|
|
|
|
@Result(column="check_time", property="checkTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@ -83,11 +83,11 @@ public interface BsMsgUserMapper extends BsMsgUserMapperExt { |
|
|
|
|
}) |
|
|
|
|
@Results({ |
|
|
|
|
@Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), |
|
|
|
|
@Result(column="msg_id", property="msgId", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="msg_id", property="msgId", jdbcType=JdbcType.BIGINT), |
|
|
|
|
@Result(column="user_id", property="userId", jdbcType=JdbcType.BIGINT), |
|
|
|
|
@Result(column="user_name", property="userName", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="user_phone", property="userPhone", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="where_check", property="whereCheck", jdbcType=JdbcType.BIGINT), |
|
|
|
|
@Result(column="where_check", property="whereCheck", jdbcType=JdbcType.BIT), |
|
|
|
|
@Result(column="check_time", property="checkTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@ -108,11 +108,11 @@ public interface BsMsgUserMapper extends BsMsgUserMapperExt { |
|
|
|
|
|
|
|
|
|
@Update({ |
|
|
|
|
"update bs_msg_user", |
|
|
|
|
"set msg_id = #{msgId,jdbcType=VARCHAR},", |
|
|
|
|
"set msg_id = #{msgId,jdbcType=BIGINT},", |
|
|
|
|
"user_id = #{userId,jdbcType=BIGINT},", |
|
|
|
|
"user_name = #{userName,jdbcType=VARCHAR},", |
|
|
|
|
"user_phone = #{userPhone,jdbcType=VARCHAR},", |
|
|
|
|
"where_check = #{whereCheck,jdbcType=BIGINT},", |
|
|
|
|
"where_check = #{whereCheck,jdbcType=BIT},", |
|
|
|
|
"check_time = #{checkTime,jdbcType=TIMESTAMP},", |
|
|
|
|
"create_time = #{createTime,jdbcType=TIMESTAMP},", |
|
|
|
|
"update_time = #{updateTime,jdbcType=TIMESTAMP},", |
|
|
|
|