|
|
@ -50,6 +50,7 @@ public interface BsGasOrderMapper extends BsGasOrderMapperExt { |
|
|
|
"deduction_coupon_price, deduction_oil_price, ", |
|
|
|
"deduction_coupon_price, deduction_oil_price, ", |
|
|
|
"pay_integral, payable_price, ", |
|
|
|
"pay_integral, payable_price, ", |
|
|
|
"actual_pay_price, gas_refuel_price, ", |
|
|
|
"actual_pay_price, gas_refuel_price, ", |
|
|
|
|
|
|
|
"gas_service_fee_rate, gas_service_fee_price, ", |
|
|
|
"gas_oil_no, gas_gun_no, ", |
|
|
|
"gas_oil_no, gas_gun_no, ", |
|
|
|
"gas_oil_type, gas_price_official, ", |
|
|
|
"gas_oil_type, gas_price_official, ", |
|
|
|
"gas_price_gun, gas_price_vip, ", |
|
|
|
"gas_price_gun, gas_price_vip, ", |
|
|
@ -59,9 +60,9 @@ public interface BsGasOrderMapper extends BsGasOrderMapperExt { |
|
|
|
"gas_price_preferences, gas_class_group_id, ", |
|
|
|
"gas_price_preferences, gas_class_group_id, ", |
|
|
|
"gas_class_group_name, gas_class_group_task_id, ", |
|
|
|
"gas_class_group_name, gas_class_group_task_id, ", |
|
|
|
"gas_staff_id, gas_staff_name, ", |
|
|
|
"gas_staff_id, gas_staff_name, ", |
|
|
|
|
|
|
|
"receipt_status, receipt_fail_remark, ", |
|
|
|
"pay_type, pay_serial_no, ", |
|
|
|
"pay_type, pay_serial_no, ", |
|
|
|
"pay_channel_order_no, `status`, ", |
|
|
|
"pay_channel_order_no, `status`, ", |
|
|
|
"receipt_status, receipt_fail_remark, ", |
|
|
|
|
|
|
|
"create_time, cancel_time, ", |
|
|
|
"create_time, cancel_time, ", |
|
|
|
"pay_time, refund_time, ", |
|
|
|
"pay_time, refund_time, ", |
|
|
|
"refund_remarks, abnormal, ", |
|
|
|
"refund_remarks, abnormal, ", |
|
|
@ -79,6 +80,7 @@ public interface BsGasOrderMapper extends BsGasOrderMapperExt { |
|
|
|
"#{deductionCouponPrice,jdbcType=DECIMAL}, #{deductionOilPrice,jdbcType=DECIMAL}, ", |
|
|
|
"#{deductionCouponPrice,jdbcType=DECIMAL}, #{deductionOilPrice,jdbcType=DECIMAL}, ", |
|
|
|
"#{payIntegral,jdbcType=BIGINT}, #{payablePrice,jdbcType=DECIMAL}, ", |
|
|
|
"#{payIntegral,jdbcType=BIGINT}, #{payablePrice,jdbcType=DECIMAL}, ", |
|
|
|
"#{actualPayPrice,jdbcType=DECIMAL}, #{gasRefuelPrice,jdbcType=DECIMAL}, ", |
|
|
|
"#{actualPayPrice,jdbcType=DECIMAL}, #{gasRefuelPrice,jdbcType=DECIMAL}, ", |
|
|
|
|
|
|
|
"#{gasServiceFeeRate,jdbcType=DECIMAL}, #{gasServiceFeePrice,jdbcType=DECIMAL}, ", |
|
|
|
"#{gasOilNo,jdbcType=VARCHAR}, #{gasGunNo,jdbcType=VARCHAR}, ", |
|
|
|
"#{gasOilNo,jdbcType=VARCHAR}, #{gasGunNo,jdbcType=VARCHAR}, ", |
|
|
|
"#{gasOilType,jdbcType=INTEGER}, #{gasPriceOfficial,jdbcType=DECIMAL}, ", |
|
|
|
"#{gasOilType,jdbcType=INTEGER}, #{gasPriceOfficial,jdbcType=DECIMAL}, ", |
|
|
|
"#{gasPriceGun,jdbcType=DECIMAL}, #{gasPriceVip,jdbcType=DECIMAL}, ", |
|
|
|
"#{gasPriceGun,jdbcType=DECIMAL}, #{gasPriceVip,jdbcType=DECIMAL}, ", |
|
|
@ -88,9 +90,9 @@ public interface BsGasOrderMapper extends BsGasOrderMapperExt { |
|
|
|
"#{gasPricePreferences,jdbcType=DECIMAL}, #{gasClassGroupId,jdbcType=BIGINT}, ", |
|
|
|
"#{gasPricePreferences,jdbcType=DECIMAL}, #{gasClassGroupId,jdbcType=BIGINT}, ", |
|
|
|
"#{gasClassGroupName,jdbcType=VARCHAR}, #{gasClassGroupTaskId,jdbcType=BIGINT}, ", |
|
|
|
"#{gasClassGroupName,jdbcType=VARCHAR}, #{gasClassGroupTaskId,jdbcType=BIGINT}, ", |
|
|
|
"#{gasStaffId,jdbcType=BIGINT}, #{gasStaffName,jdbcType=VARCHAR}, ", |
|
|
|
"#{gasStaffId,jdbcType=BIGINT}, #{gasStaffName,jdbcType=VARCHAR}, ", |
|
|
|
|
|
|
|
"#{receiptStatus,jdbcType=INTEGER}, #{receiptFailRemark,jdbcType=VARCHAR}, ", |
|
|
|
"#{payType,jdbcType=INTEGER}, #{paySerialNo,jdbcType=VARCHAR}, ", |
|
|
|
"#{payType,jdbcType=INTEGER}, #{paySerialNo,jdbcType=VARCHAR}, ", |
|
|
|
"#{payChannelOrderNo,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, ", |
|
|
|
"#{payChannelOrderNo,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, ", |
|
|
|
"#{receiptStatus,jdbcType=INTEGER}, #{receiptFailRemark,jdbcType=VARCHAR}, ", |
|
|
|
|
|
|
|
"#{createTime,jdbcType=TIMESTAMP}, #{cancelTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{createTime,jdbcType=TIMESTAMP}, #{cancelTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{payTime,jdbcType=TIMESTAMP}, #{refundTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{payTime,jdbcType=TIMESTAMP}, #{refundTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{refundRemarks,jdbcType=VARCHAR}, #{abnormal,jdbcType=BIT}, ", |
|
|
|
"#{refundRemarks,jdbcType=VARCHAR}, #{abnormal,jdbcType=BIT}, ", |
|
|
@ -131,6 +133,8 @@ public interface BsGasOrderMapper extends BsGasOrderMapperExt { |
|
|
|
@Result(column="payable_price", property="payablePrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="payable_price", property="payablePrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="actual_pay_price", property="actualPayPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="actual_pay_price", property="actualPayPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="gas_refuel_price", property="gasRefuelPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="gas_refuel_price", property="gasRefuelPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
|
|
|
@Result(column="gas_service_fee_rate", property="gasServiceFeeRate", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
|
|
|
@Result(column="gas_service_fee_price", property="gasServiceFeePrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@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_oil_type", property="gasOilType", jdbcType=JdbcType.INTEGER), |
|
|
@ -149,12 +153,12 @@ public interface BsGasOrderMapper extends BsGasOrderMapperExt { |
|
|
|
@Result(column="gas_class_group_task_id", property="gasClassGroupTaskId", jdbcType=JdbcType.BIGINT), |
|
|
|
@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_id", property="gasStaffId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="gas_staff_name", property="gasStaffName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="gas_staff_name", property="gasStaffName", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="receipt_status", property="receiptStatus", jdbcType=JdbcType.INTEGER), |
|
|
|
|
|
|
|
@Result(column="receipt_fail_remark", property="receiptFailRemark", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="pay_type", property="payType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="pay_type", property="payType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="pay_serial_no", property="paySerialNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="pay_serial_no", property="paySerialNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="pay_channel_order_no", property="payChannelOrderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="pay_channel_order_no", property="payChannelOrderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="receipt_status", property="receiptStatus", jdbcType=JdbcType.INTEGER), |
|
|
|
|
|
|
|
@Result(column="receipt_fail_remark", property="receiptFailRemark", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="cancel_time", property="cancelTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="cancel_time", property="cancelTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="pay_time", property="payTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="pay_time", property="payTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
@ -177,13 +181,14 @@ public interface BsGasOrderMapper extends BsGasOrderMapperExt { |
|
|
|
"agent_staff_id, agent_staff_name, user_id, user_phone, mer_chain_brand_id, mer_chain_brand_name, ", |
|
|
|
"agent_staff_id, agent_staff_name, user_id, user_phone, mer_chain_brand_id, mer_chain_brand_name, ", |
|
|
|
"mer_id, mer_no, mer_name, mer_address, total_deduction_price, deduction_coupon_price, ", |
|
|
|
"mer_id, mer_no, mer_name, mer_address, total_deduction_price, deduction_coupon_price, ", |
|
|
|
"deduction_oil_price, pay_integral, payable_price, actual_pay_price, gas_refuel_price, ", |
|
|
|
"deduction_oil_price, pay_integral, payable_price, actual_pay_price, gas_refuel_price, ", |
|
|
|
"gas_oil_no, gas_gun_no, gas_oil_type, gas_price_official, gas_price_gun, gas_price_vip, ", |
|
|
|
"gas_service_fee_rate, gas_service_fee_price, gas_oil_no, gas_gun_no, gas_oil_type, ", |
|
|
|
"gas_price_platform, gas_price_cost, gas_oil_liters, gas_discount, gas_oil_subsidy, ", |
|
|
|
"gas_price_official, gas_price_gun, gas_price_vip, gas_price_platform, gas_price_cost, ", |
|
|
|
"gas_liters_preferences, gas_price_preferences, gas_class_group_id, gas_class_group_name, ", |
|
|
|
"gas_oil_liters, gas_discount, gas_oil_subsidy, gas_liters_preferences, gas_price_preferences, ", |
|
|
|
"gas_class_group_task_id, gas_staff_id, gas_staff_name, pay_type, pay_serial_no, ", |
|
|
|
"gas_class_group_id, gas_class_group_name, gas_class_group_task_id, gas_staff_id, ", |
|
|
|
"pay_channel_order_no, `status`, receipt_status, receipt_fail_remark, create_time, ", |
|
|
|
"gas_staff_name, receipt_status, receipt_fail_remark, pay_type, pay_serial_no, ", |
|
|
|
"cancel_time, pay_time, refund_time, refund_remarks, abnormal, abnormal_content, ", |
|
|
|
"pay_channel_order_no, `status`, create_time, cancel_time, pay_time, refund_time, ", |
|
|
|
"ext_1, ext_2, ext_3, ext_4, ext_5, ext_6", |
|
|
|
"refund_remarks, abnormal, abnormal_content, ext_1, ext_2, ext_3, ext_4, ext_5, ", |
|
|
|
|
|
|
|
"ext_6", |
|
|
|
"from bs_gas_order", |
|
|
|
"from bs_gas_order", |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
}) |
|
|
|
}) |
|
|
@ -212,6 +217,8 @@ public interface BsGasOrderMapper extends BsGasOrderMapperExt { |
|
|
|
@Result(column="payable_price", property="payablePrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="payable_price", property="payablePrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="actual_pay_price", property="actualPayPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="actual_pay_price", property="actualPayPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="gas_refuel_price", property="gasRefuelPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="gas_refuel_price", property="gasRefuelPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
|
|
|
@Result(column="gas_service_fee_rate", property="gasServiceFeeRate", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
|
|
|
@Result(column="gas_service_fee_price", property="gasServiceFeePrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@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_oil_type", property="gasOilType", jdbcType=JdbcType.INTEGER), |
|
|
@ -230,12 +237,12 @@ public interface BsGasOrderMapper extends BsGasOrderMapperExt { |
|
|
|
@Result(column="gas_class_group_task_id", property="gasClassGroupTaskId", jdbcType=JdbcType.BIGINT), |
|
|
|
@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_id", property="gasStaffId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="gas_staff_name", property="gasStaffName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="gas_staff_name", property="gasStaffName", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="receipt_status", property="receiptStatus", jdbcType=JdbcType.INTEGER), |
|
|
|
|
|
|
|
@Result(column="receipt_fail_remark", property="receiptFailRemark", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="pay_type", property="payType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="pay_type", property="payType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="pay_serial_no", property="paySerialNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="pay_serial_no", property="paySerialNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="pay_channel_order_no", property="payChannelOrderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="pay_channel_order_no", property="payChannelOrderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="receipt_status", property="receiptStatus", jdbcType=JdbcType.INTEGER), |
|
|
|
|
|
|
|
@Result(column="receipt_fail_remark", property="receiptFailRemark", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="cancel_time", property="cancelTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="cancel_time", property="cancelTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="pay_time", property="payTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="pay_time", property="payTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
@ -286,6 +293,8 @@ public interface BsGasOrderMapper extends BsGasOrderMapperExt { |
|
|
|
"payable_price = #{payablePrice,jdbcType=DECIMAL},", |
|
|
|
"payable_price = #{payablePrice,jdbcType=DECIMAL},", |
|
|
|
"actual_pay_price = #{actualPayPrice,jdbcType=DECIMAL},", |
|
|
|
"actual_pay_price = #{actualPayPrice,jdbcType=DECIMAL},", |
|
|
|
"gas_refuel_price = #{gasRefuelPrice,jdbcType=DECIMAL},", |
|
|
|
"gas_refuel_price = #{gasRefuelPrice,jdbcType=DECIMAL},", |
|
|
|
|
|
|
|
"gas_service_fee_rate = #{gasServiceFeeRate,jdbcType=DECIMAL},", |
|
|
|
|
|
|
|
"gas_service_fee_price = #{gasServiceFeePrice,jdbcType=DECIMAL},", |
|
|
|
"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_oil_type = #{gasOilType,jdbcType=INTEGER},", |
|
|
@ -304,12 +313,12 @@ public interface BsGasOrderMapper extends BsGasOrderMapperExt { |
|
|
|
"gas_class_group_task_id = #{gasClassGroupTaskId,jdbcType=BIGINT},", |
|
|
|
"gas_class_group_task_id = #{gasClassGroupTaskId,jdbcType=BIGINT},", |
|
|
|
"gas_staff_id = #{gasStaffId,jdbcType=BIGINT},", |
|
|
|
"gas_staff_id = #{gasStaffId,jdbcType=BIGINT},", |
|
|
|
"gas_staff_name = #{gasStaffName,jdbcType=VARCHAR},", |
|
|
|
"gas_staff_name = #{gasStaffName,jdbcType=VARCHAR},", |
|
|
|
|
|
|
|
"receipt_status = #{receiptStatus,jdbcType=INTEGER},", |
|
|
|
|
|
|
|
"receipt_fail_remark = #{receiptFailRemark,jdbcType=VARCHAR},", |
|
|
|
"pay_type = #{payType,jdbcType=INTEGER},", |
|
|
|
"pay_type = #{payType,jdbcType=INTEGER},", |
|
|
|
"pay_serial_no = #{paySerialNo,jdbcType=VARCHAR},", |
|
|
|
"pay_serial_no = #{paySerialNo,jdbcType=VARCHAR},", |
|
|
|
"pay_channel_order_no = #{payChannelOrderNo,jdbcType=VARCHAR},", |
|
|
|
"pay_channel_order_no = #{payChannelOrderNo,jdbcType=VARCHAR},", |
|
|
|
"`status` = #{status,jdbcType=INTEGER},", |
|
|
|
"`status` = #{status,jdbcType=INTEGER},", |
|
|
|
"receipt_status = #{receiptStatus,jdbcType=INTEGER},", |
|
|
|
|
|
|
|
"receipt_fail_remark = #{receiptFailRemark,jdbcType=VARCHAR},", |
|
|
|
|
|
|
|
"create_time = #{createTime,jdbcType=TIMESTAMP},", |
|
|
|
"create_time = #{createTime,jdbcType=TIMESTAMP},", |
|
|
|
"cancel_time = #{cancelTime,jdbcType=TIMESTAMP},", |
|
|
|
"cancel_time = #{cancelTime,jdbcType=TIMESTAMP},", |
|
|
|
"pay_time = #{payTime,jdbcType=TIMESTAMP},", |
|
|
|
"pay_time = #{payTime,jdbcType=TIMESTAMP},", |
|
|
|