update 占桩订单列表页实现分页

This commit is contained in:
Lemon
2023-08-21 17:12:53 +08:00
parent 55104d4c6e
commit 5ea2ec624b
7 changed files with 57 additions and 32 deletions

View File

@@ -827,22 +827,7 @@
and member_id = #{memberId,jdbcType=VARCHAR}
</select>
<select id="getOccupyOrderInfo" resultType="com.jsowell.pile.vo.uniapp.OrderPileOccupyVO">
select
t1.occupy_code as occupyCode,
t1.status,
t1.station_id as stationId,
t2.station_name as stationName,
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
where
member_id = #{memberId,jdbcType=VARCHAR}
</select>
<select id="queryOccupiedOrder" resultMap="BaseResultMap">
select
@@ -886,4 +871,21 @@
WHERE
t1.occupy_code = #{occupyCode,jdbcType=VARCHAR}
</select>
<select id="getOccupyOrderInfo" resultType="com.jsowell.pile.vo.uniapp.OrderPileOccupyVO">
select
t1.occupy_code as occupyCode,
t1.status,
t1.station_id as stationId,
t2.station_name as stationName,
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
where
t1.member_id = #{memberId,jdbcType=VARCHAR}
</select>
</mapper>