|
|
@ -47,9 +47,9 @@ public interface HighChildOrderMapper extends HighChildOrderMapperExt { |
|
|
|
"total_price, giveaway_type, ", |
|
|
|
"total_price, giveaway_type, ", |
|
|
|
"child_orde_status, praise_status, ", |
|
|
|
"child_orde_status, praise_status, ", |
|
|
|
"gas_oil_no, gas_gun_no, ", |
|
|
|
"gas_oil_no, gas_gun_no, ", |
|
|
|
"gas_order_no, gas_price_gun, ", |
|
|
|
"gas_oil_type, gas_order_no, ", |
|
|
|
"gas_price_vip, ext_1, ", |
|
|
|
"gas_price_gun, gas_price_vip, ", |
|
|
|
"ext_2, ext_3)", |
|
|
|
"ext_1, ext_2, ext_3)", |
|
|
|
"values (#{orderId,jdbcType=BIGINT}, #{memId,jdbcType=BIGINT}, ", |
|
|
|
"values (#{orderId,jdbcType=BIGINT}, #{memId,jdbcType=BIGINT}, ", |
|
|
|
"#{goodsType,jdbcType=INTEGER}, #{goodsId,jdbcType=BIGINT}, ", |
|
|
|
"#{goodsType,jdbcType=INTEGER}, #{goodsId,jdbcType=BIGINT}, ", |
|
|
|
"#{goodsName,jdbcType=VARCHAR}, #{goodsImg,jdbcType=VARCHAR}, ", |
|
|
|
"#{goodsName,jdbcType=VARCHAR}, #{goodsImg,jdbcType=VARCHAR}, ", |
|
|
@ -58,9 +58,9 @@ public interface HighChildOrderMapper extends HighChildOrderMapperExt { |
|
|
|
"#{totalPrice,jdbcType=DECIMAL}, #{giveawayType,jdbcType=BIT}, ", |
|
|
|
"#{totalPrice,jdbcType=DECIMAL}, #{giveawayType,jdbcType=BIT}, ", |
|
|
|
"#{childOrdeStatus,jdbcType=INTEGER}, #{praiseStatus,jdbcType=INTEGER}, ", |
|
|
|
"#{childOrdeStatus,jdbcType=INTEGER}, #{praiseStatus,jdbcType=INTEGER}, ", |
|
|
|
"#{gasOilNo,jdbcType=VARCHAR}, #{gasGunNo,jdbcType=VARCHAR}, ", |
|
|
|
"#{gasOilNo,jdbcType=VARCHAR}, #{gasGunNo,jdbcType=VARCHAR}, ", |
|
|
|
"#{gasOrderNo,jdbcType=VARCHAR}, #{gasPriceGun,jdbcType=DECIMAL}, ", |
|
|
|
"#{gasOilType,jdbcType=INTEGER}, #{gasOrderNo,jdbcType=VARCHAR}, ", |
|
|
|
"#{gasPriceVip,jdbcType=DECIMAL}, #{ext1,jdbcType=VARCHAR}, ", |
|
|
|
"#{gasPriceGun,jdbcType=DECIMAL}, #{gasPriceVip,jdbcType=DECIMAL}, ", |
|
|
|
"#{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
"#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
}) |
|
|
|
}) |
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
int insert(HighChildOrder record); |
|
|
|
int insert(HighChildOrder record); |
|
|
@ -88,6 +88,7 @@ public interface HighChildOrderMapper extends HighChildOrderMapperExt { |
|
|
|
@Result(column="praise_status", property="praiseStatus", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="praise_status", property="praiseStatus", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="gas_oil_no", property="gasOilNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="gas_oil_no", property="gasOilNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="gas_gun_no", property="gasGunNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="gas_gun_no", property="gasGunNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="gas_oil_type", property="gasOilType", jdbcType=JdbcType.INTEGER), |
|
|
|
@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), |
|
|
@ -101,8 +102,8 @@ public interface HighChildOrderMapper extends HighChildOrderMapperExt { |
|
|
|
"select", |
|
|
|
"select", |
|
|
|
"id, order_id, mem_id, goods_type, goods_id, goods_name, goods_img, goods_spec_name, ", |
|
|
|
"id, order_id, mem_id, goods_type, goods_id, goods_name, goods_img, goods_spec_name, ", |
|
|
|
"goods_price, goods_actual_price, sale_count, total_price, giveaway_type, child_orde_status, ", |
|
|
|
"goods_price, goods_actual_price, sale_count, total_price, giveaway_type, child_orde_status, ", |
|
|
|
"praise_status, gas_oil_no, gas_gun_no, gas_order_no, gas_price_gun, gas_price_vip, ", |
|
|
|
"praise_status, gas_oil_no, gas_gun_no, gas_oil_type, gas_order_no, gas_price_gun, ", |
|
|
|
"ext_1, ext_2, ext_3", |
|
|
|
"gas_price_vip, ext_1, ext_2, ext_3", |
|
|
|
"from high_child_order", |
|
|
|
"from high_child_order", |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
}) |
|
|
|
}) |
|
|
@ -124,6 +125,7 @@ public interface HighChildOrderMapper extends HighChildOrderMapperExt { |
|
|
|
@Result(column="praise_status", property="praiseStatus", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="praise_status", property="praiseStatus", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="gas_oil_no", property="gasOilNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="gas_oil_no", property="gasOilNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="gas_gun_no", property="gasGunNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="gas_gun_no", property="gasGunNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="gas_oil_type", property="gasOilType", jdbcType=JdbcType.INTEGER), |
|
|
|
@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), |
|
|
@ -160,6 +162,7 @@ public interface HighChildOrderMapper extends HighChildOrderMapperExt { |
|
|
|
"praise_status = #{praiseStatus,jdbcType=INTEGER},", |
|
|
|
"praise_status = #{praiseStatus,jdbcType=INTEGER},", |
|
|
|
"gas_oil_no = #{gasOilNo,jdbcType=VARCHAR},", |
|
|
|
"gas_oil_no = #{gasOilNo,jdbcType=VARCHAR},", |
|
|
|
"gas_gun_no = #{gasGunNo,jdbcType=VARCHAR},", |
|
|
|
"gas_gun_no = #{gasGunNo,jdbcType=VARCHAR},", |
|
|
|
|
|
|
|
"gas_oil_type = #{gasOilType,jdbcType=INTEGER},", |
|
|
|
"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},", |
|
|
|