|
|
@ -40,15 +40,15 @@ public interface GoodsJumpMapper extends GoodsJumpMapperExt { |
|
|
|
|
|
|
|
|
|
|
|
@Insert({ |
|
|
|
@Insert({ |
|
|
|
"insert into goods_jump (specs_id, btn_name, ", |
|
|
|
"insert into goods_jump (specs_id, btn_name, ", |
|
|
|
"`type`, jump_type, ", |
|
|
|
"jump_type, jump_url, ", |
|
|
|
"jump_url, appid, ", |
|
|
|
"appid, create_time, ", |
|
|
|
"create_time, update_time, ", |
|
|
|
"update_time, ext_1, ", |
|
|
|
"ext_1, ext_2, ext_3)", |
|
|
|
"ext_2, ext_3)", |
|
|
|
"values (#{specsId,jdbcType=BIGINT}, #{btnName,jdbcType=VARCHAR}, ", |
|
|
|
"values (#{specsId,jdbcType=BIGINT}, #{btnName,jdbcType=VARCHAR}, ", |
|
|
|
"#{type,jdbcType=INTEGER}, #{jumpType,jdbcType=INTEGER}, ", |
|
|
|
"#{jumpType,jdbcType=INTEGER}, #{jumpUrl,jdbcType=VARCHAR}, ", |
|
|
|
"#{jumpUrl,jdbcType=VARCHAR}, #{appid,jdbcType=VARCHAR}, ", |
|
|
|
"#{appid,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{updateTime,jdbcType=TIMESTAMP}, #{ext1,jdbcType=VARCHAR}, ", |
|
|
|
"#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
"#{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
}) |
|
|
|
}) |
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
int insert(GoodsJump record); |
|
|
|
int insert(GoodsJump record); |
|
|
@ -62,7 +62,6 @@ public interface GoodsJumpMapper extends GoodsJumpMapperExt { |
|
|
|
@Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), |
|
|
|
@Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), |
|
|
|
@Result(column="specs_id", property="specsId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="specs_id", property="specsId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="btn_name", property="btnName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="btn_name", property="btnName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="type", property="type", jdbcType=JdbcType.INTEGER), |
|
|
|
|
|
|
|
@Result(column="jump_type", property="jumpType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="jump_type", property="jumpType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="jump_url", property="jumpUrl", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="jump_url", property="jumpUrl", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="appid", property="appid", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="appid", property="appid", jdbcType=JdbcType.VARCHAR), |
|
|
@ -76,7 +75,7 @@ public interface GoodsJumpMapper extends GoodsJumpMapperExt { |
|
|
|
|
|
|
|
|
|
|
|
@Select({ |
|
|
|
@Select({ |
|
|
|
"select", |
|
|
|
"select", |
|
|
|
"id, specs_id, btn_name, `type`, jump_type, jump_url, appid, create_time, update_time, ", |
|
|
|
"id, specs_id, btn_name, jump_type, jump_url, appid, create_time, update_time, ", |
|
|
|
"ext_1, ext_2, ext_3", |
|
|
|
"ext_1, ext_2, ext_3", |
|
|
|
"from goods_jump", |
|
|
|
"from goods_jump", |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
@ -85,7 +84,6 @@ public interface GoodsJumpMapper extends GoodsJumpMapperExt { |
|
|
|
@Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), |
|
|
|
@Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), |
|
|
|
@Result(column="specs_id", property="specsId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="specs_id", property="specsId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="btn_name", property="btnName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="btn_name", property="btnName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="type", property="type", jdbcType=JdbcType.INTEGER), |
|
|
|
|
|
|
|
@Result(column="jump_type", property="jumpType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="jump_type", property="jumpType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="jump_url", property="jumpUrl", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="jump_url", property="jumpUrl", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="appid", property="appid", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="appid", property="appid", jdbcType=JdbcType.VARCHAR), |
|
|
@ -110,7 +108,6 @@ public interface GoodsJumpMapper extends GoodsJumpMapperExt { |
|
|
|
"update goods_jump", |
|
|
|
"update goods_jump", |
|
|
|
"set specs_id = #{specsId,jdbcType=BIGINT},", |
|
|
|
"set specs_id = #{specsId,jdbcType=BIGINT},", |
|
|
|
"btn_name = #{btnName,jdbcType=VARCHAR},", |
|
|
|
"btn_name = #{btnName,jdbcType=VARCHAR},", |
|
|
|
"`type` = #{type,jdbcType=INTEGER},", |
|
|
|
|
|
|
|
"jump_type = #{jumpType,jdbcType=INTEGER},", |
|
|
|
"jump_type = #{jumpType,jdbcType=INTEGER},", |
|
|
|
"jump_url = #{jumpUrl,jdbcType=VARCHAR},", |
|
|
|
"jump_url = #{jumpUrl,jdbcType=VARCHAR},", |
|
|
|
"appid = #{appid,jdbcType=VARCHAR},", |
|
|
|
"appid = #{appid,jdbcType=VARCHAR},", |
|
|
|