新增 占桩订单相关接口

This commit is contained in:
Lemon
2023-08-18 11:40:23 +08:00
parent 74af1bba60
commit 00cfd77eeb
8 changed files with 105 additions and 8 deletions

View File

@@ -844,7 +844,7 @@
t1.status,
t1.station_id as stationId,
t2.station_name as stationName,
t1.start_time as startime,
t1.start_time as startTime,
t1.end_time as endTime,
t1.pay_status as payStatus,
t1.order_amount as orderAmount
@@ -854,4 +854,18 @@
where
member_id = #{memberId,jdbcType=VARCHAR}
</select>
<select id="getOrderInfoByPile" resultMap="BaseResultMap">
select
<include refid="Base_Column_List"/>
from
order_pile_occupy
where
pile_sn = #{pileSn,jdbcType=VARCHAR}
and
connector_code = #{connectorCode,jdbcType=VARCHAR}
order by
create_time DESC
limit 1
</select>
</mapper>