|
|
@ -50,9 +50,10 @@ public interface HighMerchantStoreMapper extends HighMerchantStoreMapperExt { |
|
|
|
"longitude, latitude, ", |
|
|
|
"longitude, latitude, ", |
|
|
|
"device_sn, device_key, ", |
|
|
|
"device_sn, device_key, ", |
|
|
|
"device_name, prestore_type, ", |
|
|
|
"device_name, prestore_type, ", |
|
|
|
"operator_id, operator_name, ", |
|
|
|
"industry_type, operator_id, ", |
|
|
|
"update_time, create_time, ", |
|
|
|
"operator_name, update_time, ", |
|
|
|
"ext_1, ext_2, ext_3)", |
|
|
|
"create_time, ext_1, ", |
|
|
|
|
|
|
|
"ext_2, ext_3)", |
|
|
|
"values (#{type,jdbcType=INTEGER}, #{sourceType,jdbcType=INTEGER}, ", |
|
|
|
"values (#{type,jdbcType=INTEGER}, #{sourceType,jdbcType=INTEGER}, ", |
|
|
|
"#{brandId,jdbcType=BIGINT}, #{brandName,jdbcType=VARCHAR}, ", |
|
|
|
"#{brandId,jdbcType=BIGINT}, #{brandName,jdbcType=VARCHAR}, ", |
|
|
|
"#{regionId,jdbcType=BIGINT}, #{regionName,jdbcType=VARCHAR}, ", |
|
|
|
"#{regionId,jdbcType=BIGINT}, #{regionName,jdbcType=VARCHAR}, ", |
|
|
@ -64,9 +65,10 @@ public interface HighMerchantStoreMapper extends HighMerchantStoreMapperExt { |
|
|
|
"#{longitude,jdbcType=VARCHAR}, #{latitude,jdbcType=VARCHAR}, ", |
|
|
|
"#{longitude,jdbcType=VARCHAR}, #{latitude,jdbcType=VARCHAR}, ", |
|
|
|
"#{deviceSn,jdbcType=VARCHAR}, #{deviceKey,jdbcType=VARCHAR}, ", |
|
|
|
"#{deviceSn,jdbcType=VARCHAR}, #{deviceKey,jdbcType=VARCHAR}, ", |
|
|
|
"#{deviceName,jdbcType=VARCHAR}, #{prestoreType,jdbcType=INTEGER}, ", |
|
|
|
"#{deviceName,jdbcType=VARCHAR}, #{prestoreType,jdbcType=INTEGER}, ", |
|
|
|
"#{operatorId,jdbcType=BIGINT}, #{operatorName,jdbcType=VARCHAR}, ", |
|
|
|
"#{industryType,jdbcType=INTEGER}, #{operatorId,jdbcType=BIGINT}, ", |
|
|
|
"#{updateTime,jdbcType=TIMESTAMP}, #{createTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{operatorName,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
"#{createTime,jdbcType=TIMESTAMP}, #{ext1,jdbcType=VARCHAR}, ", |
|
|
|
|
|
|
|
"#{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
}) |
|
|
|
}) |
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
int insert(HighMerchantStore record); |
|
|
|
int insert(HighMerchantStore record); |
|
|
@ -100,6 +102,7 @@ public interface HighMerchantStoreMapper extends HighMerchantStoreMapperExt { |
|
|
|
@Result(column="device_key", property="deviceKey", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="device_key", property="deviceKey", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="device_name", property="deviceName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="device_name", property="deviceName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="prestore_type", property="prestoreType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="prestore_type", property="prestoreType", jdbcType=JdbcType.INTEGER), |
|
|
|
|
|
|
|
@Result(column="industry_type", property="industryType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="operator_id", property="operatorId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="operator_id", property="operatorId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="operator_name", property="operatorName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="operator_name", property="operatorName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
@ -115,8 +118,8 @@ public interface HighMerchantStoreMapper extends HighMerchantStoreMapperExt { |
|
|
|
"id, `type`, source_type, brand_id, brand_name, region_id, region_name, company_id, ", |
|
|
|
"id, `type`, source_type, brand_id, brand_name, region_id, region_name, company_id, ", |
|
|
|
"merchant_id, store_logo, store_key, store_name, store_desc, telephone, contact_name, ", |
|
|
|
"merchant_id, store_logo, store_key, store_name, store_desc, telephone, contact_name, ", |
|
|
|
"address, `status`, longitude, latitude, device_sn, device_key, device_name, ", |
|
|
|
"address, `status`, longitude, latitude, device_sn, device_key, device_name, ", |
|
|
|
"prestore_type, operator_id, operator_name, update_time, create_time, ext_1, ", |
|
|
|
"prestore_type, industry_type, operator_id, operator_name, update_time, create_time, ", |
|
|
|
"ext_2, ext_3", |
|
|
|
"ext_1, ext_2, ext_3", |
|
|
|
"from high_merchant_store", |
|
|
|
"from high_merchant_store", |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
}) |
|
|
|
}) |
|
|
@ -144,6 +147,7 @@ public interface HighMerchantStoreMapper extends HighMerchantStoreMapperExt { |
|
|
|
@Result(column="device_key", property="deviceKey", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="device_key", property="deviceKey", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="device_name", property="deviceName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="device_name", property="deviceName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="prestore_type", property="prestoreType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="prestore_type", property="prestoreType", jdbcType=JdbcType.INTEGER), |
|
|
|
|
|
|
|
@Result(column="industry_type", property="industryType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="operator_id", property="operatorId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="operator_id", property="operatorId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="operator_name", property="operatorName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="operator_name", property="operatorName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
@ -187,6 +191,7 @@ public interface HighMerchantStoreMapper extends HighMerchantStoreMapperExt { |
|
|
|
"device_key = #{deviceKey,jdbcType=VARCHAR},", |
|
|
|
"device_key = #{deviceKey,jdbcType=VARCHAR},", |
|
|
|
"device_name = #{deviceName,jdbcType=VARCHAR},", |
|
|
|
"device_name = #{deviceName,jdbcType=VARCHAR},", |
|
|
|
"prestore_type = #{prestoreType,jdbcType=INTEGER},", |
|
|
|
"prestore_type = #{prestoreType,jdbcType=INTEGER},", |
|
|
|
|
|
|
|
"industry_type = #{industryType,jdbcType=INTEGER},", |
|
|
|
"operator_id = #{operatorId,jdbcType=BIGINT},", |
|
|
|
"operator_id = #{operatorId,jdbcType=BIGINT},", |
|
|
|
"operator_name = #{operatorName,jdbcType=VARCHAR},", |
|
|
|
"operator_name = #{operatorName,jdbcType=VARCHAR},", |
|
|
|
"update_time = #{updateTime,jdbcType=TIMESTAMP},", |
|
|
|
"update_time = #{updateTime,jdbcType=TIMESTAMP},", |
|
|
|