|
|
@ -43,6 +43,7 @@ public interface HighMerchantStoreMapper extends HighMerchantStoreMapperExt { |
|
|
|
"store_key, store_name, ", |
|
|
|
"store_key, store_name, ", |
|
|
|
"store_desc, telephone, ", |
|
|
|
"store_desc, telephone, ", |
|
|
|
"address, `status`, ", |
|
|
|
"address, `status`, ", |
|
|
|
|
|
|
|
"longitude, latitude, ", |
|
|
|
"operator_id, operator_name, ", |
|
|
|
"operator_id, operator_name, ", |
|
|
|
"update_time, create_time, ", |
|
|
|
"update_time, create_time, ", |
|
|
|
"ext_1, ext_2, ext_3)", |
|
|
|
"ext_1, ext_2, ext_3)", |
|
|
@ -50,6 +51,7 @@ public interface HighMerchantStoreMapper extends HighMerchantStoreMapperExt { |
|
|
|
"#{storeKey,jdbcType=VARCHAR}, #{storeName,jdbcType=VARCHAR}, ", |
|
|
|
"#{storeKey,jdbcType=VARCHAR}, #{storeName,jdbcType=VARCHAR}, ", |
|
|
|
"#{storeDesc,jdbcType=VARCHAR}, #{telephone,jdbcType=VARCHAR}, ", |
|
|
|
"#{storeDesc,jdbcType=VARCHAR}, #{telephone,jdbcType=VARCHAR}, ", |
|
|
|
"#{address,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, ", |
|
|
|
"#{address,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, ", |
|
|
|
|
|
|
|
"#{longitude,jdbcType=VARCHAR}, #{latitude,jdbcType=VARCHAR}, ", |
|
|
|
"#{operatorId,jdbcType=BIGINT}, #{operatorName,jdbcType=VARCHAR}, ", |
|
|
|
"#{operatorId,jdbcType=BIGINT}, #{operatorName,jdbcType=VARCHAR}, ", |
|
|
|
"#{updateTime,jdbcType=TIMESTAMP}, #{createTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{updateTime,jdbcType=TIMESTAMP}, #{createTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
"#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
@ -72,6 +74,8 @@ public interface HighMerchantStoreMapper extends HighMerchantStoreMapperExt { |
|
|
|
@Result(column="telephone", property="telephone", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="telephone", property="telephone", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="address", property="address", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="address", property="address", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
|
|
|
|
@Result(column="longitude", property="longitude", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="latitude", property="latitude", jdbcType=JdbcType.VARCHAR), |
|
|
|
@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), |
|
|
@ -85,8 +89,8 @@ public interface HighMerchantStoreMapper extends HighMerchantStoreMapperExt { |
|
|
|
@Select({ |
|
|
|
@Select({ |
|
|
|
"select", |
|
|
|
"select", |
|
|
|
"id, company_id, merchant_id, store_key, store_name, store_desc, telephone, address, ", |
|
|
|
"id, company_id, merchant_id, store_key, store_name, store_desc, telephone, address, ", |
|
|
|
"`status`, operator_id, operator_name, update_time, create_time, ext_1, ext_2, ", |
|
|
|
"`status`, longitude, latitude, operator_id, operator_name, update_time, create_time, ", |
|
|
|
"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}" |
|
|
|
}) |
|
|
|
}) |
|
|
@ -100,6 +104,8 @@ public interface HighMerchantStoreMapper extends HighMerchantStoreMapperExt { |
|
|
|
@Result(column="telephone", property="telephone", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="telephone", property="telephone", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="address", property="address", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="address", property="address", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
|
|
|
|
@Result(column="longitude", property="longitude", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="latitude", property="latitude", jdbcType=JdbcType.VARCHAR), |
|
|
|
@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), |
|
|
@ -129,6 +135,8 @@ public interface HighMerchantStoreMapper extends HighMerchantStoreMapperExt { |
|
|
|
"telephone = #{telephone,jdbcType=VARCHAR},", |
|
|
|
"telephone = #{telephone,jdbcType=VARCHAR},", |
|
|
|
"address = #{address,jdbcType=VARCHAR},", |
|
|
|
"address = #{address,jdbcType=VARCHAR},", |
|
|
|
"`status` = #{status,jdbcType=INTEGER},", |
|
|
|
"`status` = #{status,jdbcType=INTEGER},", |
|
|
|
|
|
|
|
"longitude = #{longitude,jdbcType=VARCHAR},", |
|
|
|
|
|
|
|
"latitude = #{latitude,jdbcType=VARCHAR},", |
|
|
|
"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},", |
|
|
|