|
|
|
@ -47,8 +47,8 @@ public interface GoodsUserAddressMapper extends GoodsUserAddressMapperExt { |
|
|
|
|
"town_id, town_name, ", |
|
|
|
|
"region_name, whether_default, ", |
|
|
|
|
"create_time, update_time, ", |
|
|
|
|
"op_id, op_name, ext_1, ", |
|
|
|
|
"ext_2, ext_3)", |
|
|
|
|
"op_id, `status`, op_name, ", |
|
|
|
|
"ext_1, ext_2, ext_3)", |
|
|
|
|
"values (#{userId,jdbcType=BIGINT}, #{consignee,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{phone,jdbcType=VARCHAR}, #{address,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{provinceId,jdbcType=BIGINT}, #{provinceName,jdbcType=VARCHAR}, ", |
|
|
|
@ -57,8 +57,8 @@ public interface GoodsUserAddressMapper extends GoodsUserAddressMapperExt { |
|
|
|
|
"#{townId,jdbcType=BIGINT}, #{townName,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{regionName,jdbcType=VARCHAR}, #{whetherDefault,jdbcType=BIT}, ", |
|
|
|
|
"#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{opId,jdbcType=BIGINT}, #{opName,jdbcType=VARCHAR}, #{ext1,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
|
"#{opId,jdbcType=BIGINT}, #{status,jdbcType=INTEGER}, #{opName,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
|
}) |
|
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
|
int insert(GoodsUserAddress record); |
|
|
|
@ -87,6 +87,7 @@ public interface GoodsUserAddressMapper extends GoodsUserAddressMapperExt { |
|
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="op_id", property="opId", jdbcType=JdbcType.BIGINT), |
|
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="op_name", property="opName", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="ext_2", property="ext2", jdbcType=JdbcType.VARCHAR), |
|
|
|
@ -98,7 +99,7 @@ public interface GoodsUserAddressMapper extends GoodsUserAddressMapperExt { |
|
|
|
|
"select", |
|
|
|
|
"id, user_id, consignee, phone, address, province_id, province_name, city_id, ", |
|
|
|
|
"city_name, county_id, county_name, town_id, town_name, region_name, whether_default, ", |
|
|
|
|
"create_time, update_time, op_id, op_name, ext_1, ext_2, ext_3", |
|
|
|
|
"create_time, update_time, op_id, `status`, op_name, ext_1, ext_2, ext_3", |
|
|
|
|
"from goods_user_address", |
|
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
|
}) |
|
|
|
@ -121,6 +122,7 @@ public interface GoodsUserAddressMapper extends GoodsUserAddressMapperExt { |
|
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="op_id", property="opId", jdbcType=JdbcType.BIGINT), |
|
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="op_name", property="opName", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="ext_2", property="ext2", jdbcType=JdbcType.VARCHAR), |
|
|
|
@ -156,6 +158,7 @@ public interface GoodsUserAddressMapper extends GoodsUserAddressMapperExt { |
|
|
|
|
"create_time = #{createTime,jdbcType=TIMESTAMP},", |
|
|
|
|
"update_time = #{updateTime,jdbcType=TIMESTAMP},", |
|
|
|
|
"op_id = #{opId,jdbcType=BIGINT},", |
|
|
|
|
"`status` = #{status,jdbcType=INTEGER},", |
|
|
|
|
"op_name = #{opName,jdbcType=VARCHAR},", |
|
|
|
|
"ext_1 = #{ext1,jdbcType=VARCHAR},", |
|
|
|
|
"ext_2 = #{ext2,jdbcType=VARCHAR},", |
|
|
|
|