mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 19:15:35 +08:00
新增 查询占桩订单详情接口
This commit is contained in:
@@ -866,4 +866,24 @@
|
||||
and connector_code = #{connectorCode,jdbcType=VARCHAR}
|
||||
order by create_time DESC
|
||||
</select>
|
||||
|
||||
<select id="getOccupyOrderDetail" resultType="com.jsowell.pile.vo.uniapp.OccupyOrderDetailVO">
|
||||
SELECT
|
||||
t1.occupy_code AS occupyCode,
|
||||
t1.STATUS AS orderStatus,
|
||||
t1.station_id AS stationId,
|
||||
t2.station_name AS stationName,
|
||||
t2.merchant_id AS merchantId,
|
||||
t3.merchant_name AS merchantName,
|
||||
t1.start_time AS startTime,
|
||||
t1.end_time AS endTime,
|
||||
t1.pay_status AS payStatus,
|
||||
t1.order_amount AS orderAmount
|
||||
FROM
|
||||
order_pile_occupy t1
|
||||
LEFT JOIN pile_station_info t2 ON t1.station_id = t2.id
|
||||
LEFT JOIN pile_merchant_info t3 ON t2.merchant_id = t3.id
|
||||
WHERE
|
||||
t1.occupy_code = #{occupyCode,jdbcType=VARCHAR}
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user