add 新增 查询充电优免订单接口

This commit is contained in:
Lemon
2025-06-11 08:52:30 +08:00
parent c1b67f105f
commit d080b70373
7 changed files with 115 additions and 9 deletions

View File

@@ -90,4 +90,21 @@
order by create_time desc
limit 1
</select>
<select id="queryParkingOrderList" resultType="com.jsowell.pile.vo.uniapp.customer.ParkingOrderVO">
SELECT
t2.member_id AS memberId,
t1.order_code AS orderCode,
t1.station_id AS stationId,
t3.station_name AS stationName,
t1.plate_number AS plateNumber,
t1.return_msg AS returnMsg
FROM
car_coupon_record t1
JOIN order_basic_info t2 ON t1.order_code = t2.order_code
JOIN pile_station_info t3 ON t1.station_id = t3.id
WHERE
t1.del_flag = '0'
AND t2.member_id = #{memberId,jdbcType=VARCHAR}
</select>
</mapper>