config info
This commit is contained in:
@@ -54,6 +54,10 @@ public class ShopInfoEditDTO {
|
|||||||
* 是否开启会员余额支付
|
* 是否开启会员余额支付
|
||||||
*/
|
*/
|
||||||
private Integer isAccountPay;
|
private Integer isAccountPay;
|
||||||
|
/**
|
||||||
|
* 是否允许用户支付
|
||||||
|
*/
|
||||||
|
private Integer isUserPay;
|
||||||
/**
|
/**
|
||||||
* 是否启用满减活动 1-是 0-否
|
* 是否启用满减活动 1-是 0-否
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -312,6 +312,11 @@ public class ShopInfo implements Serializable {
|
|||||||
*/
|
*/
|
||||||
@Column(ignore = true)
|
@Column(ignore = true)
|
||||||
private Integer isAccountPay;
|
private Integer isAccountPay;
|
||||||
|
/**
|
||||||
|
* 是否允许用户支付
|
||||||
|
*/
|
||||||
|
@Column(ignore = true)
|
||||||
|
private Integer isUserPay;
|
||||||
/**
|
/**
|
||||||
* 主店名称
|
* 主店名称
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -57,6 +57,11 @@ public class ShopTable implements Serializable {
|
|||||||
*/
|
*/
|
||||||
private Integer areaId;
|
private Integer areaId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 区域名称
|
||||||
|
*/
|
||||||
|
private String areaName;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 是否接受网络预定
|
* 是否接受网络预定
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -5,11 +5,12 @@
|
|||||||
<mapper namespace="com.czg.service.account.mapper.ShopTableMapper">
|
<mapper namespace="com.czg.service.account.mapper.ShopTableMapper">
|
||||||
|
|
||||||
<select id="pageInfo" resultType="com.czg.account.vo.ShopTableVO">
|
<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
|
from tb_shop_table as a
|
||||||
left join tb_order_info as b
|
left join tb_order_info as b
|
||||||
on a.table_code = b.table_code and b.`status` = 'unpaid' and b.table_code != '' and
|
on a.table_code = b.table_code and b.`status` = 'unpaid' and b.table_code != '' and
|
||||||
b.table_code is not null
|
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}
|
where a.shop_id=#{shopId}
|
||||||
<if test="areaId != null">
|
<if test="areaId != null">
|
||||||
and a.area_id=#{areaId}
|
and a.area_id=#{areaId}
|
||||||
|
|||||||
Reference in New Issue
Block a user