|
|
@ -44,55 +44,57 @@ public interface HighGasOrderMapper extends HighGasOrderMapperExt { |
|
|
|
"mem_id, mem_phone, ", |
|
|
|
"mem_id, mem_phone, ", |
|
|
|
"company_id, company_name, ", |
|
|
|
"company_id, company_name, ", |
|
|
|
"mer_id, mer_name, store_id, ", |
|
|
|
"mer_id, mer_name, store_id, ", |
|
|
|
"store_name, deduction_price, ", |
|
|
|
"store_name, store_address, ", |
|
|
|
"payable_price, pay_gold, ", |
|
|
|
"total_deduction_price, deduction_coupon_price, ", |
|
|
|
"pay_price, gas_refuel_price, ", |
|
|
|
"deduction_product_price, payable_price, ", |
|
|
|
"gas_oil_no, gas_gun_no, ", |
|
|
|
"pay_gold, pay_price, ", |
|
|
|
"gas_oil_type, gas_price_platform, ", |
|
|
|
"gas_refuel_price, gas_oil_no, ", |
|
|
|
"gas_price_gun, gas_price_vip, ", |
|
|
|
"gas_gun_no, gas_oil_type, ", |
|
|
|
"gas_price_official, gas_price_cost, ", |
|
|
|
"gas_price_platform, gas_price_gun, ", |
|
|
|
"gas_price_cost_total, gas_price_channel_pay, ", |
|
|
|
"gas_price_vip, gas_price_official, ", |
|
|
|
"gas_oil_liters, gas_discount, ", |
|
|
|
"gas_price_cost, gas_price_cost_total, ", |
|
|
|
"gas_oil_subsidy, gas_liters_preferences, ", |
|
|
|
"gas_price_channel_pay, gas_oil_liters, ", |
|
|
|
"gas_price_preferences, gas_class_group_id, ", |
|
|
|
"gas_discount, gas_oil_subsidy, ", |
|
|
|
"gas_class_group_name, gas_class_group_task_id, ", |
|
|
|
"gas_liters_preferences, gas_price_preferences, ", |
|
|
|
"gas_staff_id, gas_staff_name, ", |
|
|
|
"gas_class_group_id, gas_class_group_name, ", |
|
|
|
"gas_salesman_id, gas_salesman_name, ", |
|
|
|
"gas_class_group_task_id, gas_staff_id, ", |
|
|
|
"gas_agent_id, gas_agent_name, ", |
|
|
|
"gas_staff_name, gas_salesman_id, ", |
|
|
|
"gas_org_id, gas_org_name, ", |
|
|
|
"gas_salesman_name, gas_agent_id, ", |
|
|
|
"pay_type, `status`, ", |
|
|
|
"gas_agent_name, gas_org_id, ", |
|
|
|
"create_time, cancel_time, ", |
|
|
|
"gas_org_name, pay_type, ", |
|
|
|
"pay_time, refund_time, ", |
|
|
|
"`status`, create_time, ", |
|
|
|
"refund_remarks, ext_1, ", |
|
|
|
"cancel_time, pay_time, ", |
|
|
|
"ext_2, ext_3, ext_4, ", |
|
|
|
"refund_time, refund_remarks, ", |
|
|
|
"ext_5, ext_6)", |
|
|
|
"ext_1, ext_2, ext_3, ", |
|
|
|
|
|
|
|
"ext_4, ext_5, ext_6)", |
|
|
|
"values (#{orderNo,jdbcType=VARCHAR}, #{childOrderNo,jdbcType=VARCHAR}, ", |
|
|
|
"values (#{orderNo,jdbcType=VARCHAR}, #{childOrderNo,jdbcType=VARCHAR}, ", |
|
|
|
"#{channelType,jdbcType=INTEGER}, #{channelOrderNo,jdbcType=VARCHAR}, ", |
|
|
|
"#{channelType,jdbcType=INTEGER}, #{channelOrderNo,jdbcType=VARCHAR}, ", |
|
|
|
"#{memId,jdbcType=BIGINT}, #{memPhone,jdbcType=VARCHAR}, ", |
|
|
|
"#{memId,jdbcType=BIGINT}, #{memPhone,jdbcType=VARCHAR}, ", |
|
|
|
"#{companyId,jdbcType=BIGINT}, #{companyName,jdbcType=VARCHAR}, ", |
|
|
|
"#{companyId,jdbcType=BIGINT}, #{companyName,jdbcType=VARCHAR}, ", |
|
|
|
"#{merId,jdbcType=BIGINT}, #{merName,jdbcType=VARCHAR}, #{storeId,jdbcType=BIGINT}, ", |
|
|
|
"#{merId,jdbcType=BIGINT}, #{merName,jdbcType=VARCHAR}, #{storeId,jdbcType=BIGINT}, ", |
|
|
|
"#{storeName,jdbcType=VARCHAR}, #{deductionPrice,jdbcType=DECIMAL}, ", |
|
|
|
"#{storeName,jdbcType=VARCHAR}, #{storeAddress,jdbcType=VARCHAR}, ", |
|
|
|
"#{payablePrice,jdbcType=DECIMAL}, #{payGold,jdbcType=INTEGER}, ", |
|
|
|
"#{totalDeductionPrice,jdbcType=DECIMAL}, #{deductionCouponPrice,jdbcType=DECIMAL}, ", |
|
|
|
"#{payPrice,jdbcType=DECIMAL}, #{gasRefuelPrice,jdbcType=DECIMAL}, ", |
|
|
|
"#{deductionProductPrice,jdbcType=DECIMAL}, #{payablePrice,jdbcType=DECIMAL}, ", |
|
|
|
"#{gasOilNo,jdbcType=VARCHAR}, #{gasGunNo,jdbcType=VARCHAR}, ", |
|
|
|
"#{payGold,jdbcType=INTEGER}, #{payPrice,jdbcType=DECIMAL}, ", |
|
|
|
"#{gasOilType,jdbcType=INTEGER}, #{gasPricePlatform,jdbcType=DECIMAL}, ", |
|
|
|
"#{gasRefuelPrice,jdbcType=DECIMAL}, #{gasOilNo,jdbcType=VARCHAR}, ", |
|
|
|
"#{gasPriceGun,jdbcType=DECIMAL}, #{gasPriceVip,jdbcType=DECIMAL}, ", |
|
|
|
"#{gasGunNo,jdbcType=VARCHAR}, #{gasOilType,jdbcType=INTEGER}, ", |
|
|
|
"#{gasPriceOfficial,jdbcType=DECIMAL}, #{gasPriceCost,jdbcType=DECIMAL}, ", |
|
|
|
"#{gasPricePlatform,jdbcType=DECIMAL}, #{gasPriceGun,jdbcType=DECIMAL}, ", |
|
|
|
"#{gasPriceCostTotal,jdbcType=DECIMAL}, #{gasPriceChannelPay,jdbcType=DECIMAL}, ", |
|
|
|
"#{gasPriceVip,jdbcType=DECIMAL}, #{gasPriceOfficial,jdbcType=DECIMAL}, ", |
|
|
|
"#{gasOilLiters,jdbcType=DECIMAL}, #{gasDiscount,jdbcType=DECIMAL}, ", |
|
|
|
"#{gasPriceCost,jdbcType=DECIMAL}, #{gasPriceCostTotal,jdbcType=DECIMAL}, ", |
|
|
|
"#{gasOilSubsidy,jdbcType=DECIMAL}, #{gasLitersPreferences,jdbcType=DECIMAL}, ", |
|
|
|
"#{gasPriceChannelPay,jdbcType=DECIMAL}, #{gasOilLiters,jdbcType=DECIMAL}, ", |
|
|
|
"#{gasPricePreferences,jdbcType=DECIMAL}, #{gasClassGroupId,jdbcType=BIGINT}, ", |
|
|
|
"#{gasDiscount,jdbcType=DECIMAL}, #{gasOilSubsidy,jdbcType=DECIMAL}, ", |
|
|
|
"#{gasClassGroupName,jdbcType=VARCHAR}, #{gasClassGroupTaskId,jdbcType=BIGINT}, ", |
|
|
|
"#{gasLitersPreferences,jdbcType=DECIMAL}, #{gasPricePreferences,jdbcType=DECIMAL}, ", |
|
|
|
"#{gasStaffId,jdbcType=BIGINT}, #{gasStaffName,jdbcType=VARCHAR}, ", |
|
|
|
"#{gasClassGroupId,jdbcType=BIGINT}, #{gasClassGroupName,jdbcType=VARCHAR}, ", |
|
|
|
"#{gasSalesmanId,jdbcType=BIGINT}, #{gasSalesmanName,jdbcType=VARCHAR}, ", |
|
|
|
"#{gasClassGroupTaskId,jdbcType=BIGINT}, #{gasStaffId,jdbcType=BIGINT}, ", |
|
|
|
"#{gasAgentId,jdbcType=BIGINT}, #{gasAgentName,jdbcType=VARCHAR}, ", |
|
|
|
"#{gasStaffName,jdbcType=VARCHAR}, #{gasSalesmanId,jdbcType=BIGINT}, ", |
|
|
|
"#{gasOrgId,jdbcType=BIGINT}, #{gasOrgName,jdbcType=VARCHAR}, ", |
|
|
|
"#{gasSalesmanName,jdbcType=VARCHAR}, #{gasAgentId,jdbcType=BIGINT}, ", |
|
|
|
"#{payType,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}, ", |
|
|
|
"#{gasAgentName,jdbcType=VARCHAR}, #{gasOrgId,jdbcType=BIGINT}, ", |
|
|
|
"#{createTime,jdbcType=TIMESTAMP}, #{cancelTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{gasOrgName,jdbcType=VARCHAR}, #{payType,jdbcType=INTEGER}, ", |
|
|
|
"#{payTime,jdbcType=TIMESTAMP}, #{refundTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{refundRemarks,jdbcType=VARCHAR}, #{ext1,jdbcType=VARCHAR}, ", |
|
|
|
"#{cancelTime,jdbcType=TIMESTAMP}, #{payTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR}, #{ext4,jdbcType=VARCHAR}, ", |
|
|
|
"#{refundTime,jdbcType=TIMESTAMP}, #{refundRemarks,jdbcType=VARCHAR}, ", |
|
|
|
"#{ext5,jdbcType=VARCHAR}, #{ext6,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") |
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
int insert(HighGasOrder record); |
|
|
|
int insert(HighGasOrder record); |
|
|
@ -116,7 +118,10 @@ public interface HighGasOrderMapper extends HighGasOrderMapperExt { |
|
|
|
@Result(column="mer_name", property="merName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="mer_name", property="merName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="store_id", property="storeId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="store_id", property="storeId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="store_name", property="storeName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="store_name", property="storeName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="deduction_price", property="deductionPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="store_address", property="storeAddress", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="total_deduction_price", property="totalDeductionPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
|
|
|
@Result(column="deduction_coupon_price", property="deductionCouponPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
|
|
|
@Result(column="deduction_product_price", property="deductionProductPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="payable_price", property="payablePrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="payable_price", property="payablePrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="pay_gold", property="payGold", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="pay_gold", property="payGold", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="pay_price", property="payPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="pay_price", property="payPrice", jdbcType=JdbcType.DECIMAL), |
|
|
@ -166,15 +171,16 @@ public interface HighGasOrderMapper extends HighGasOrderMapperExt { |
|
|
|
@Select({ |
|
|
|
@Select({ |
|
|
|
"select", |
|
|
|
"select", |
|
|
|
"id, order_no, child_order_no, channel_type, channel_order_no, mem_id, mem_phone, ", |
|
|
|
"id, order_no, child_order_no, channel_type, channel_order_no, mem_id, mem_phone, ", |
|
|
|
"company_id, company_name, mer_id, mer_name, store_id, store_name, deduction_price, ", |
|
|
|
"company_id, company_name, mer_id, mer_name, store_id, store_name, store_address, ", |
|
|
|
"payable_price, pay_gold, pay_price, gas_refuel_price, gas_oil_no, gas_gun_no, ", |
|
|
|
"total_deduction_price, deduction_coupon_price, deduction_product_price, payable_price, ", |
|
|
|
"gas_oil_type, gas_price_platform, gas_price_gun, gas_price_vip, gas_price_official, ", |
|
|
|
"pay_gold, pay_price, gas_refuel_price, gas_oil_no, gas_gun_no, gas_oil_type, ", |
|
|
|
"gas_price_cost, gas_price_cost_total, gas_price_channel_pay, gas_oil_liters, ", |
|
|
|
"gas_price_platform, gas_price_gun, gas_price_vip, gas_price_official, gas_price_cost, ", |
|
|
|
"gas_discount, gas_oil_subsidy, gas_liters_preferences, gas_price_preferences, ", |
|
|
|
"gas_price_cost_total, gas_price_channel_pay, gas_oil_liters, gas_discount, gas_oil_subsidy, ", |
|
|
|
"gas_class_group_id, gas_class_group_name, gas_class_group_task_id, gas_staff_id, ", |
|
|
|
"gas_liters_preferences, gas_price_preferences, gas_class_group_id, gas_class_group_name, ", |
|
|
|
"gas_staff_name, gas_salesman_id, gas_salesman_name, gas_agent_id, gas_agent_name, ", |
|
|
|
"gas_class_group_task_id, gas_staff_id, gas_staff_name, gas_salesman_id, gas_salesman_name, ", |
|
|
|
"gas_org_id, gas_org_name, pay_type, `status`, create_time, cancel_time, pay_time, ", |
|
|
|
"gas_agent_id, gas_agent_name, gas_org_id, gas_org_name, pay_type, `status`, ", |
|
|
|
"refund_time, refund_remarks, ext_1, ext_2, ext_3, ext_4, ext_5, ext_6", |
|
|
|
"create_time, cancel_time, pay_time, refund_time, refund_remarks, ext_1, ext_2, ", |
|
|
|
|
|
|
|
"ext_3, ext_4, ext_5, ext_6", |
|
|
|
"from high_gas_order", |
|
|
|
"from high_gas_order", |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
}) |
|
|
|
}) |
|
|
@ -192,7 +198,10 @@ public interface HighGasOrderMapper extends HighGasOrderMapperExt { |
|
|
|
@Result(column="mer_name", property="merName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="mer_name", property="merName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="store_id", property="storeId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="store_id", property="storeId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="store_name", property="storeName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="store_name", property="storeName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="deduction_price", property="deductionPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="store_address", property="storeAddress", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="total_deduction_price", property="totalDeductionPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
|
|
|
@Result(column="deduction_coupon_price", property="deductionCouponPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
|
|
|
@Result(column="deduction_product_price", property="deductionProductPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="payable_price", property="payablePrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="payable_price", property="payablePrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="pay_gold", property="payGold", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="pay_gold", property="payGold", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="pay_price", property="payPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="pay_price", property="payPrice", jdbcType=JdbcType.DECIMAL), |
|
|
@ -262,7 +271,10 @@ public interface HighGasOrderMapper extends HighGasOrderMapperExt { |
|
|
|
"mer_name = #{merName,jdbcType=VARCHAR},", |
|
|
|
"mer_name = #{merName,jdbcType=VARCHAR},", |
|
|
|
"store_id = #{storeId,jdbcType=BIGINT},", |
|
|
|
"store_id = #{storeId,jdbcType=BIGINT},", |
|
|
|
"store_name = #{storeName,jdbcType=VARCHAR},", |
|
|
|
"store_name = #{storeName,jdbcType=VARCHAR},", |
|
|
|
"deduction_price = #{deductionPrice,jdbcType=DECIMAL},", |
|
|
|
"store_address = #{storeAddress,jdbcType=VARCHAR},", |
|
|
|
|
|
|
|
"total_deduction_price = #{totalDeductionPrice,jdbcType=DECIMAL},", |
|
|
|
|
|
|
|
"deduction_coupon_price = #{deductionCouponPrice,jdbcType=DECIMAL},", |
|
|
|
|
|
|
|
"deduction_product_price = #{deductionProductPrice,jdbcType=DECIMAL},", |
|
|
|
"payable_price = #{payablePrice,jdbcType=DECIMAL},", |
|
|
|
"payable_price = #{payablePrice,jdbcType=DECIMAL},", |
|
|
|
"pay_gold = #{payGold,jdbcType=INTEGER},", |
|
|
|
"pay_gold = #{payGold,jdbcType=INTEGER},", |
|
|
|
"pay_price = #{payPrice,jdbcType=DECIMAL},", |
|
|
|
"pay_price = #{payPrice,jdbcType=DECIMAL},", |
|
|
|