mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
新增 青海平台推送充电订单接口
This commit is contained in:
@@ -2803,4 +2803,42 @@
|
||||
where order_status = '3'
|
||||
and member_id =#{memberId,jdbcType=VARCHAR}
|
||||
</select>
|
||||
|
||||
<select id="getChargeOrderInfoByOrderCode" resultType="com.jsowell.pile.vo.uniapp.OrderVO">
|
||||
SELECT
|
||||
t1.merchant_id as mercahntId,
|
||||
t3.organization_code as organizationCode,
|
||||
t1.order_code AS orderCode,
|
||||
t1.transaction_code AS transactionCode,
|
||||
t1.order_status AS orderStatus,
|
||||
t1.station_id AS stationId,
|
||||
t1.pile_sn AS pileSn,
|
||||
t1.connector_code AS connectorCode,
|
||||
t1.pile_connector_code AS pileConnectorCode,
|
||||
t1.pay_mode AS payMode,
|
||||
t1.pay_amount AS payAmount,
|
||||
t1.pay_time AS payTime,
|
||||
t1.order_amount AS orderAmount,
|
||||
t1.plate_number AS plateNumber,
|
||||
t1.discount_amount AS discountAmount,
|
||||
t1.settle_amount AS settleAmount,
|
||||
t1.charge_start_time AS startTime,
|
||||
t1.charge_end_time AS endTime,
|
||||
t1.start_soc AS startSoc,
|
||||
t1.end_soc AS endSoc,
|
||||
t1.reason AS stopReason,
|
||||
t2.total_used_electricity AS totalPower,
|
||||
t2.total_electricity_amount AS totalElectricityAmount,
|
||||
t2.total_service_amount AS totalServiceAmount
|
||||
FROM
|
||||
order_basic_info t1
|
||||
JOIN
|
||||
order_detail t2 ON t1.order_code = t2.order_code
|
||||
join
|
||||
pile_merchant_info t3 on t1.merchant_id = t3.id
|
||||
WHERE
|
||||
t1.del_flag = '0'
|
||||
AND
|
||||
t1.order_code = #{orderCode,jdbcType=VARCHAR}
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user