|
|
@ -51,8 +51,9 @@ public interface HighChildOrderMapper extends HighChildOrderMapperExt { |
|
|
|
"gas_oil_no, gas_gun_no, ", |
|
|
|
"gas_oil_no, gas_gun_no, ", |
|
|
|
"gas_oil_type, gas_order_no, ", |
|
|
|
"gas_oil_type, gas_order_no, ", |
|
|
|
"gas_price_gun, gas_price_vip, ", |
|
|
|
"gas_price_gun, gas_price_vip, ", |
|
|
|
"ext_1, ext_2, ext_3, ", |
|
|
|
"gas_salesman_id, ext_1, ", |
|
|
|
"ext_4, ext_5, ext_6)", |
|
|
|
"ext_2, ext_3, ext_4, ", |
|
|
|
|
|
|
|
"ext_5, ext_6)", |
|
|
|
"values (#{orderId,jdbcType=BIGINT}, #{memId,jdbcType=BIGINT}, ", |
|
|
|
"values (#{orderId,jdbcType=BIGINT}, #{memId,jdbcType=BIGINT}, ", |
|
|
|
"#{storeId,jdbcType=BIGINT}, #{storeName,jdbcType=VARCHAR}, ", |
|
|
|
"#{storeId,jdbcType=BIGINT}, #{storeName,jdbcType=VARCHAR}, ", |
|
|
|
"#{storeAddress,jdbcType=VARCHAR}, #{goodsType,jdbcType=INTEGER}, ", |
|
|
|
"#{storeAddress,jdbcType=VARCHAR}, #{goodsType,jdbcType=INTEGER}, ", |
|
|
@ -65,8 +66,9 @@ public interface HighChildOrderMapper extends HighChildOrderMapperExt { |
|
|
|
"#{gasOilNo,jdbcType=VARCHAR}, #{gasGunNo,jdbcType=VARCHAR}, ", |
|
|
|
"#{gasOilNo,jdbcType=VARCHAR}, #{gasGunNo,jdbcType=VARCHAR}, ", |
|
|
|
"#{gasOilType,jdbcType=INTEGER}, #{gasOrderNo,jdbcType=VARCHAR}, ", |
|
|
|
"#{gasOilType,jdbcType=INTEGER}, #{gasOrderNo,jdbcType=VARCHAR}, ", |
|
|
|
"#{gasPriceGun,jdbcType=DECIMAL}, #{gasPriceVip,jdbcType=DECIMAL}, ", |
|
|
|
"#{gasPriceGun,jdbcType=DECIMAL}, #{gasPriceVip,jdbcType=DECIMAL}, ", |
|
|
|
"#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR}, ", |
|
|
|
"#{gasSalesmanId,jdbcType=BIGINT}, #{ext1,jdbcType=VARCHAR}, ", |
|
|
|
"#{ext4,jdbcType=VARCHAR}, #{ext5,jdbcType=VARCHAR}, #{ext6,jdbcType=VARCHAR})" |
|
|
|
"#{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR}, #{ext4,jdbcType=VARCHAR}, ", |
|
|
|
|
|
|
|
"#{ext5,jdbcType=VARCHAR}, #{ext6,jdbcType=VARCHAR})" |
|
|
|
}) |
|
|
|
}) |
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
int insert(HighChildOrder record); |
|
|
|
int insert(HighChildOrder record); |
|
|
@ -102,6 +104,7 @@ public interface HighChildOrderMapper extends HighChildOrderMapperExt { |
|
|
|
@Result(column="gas_order_no", property="gasOrderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="gas_order_no", property="gasOrderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="gas_price_gun", property="gasPriceGun", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="gas_price_gun", property="gasPriceGun", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="gas_price_vip", property="gasPriceVip", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="gas_price_vip", property="gasPriceVip", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
|
|
|
@Result(column="gas_salesman_id", property="gasSalesmanId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="ext_2", property="ext2", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="ext_2", property="ext2", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="ext_3", property="ext3", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="ext_3", property="ext3", jdbcType=JdbcType.VARCHAR), |
|
|
@ -116,8 +119,8 @@ public interface HighChildOrderMapper extends HighChildOrderMapperExt { |
|
|
|
"id, order_id, mem_id, store_id, store_name, store_address, goods_type, goods_id, ", |
|
|
|
"id, order_id, mem_id, store_id, store_name, store_address, goods_type, goods_id, ", |
|
|
|
"goods_name, goods_desc, goods_img, goods_spec_name, goods_price, goods_actual_price, ", |
|
|
|
"goods_name, goods_desc, goods_img, goods_spec_name, goods_price, goods_actual_price, ", |
|
|
|
"sale_count, total_price, giveaway_type, child_orde_status, praise_status, gas_oil_no, ", |
|
|
|
"sale_count, total_price, giveaway_type, child_orde_status, praise_status, gas_oil_no, ", |
|
|
|
"gas_gun_no, gas_oil_type, gas_order_no, gas_price_gun, gas_price_vip, ext_1, ", |
|
|
|
"gas_gun_no, gas_oil_type, gas_order_no, gas_price_gun, gas_price_vip, gas_salesman_id, ", |
|
|
|
"ext_2, ext_3, ext_4, ext_5, ext_6", |
|
|
|
"ext_1, ext_2, ext_3, ext_4, ext_5, ext_6", |
|
|
|
"from high_child_order", |
|
|
|
"from high_child_order", |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
}) |
|
|
|
}) |
|
|
@ -147,6 +150,7 @@ public interface HighChildOrderMapper extends HighChildOrderMapperExt { |
|
|
|
@Result(column="gas_order_no", property="gasOrderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="gas_order_no", property="gasOrderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="gas_price_gun", property="gasPriceGun", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="gas_price_gun", property="gasPriceGun", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="gas_price_vip", property="gasPriceVip", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="gas_price_vip", property="gasPriceVip", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
|
|
|
@Result(column="gas_salesman_id", property="gasSalesmanId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="ext_2", property="ext2", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="ext_2", property="ext2", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="ext_3", property="ext3", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="ext_3", property="ext3", jdbcType=JdbcType.VARCHAR), |
|
|
@ -191,6 +195,7 @@ public interface HighChildOrderMapper extends HighChildOrderMapperExt { |
|
|
|
"gas_order_no = #{gasOrderNo,jdbcType=VARCHAR},", |
|
|
|
"gas_order_no = #{gasOrderNo,jdbcType=VARCHAR},", |
|
|
|
"gas_price_gun = #{gasPriceGun,jdbcType=DECIMAL},", |
|
|
|
"gas_price_gun = #{gasPriceGun,jdbcType=DECIMAL},", |
|
|
|
"gas_price_vip = #{gasPriceVip,jdbcType=DECIMAL},", |
|
|
|
"gas_price_vip = #{gasPriceVip,jdbcType=DECIMAL},", |
|
|
|
|
|
|
|
"gas_salesman_id = #{gasSalesmanId,jdbcType=BIGINT},", |
|
|
|
"ext_1 = #{ext1,jdbcType=VARCHAR},", |
|
|
|
"ext_1 = #{ext1,jdbcType=VARCHAR},", |
|
|
|
"ext_2 = #{ext2,jdbcType=VARCHAR},", |
|
|
|
"ext_2 = #{ext2,jdbcType=VARCHAR},", |
|
|
|
"ext_3 = #{ext3,jdbcType=VARCHAR},", |
|
|
|
"ext_3 = #{ext3,jdbcType=VARCHAR},", |
|
|
|