|
|
|
@ -52,16 +52,17 @@ public interface HighChildOrderMapper extends HighChildOrderMapperExt { |
|
|
|
|
"gas_oil_type, gas_order_no, ", |
|
|
|
|
"gas_price_platform, gas_price_gun, ", |
|
|
|
|
"gas_price_vip, gas_price_official, ", |
|
|
|
|
"gas_oil_liters, gas_discount, ", |
|
|
|
|
"gas_oil_subsidy, gas_liters_preferences, ", |
|
|
|
|
"gas_price_preferences, gas_class_group_id, ", |
|
|
|
|
"gas_class_group_name, gas_class_group_task_id, ", |
|
|
|
|
"gas_staff_id, gas_staff_name, ", |
|
|
|
|
"gas_salesman_id, gas_salesman_name, ", |
|
|
|
|
"gas_agent_id, gas_agent_name, ", |
|
|
|
|
"gas_org_id, gas_org_name, ", |
|
|
|
|
"ext_1, ext_2, ext_3, ", |
|
|
|
|
"ext_4, ext_5, ext_6)", |
|
|
|
|
"gas_price_channel_pay, gas_oil_liters, ", |
|
|
|
|
"gas_discount, gas_oil_subsidy, ", |
|
|
|
|
"gas_liters_preferences, gas_price_preferences, ", |
|
|
|
|
"gas_class_group_id, gas_class_group_name, ", |
|
|
|
|
"gas_class_group_task_id, gas_staff_id, ", |
|
|
|
|
"gas_staff_name, gas_salesman_id, ", |
|
|
|
|
"gas_salesman_name, gas_agent_id, ", |
|
|
|
|
"gas_agent_name, gas_org_id, ", |
|
|
|
|
"gas_org_name, ext_1, ", |
|
|
|
|
"ext_2, ext_3, ext_4, ", |
|
|
|
|
"ext_5, ext_6)", |
|
|
|
|
"values (#{orderId,jdbcType=BIGINT}, #{memId,jdbcType=BIGINT}, ", |
|
|
|
|
"#{storeId,jdbcType=BIGINT}, #{storeName,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{storeAddress,jdbcType=VARCHAR}, #{goodsType,jdbcType=INTEGER}, ", |
|
|
|
@ -75,16 +76,17 @@ public interface HighChildOrderMapper extends HighChildOrderMapperExt { |
|
|
|
|
"#{gasOilType,jdbcType=INTEGER}, #{gasOrderNo,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{gasPricePlatform,jdbcType=DECIMAL}, #{gasPriceGun,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{gasPriceVip,jdbcType=DECIMAL}, #{gasPriceOfficial,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{gasOilLiters,jdbcType=DECIMAL}, #{gasDiscount,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{gasOilSubsidy,jdbcType=DECIMAL}, #{gasLitersPreferences,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{gasPricePreferences,jdbcType=DECIMAL}, #{gasClassGroupId,jdbcType=BIGINT}, ", |
|
|
|
|
"#{gasClassGroupName,jdbcType=VARCHAR}, #{gasClassGroupTaskId,jdbcType=BIGINT}, ", |
|
|
|
|
"#{gasStaffId,jdbcType=BIGINT}, #{gasStaffName,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{gasSalesmanId,jdbcType=BIGINT}, #{gasSalesmanName,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{gasAgentId,jdbcType=BIGINT}, #{gasAgentName,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{gasOrgId,jdbcType=BIGINT}, #{gasOrgName,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{ext4,jdbcType=VARCHAR}, #{ext5,jdbcType=VARCHAR}, #{ext6,jdbcType=VARCHAR})" |
|
|
|
|
"#{gasPriceChannelPay,jdbcType=DECIMAL}, #{gasOilLiters,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{gasDiscount,jdbcType=DECIMAL}, #{gasOilSubsidy,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{gasLitersPreferences,jdbcType=DECIMAL}, #{gasPricePreferences,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{gasClassGroupId,jdbcType=BIGINT}, #{gasClassGroupName,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{gasClassGroupTaskId,jdbcType=BIGINT}, #{gasStaffId,jdbcType=BIGINT}, ", |
|
|
|
|
"#{gasStaffName,jdbcType=VARCHAR}, #{gasSalesmanId,jdbcType=BIGINT}, ", |
|
|
|
|
"#{gasSalesmanName,jdbcType=VARCHAR}, #{gasAgentId,jdbcType=BIGINT}, ", |
|
|
|
|
"#{gasAgentName,jdbcType=VARCHAR}, #{gasOrgId,jdbcType=BIGINT}, ", |
|
|
|
|
"#{gasOrgName,jdbcType=VARCHAR}, #{ext1,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR}, #{ext4,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{ext5,jdbcType=VARCHAR}, #{ext6,jdbcType=VARCHAR})" |
|
|
|
|
}) |
|
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
|
int insert(HighChildOrder record); |
|
|
|
@ -122,6 +124,7 @@ public interface HighChildOrderMapper extends HighChildOrderMapperExt { |
|
|
|
|
@Result(column="gas_price_gun", property="gasPriceGun", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="gas_price_vip", property="gasPriceVip", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="gas_price_official", property="gasPriceOfficial", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="gas_price_channel_pay", property="gasPriceChannelPay", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="gas_oil_liters", property="gasOilLiters", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="gas_discount", property="gasDiscount", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="gas_oil_subsidy", property="gasOilSubsidy", jdbcType=JdbcType.DECIMAL), |
|
|
|
@ -153,11 +156,11 @@ public interface HighChildOrderMapper extends HighChildOrderMapperExt { |
|
|
|
|
"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, ", |
|
|
|
|
"gas_gun_no, gas_oil_type, gas_order_no, gas_price_platform, gas_price_gun, gas_price_vip, ", |
|
|
|
|
"gas_price_official, gas_oil_liters, gas_discount, gas_oil_subsidy, gas_liters_preferences, ", |
|
|
|
|
"gas_price_preferences, gas_class_group_id, gas_class_group_name, gas_class_group_task_id, ", |
|
|
|
|
"gas_staff_id, gas_staff_name, gas_salesman_id, gas_salesman_name, gas_agent_id, ", |
|
|
|
|
"gas_agent_name, gas_org_id, gas_org_name, ext_1, ext_2, ext_3, ext_4, ext_5, ", |
|
|
|
|
"ext_6", |
|
|
|
|
"gas_price_official, gas_price_channel_pay, gas_oil_liters, gas_discount, gas_oil_subsidy, ", |
|
|
|
|
"gas_liters_preferences, gas_price_preferences, gas_class_group_id, gas_class_group_name, ", |
|
|
|
|
"gas_class_group_task_id, gas_staff_id, gas_staff_name, gas_salesman_id, gas_salesman_name, ", |
|
|
|
|
"gas_agent_id, gas_agent_name, gas_org_id, gas_org_name, ext_1, ext_2, ext_3, ", |
|
|
|
|
"ext_4, ext_5, ext_6", |
|
|
|
|
"from high_child_order", |
|
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
|
}) |
|
|
|
@ -189,6 +192,7 @@ public interface HighChildOrderMapper extends HighChildOrderMapperExt { |
|
|
|
|
@Result(column="gas_price_gun", property="gasPriceGun", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="gas_price_vip", property="gasPriceVip", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="gas_price_official", property="gasPriceOfficial", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="gas_price_channel_pay", property="gasPriceChannelPay", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="gas_oil_liters", property="gasOilLiters", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="gas_discount", property="gasDiscount", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="gas_oil_subsidy", property="gasOilSubsidy", jdbcType=JdbcType.DECIMAL), |
|
|
|
@ -251,6 +255,7 @@ public interface HighChildOrderMapper extends HighChildOrderMapperExt { |
|
|
|
|
"gas_price_gun = #{gasPriceGun,jdbcType=DECIMAL},", |
|
|
|
|
"gas_price_vip = #{gasPriceVip,jdbcType=DECIMAL},", |
|
|
|
|
"gas_price_official = #{gasPriceOfficial,jdbcType=DECIMAL},", |
|
|
|
|
"gas_price_channel_pay = #{gasPriceChannelPay,jdbcType=DECIMAL},", |
|
|
|
|
"gas_oil_liters = #{gasOilLiters,jdbcType=DECIMAL},", |
|
|
|
|
"gas_discount = #{gasDiscount,jdbcType=DECIMAL},", |
|
|
|
|
"gas_oil_subsidy = #{gasOilSubsidy,jdbcType=DECIMAL},", |
|
|
|
|