|
|
@ -42,13 +42,13 @@ public interface GoodsTypeMapper extends GoodsTypeMapperExt { |
|
|
|
"insert into goods_type (parent_id, title, ", |
|
|
|
"insert into goods_type (parent_id, title, ", |
|
|
|
"business_type, img_url, ", |
|
|
|
"business_type, img_url, ", |
|
|
|
"create_time, update_time, ", |
|
|
|
"create_time, update_time, ", |
|
|
|
"`status`, sort, op_id, ", |
|
|
|
"sort, `status`, op_id, ", |
|
|
|
"op_name, ext_1, ext_2, ", |
|
|
|
"op_name, ext_1, ext_2, ", |
|
|
|
"ext_3)", |
|
|
|
"ext_3)", |
|
|
|
"values (#{parentId,jdbcType=BIGINT}, #{title,jdbcType=VARCHAR}, ", |
|
|
|
"values (#{parentId,jdbcType=BIGINT}, #{title,jdbcType=VARCHAR}, ", |
|
|
|
"#{businessType,jdbcType=INTEGER}, #{imgUrl,jdbcType=VARCHAR}, ", |
|
|
|
"#{businessType,jdbcType=INTEGER}, #{imgUrl,jdbcType=VARCHAR}, ", |
|
|
|
"#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{status,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}, #{opId,jdbcType=BIGINT}, ", |
|
|
|
"#{sort,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}, #{opId,jdbcType=BIGINT}, ", |
|
|
|
"#{opName,jdbcType=VARCHAR}, #{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, ", |
|
|
|
"#{opName,jdbcType=VARCHAR}, #{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, ", |
|
|
|
"#{ext3,jdbcType=VARCHAR})" |
|
|
|
"#{ext3,jdbcType=VARCHAR})" |
|
|
|
}) |
|
|
|
}) |
|
|
@ -68,8 +68,8 @@ public interface GoodsTypeMapper extends GoodsTypeMapperExt { |
|
|
|
@Result(column="img_url", property="imgUrl", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="img_url", property="imgUrl", 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), |
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
|
|
|
|
@Result(column="sort", property="sort", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="sort", property="sort", jdbcType=JdbcType.INTEGER), |
|
|
|
|
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="op_id", property="opId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="op_id", property="opId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="op_name", property="opName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="op_name", property="opName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), |
|
|
@ -80,8 +80,8 @@ public interface GoodsTypeMapper extends GoodsTypeMapperExt { |
|
|
|
|
|
|
|
|
|
|
|
@Select({ |
|
|
|
@Select({ |
|
|
|
"select", |
|
|
|
"select", |
|
|
|
"id, parent_id, title, business_type, img_url, create_time, update_time, `status`, ", |
|
|
|
"id, parent_id, title, business_type, img_url, create_time, update_time, sort, ", |
|
|
|
"sort, op_id, op_name, ext_1, ext_2, ext_3", |
|
|
|
"`status`, op_id, op_name, ext_1, ext_2, ext_3", |
|
|
|
"from goods_type", |
|
|
|
"from goods_type", |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
}) |
|
|
|
}) |
|
|
@ -93,8 +93,8 @@ public interface GoodsTypeMapper extends GoodsTypeMapperExt { |
|
|
|
@Result(column="img_url", property="imgUrl", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="img_url", property="imgUrl", 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), |
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
|
|
|
|
@Result(column="sort", property="sort", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="sort", property="sort", jdbcType=JdbcType.INTEGER), |
|
|
|
|
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="op_id", property="opId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="op_id", property="opId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="op_name", property="opName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="op_name", property="opName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), |
|
|
@ -120,8 +120,8 @@ public interface GoodsTypeMapper extends GoodsTypeMapperExt { |
|
|
|
"img_url = #{imgUrl,jdbcType=VARCHAR},", |
|
|
|
"img_url = #{imgUrl,jdbcType=VARCHAR},", |
|
|
|
"create_time = #{createTime,jdbcType=TIMESTAMP},", |
|
|
|
"create_time = #{createTime,jdbcType=TIMESTAMP},", |
|
|
|
"update_time = #{updateTime,jdbcType=TIMESTAMP},", |
|
|
|
"update_time = #{updateTime,jdbcType=TIMESTAMP},", |
|
|
|
"`status` = #{status,jdbcType=INTEGER},", |
|
|
|
|
|
|
|
"sort = #{sort,jdbcType=INTEGER},", |
|
|
|
"sort = #{sort,jdbcType=INTEGER},", |
|
|
|
|
|
|
|
"`status` = #{status,jdbcType=INTEGER},", |
|
|
|
"op_id = #{opId,jdbcType=BIGINT},", |
|
|
|
"op_id = #{opId,jdbcType=BIGINT},", |
|
|
|
"op_name = #{opName,jdbcType=VARCHAR},", |
|
|
|
"op_name = #{opName,jdbcType=VARCHAR},", |
|
|
|
"ext_1 = #{ext1,jdbcType=VARCHAR},", |
|
|
|
"ext_1 = #{ext1,jdbcType=VARCHAR},", |
|
|
|