|
|
@ -48,9 +48,10 @@ public interface BsOrderStarbucksMapper extends BsOrderStarbucksMapperExt { |
|
|
|
"child_order_no, mer_id, ", |
|
|
|
"child_order_no, mer_id, ", |
|
|
|
"user_id, user_phone, ", |
|
|
|
"user_id, user_phone, ", |
|
|
|
"price, store_address, ", |
|
|
|
"price, store_address, ", |
|
|
|
"store_name, `status`, ", |
|
|
|
"store_name, pay_type, ", |
|
|
|
"create_time, update_time, ", |
|
|
|
"`status`, create_time, ", |
|
|
|
"ext_1, ext_2, ext_3)", |
|
|
|
"update_time, ext_1, ", |
|
|
|
|
|
|
|
"ext_2, ext_3)", |
|
|
|
"values (#{storeCode,jdbcType=VARCHAR}, #{platformUniqueId,jdbcType=VARCHAR}, ", |
|
|
|
"values (#{storeCode,jdbcType=VARCHAR}, #{platformUniqueId,jdbcType=VARCHAR}, ", |
|
|
|
"#{productId,jdbcType=INTEGER}, #{cupSize,jdbcType=VARCHAR}, ", |
|
|
|
"#{productId,jdbcType=INTEGER}, #{cupSize,jdbcType=VARCHAR}, ", |
|
|
|
"#{temperature,jdbcType=VARCHAR}, #{cream,jdbcType=VARCHAR}, ", |
|
|
|
"#{temperature,jdbcType=VARCHAR}, #{cream,jdbcType=VARCHAR}, ", |
|
|
@ -60,9 +61,10 @@ public interface BsOrderStarbucksMapper extends BsOrderStarbucksMapperExt { |
|
|
|
"#{childOrderNo,jdbcType=VARCHAR}, #{merId,jdbcType=BIGINT}, ", |
|
|
|
"#{childOrderNo,jdbcType=VARCHAR}, #{merId,jdbcType=BIGINT}, ", |
|
|
|
"#{userId,jdbcType=BIGINT}, #{userPhone,jdbcType=VARCHAR}, ", |
|
|
|
"#{userId,jdbcType=BIGINT}, #{userPhone,jdbcType=VARCHAR}, ", |
|
|
|
"#{price,jdbcType=DECIMAL}, #{storeAddress,jdbcType=VARCHAR}, ", |
|
|
|
"#{price,jdbcType=DECIMAL}, #{storeAddress,jdbcType=VARCHAR}, ", |
|
|
|
"#{storeName,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, ", |
|
|
|
"#{storeName,jdbcType=VARCHAR}, #{payType,jdbcType=INTEGER}, ", |
|
|
|
"#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
"#{updateTime,jdbcType=TIMESTAMP}, #{ext1,jdbcType=VARCHAR}, ", |
|
|
|
|
|
|
|
"#{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
}) |
|
|
|
}) |
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
int insert(BsOrderStarbucks record); |
|
|
|
int insert(BsOrderStarbucks record); |
|
|
@ -94,6 +96,7 @@ public interface BsOrderStarbucksMapper extends BsOrderStarbucksMapperExt { |
|
|
|
@Result(column="price", property="price", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="price", property="price", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="store_address", property="storeAddress", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="store_address", property="storeAddress", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="store_name", property="storeName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="store_name", property="storeName", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="pay_type", property="payType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
@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), |
|
|
@ -107,7 +110,7 @@ public interface BsOrderStarbucksMapper extends BsOrderStarbucksMapperExt { |
|
|
|
"select", |
|
|
|
"select", |
|
|
|
"id, store_code, platform_unique_id, product_id, cup_size, temperature, cream, ", |
|
|
|
"id, store_code, platform_unique_id, product_id, cup_size, temperature, cream, ", |
|
|
|
"espresso, milk, milk_bubble, num, img, `name`, order_no, child_order_no, mer_id, ", |
|
|
|
"espresso, milk, milk_bubble, num, img, `name`, order_no, child_order_no, mer_id, ", |
|
|
|
"user_id, user_phone, price, store_address, store_name, `status`, create_time, ", |
|
|
|
"user_id, user_phone, price, store_address, store_name, pay_type, `status`, create_time, ", |
|
|
|
"update_time, ext_1, ext_2, ext_3", |
|
|
|
"update_time, ext_1, ext_2, ext_3", |
|
|
|
"from bs_order_starbucks", |
|
|
|
"from bs_order_starbucks", |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
@ -134,6 +137,7 @@ public interface BsOrderStarbucksMapper extends BsOrderStarbucksMapperExt { |
|
|
|
@Result(column="price", property="price", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="price", property="price", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="store_address", property="storeAddress", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="store_address", property="storeAddress", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="store_name", property="storeName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="store_name", property="storeName", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="pay_type", property="payType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
@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), |
|
|
@ -174,6 +178,7 @@ public interface BsOrderStarbucksMapper extends BsOrderStarbucksMapperExt { |
|
|
|
"price = #{price,jdbcType=DECIMAL},", |
|
|
|
"price = #{price,jdbcType=DECIMAL},", |
|
|
|
"store_address = #{storeAddress,jdbcType=VARCHAR},", |
|
|
|
"store_address = #{storeAddress,jdbcType=VARCHAR},", |
|
|
|
"store_name = #{storeName,jdbcType=VARCHAR},", |
|
|
|
"store_name = #{storeName,jdbcType=VARCHAR},", |
|
|
|
|
|
|
|
"pay_type = #{payType,jdbcType=INTEGER},", |
|
|
|
"`status` = #{status,jdbcType=INTEGER},", |
|
|
|
"`status` = #{status,jdbcType=INTEGER},", |
|
|
|
"create_time = #{createTime,jdbcType=TIMESTAMP},", |
|
|
|
"create_time = #{createTime,jdbcType=TIMESTAMP},", |
|
|
|
"update_time = #{updateTime,jdbcType=TIMESTAMP},", |
|
|
|
"update_time = #{updateTime,jdbcType=TIMESTAMP},", |
|
|
|