|
|
|
@ -54,13 +54,14 @@ public interface HighChildOrderMapper extends HighChildOrderMapperExt { |
|
|
|
|
"gas_price_vip, gas_price_official, ", |
|
|
|
|
"gas_oil_liters, gas_discount, ", |
|
|
|
|
"gas_oil_subsidy, gas_liters_preferences, ", |
|
|
|
|
"gas_price_preferences, 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_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}, ", |
|
|
|
@ -76,13 +77,14 @@ public interface HighChildOrderMapper extends HighChildOrderMapperExt { |
|
|
|
|
"#{gasPriceVip,jdbcType=DECIMAL}, #{gasPriceOfficial,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{gasOilLiters,jdbcType=DECIMAL}, #{gasDiscount,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{gasOilSubsidy,jdbcType=DECIMAL}, #{gasLitersPreferences,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{gasPricePreferences,jdbcType=DECIMAL}, #{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})" |
|
|
|
|
"#{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); |
|
|
|
@ -125,6 +127,9 @@ public interface HighChildOrderMapper extends HighChildOrderMapperExt { |
|
|
|
|
@Result(column="gas_oil_subsidy", property="gasOilSubsidy", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="gas_liters_preferences", property="gasLitersPreferences", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="gas_price_preferences", property="gasPricePreferences", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="gas_class_group_id", property="gasClassGroupId", jdbcType=JdbcType.BIGINT), |
|
|
|
|
@Result(column="gas_class_group_name", property="gasClassGroupName", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="gas_class_group_task_id", property="gasClassGroupTaskId", jdbcType=JdbcType.BIGINT), |
|
|
|
|
@Result(column="gas_staff_id", property="gasStaffId", jdbcType=JdbcType.BIGINT), |
|
|
|
|
@Result(column="gas_staff_name", property="gasStaffName", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="gas_salesman_id", property="gasSalesmanId", jdbcType=JdbcType.BIGINT), |
|
|
|
@ -149,9 +154,10 @@ public interface HighChildOrderMapper extends HighChildOrderMapperExt { |
|
|
|
|
"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_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_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}" |
|
|
|
|
}) |
|
|
|
@ -188,6 +194,9 @@ public interface HighChildOrderMapper extends HighChildOrderMapperExt { |
|
|
|
|
@Result(column="gas_oil_subsidy", property="gasOilSubsidy", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="gas_liters_preferences", property="gasLitersPreferences", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="gas_price_preferences", property="gasPricePreferences", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="gas_class_group_id", property="gasClassGroupId", jdbcType=JdbcType.BIGINT), |
|
|
|
|
@Result(column="gas_class_group_name", property="gasClassGroupName", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="gas_class_group_task_id", property="gasClassGroupTaskId", jdbcType=JdbcType.BIGINT), |
|
|
|
|
@Result(column="gas_staff_id", property="gasStaffId", jdbcType=JdbcType.BIGINT), |
|
|
|
|
@Result(column="gas_staff_name", property="gasStaffName", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="gas_salesman_id", property="gasSalesmanId", jdbcType=JdbcType.BIGINT), |
|
|
|
@ -247,6 +256,9 @@ public interface HighChildOrderMapper extends HighChildOrderMapperExt { |
|
|
|
|
"gas_oil_subsidy = #{gasOilSubsidy,jdbcType=DECIMAL},", |
|
|
|
|
"gas_liters_preferences = #{gasLitersPreferences,jdbcType=DECIMAL},", |
|
|
|
|
"gas_price_preferences = #{gasPricePreferences,jdbcType=DECIMAL},", |
|
|
|
|
"gas_class_group_id = #{gasClassGroupId,jdbcType=BIGINT},", |
|
|
|
|
"gas_class_group_name = #{gasClassGroupName,jdbcType=VARCHAR},", |
|
|
|
|
"gas_class_group_task_id = #{gasClassGroupTaskId,jdbcType=BIGINT},", |
|
|
|
|
"gas_staff_id = #{gasStaffId,jdbcType=BIGINT},", |
|
|
|
|
"gas_staff_name = #{gasStaffName,jdbcType=VARCHAR},", |
|
|
|
|
"gas_salesman_id = #{gasSalesmanId,jdbcType=BIGINT},", |
|
|
|
|