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

@@ -54,6 +54,10 @@ public class ShopInfoEditDTO {
* 是否开启会员余额支付
*/
private Integer isAccountPay;
/**
* 是否允许用户支付
*/
private Integer isUserPay;
/**
* 是否启用满减活动 1-是 0-否
*/

View File

@@ -312,6 +312,11 @@ public class ShopInfo implements Serializable {
*/
@Column(ignore = true)
private Integer isAccountPay;
/**
* 是否允许用户支付
*/
@Column(ignore = true)
private Integer isUserPay;
/**
* 主店名称
*/

View File

@@ -57,6 +57,11 @@ public class ShopTable implements Serializable {
*/
private Integer areaId;
/**
* 区域名称
*/
private String areaName;
/**
* 是否接受网络预定
*/

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}