config info

This commit is contained in:
gong
2026-03-28 14:25:23 +08:00
parent 7d6086311a
commit f9ac4b3e22
4 changed files with 16 additions and 1 deletions

View File

@@ -5,11 +5,12 @@
<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, b.origin_amount as orderAmount, b.seat_num as personNum, b.create_time as orderCreateTime
select a.*, b.id orderId, b.user_id, b.origin_amount as orderAmount, b.seat_num as personNum, b.create_time as orderCreateTime, ar.name as areaName
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
b.table_code is not null
left join tb_shop_table_area as ar on a.area_id = ar.id
where a.shop_id=#{shopId}
<if test="areaId != null">
and a.area_id=#{areaId}