台桌添加订单字段

This commit is contained in:
gong
2026-03-28 14:06:18 +08:00
parent a67354343c
commit 1ae849d24c
2 changed files with 5 additions and 1 deletions

View File

@@ -5,7 +5,7 @@
<mapper namespace="com.czg.service.account.mapper.ShopTableMapper">
<select id="pageInfo" resultType="com.czg.account.vo.ShopTableVO">
select a.*, b.id orderId, b.user_id
select a.*, b.id orderId, b.user_id, b.origin_amount as orderAmount, b.person_num as personNum, b.create_time as orderCreateTime
from tb_shop_table as a
left join tb_order_info as b
on a.table_code = b.table_code and b.`status` = 'unpaid' and b.table_code != '' and