主开关

This commit is contained in:
2025-12-17 11:17:36 +08:00
parent bf2eb85233
commit 8a7d63911e
8 changed files with 39 additions and 15 deletions

View File

@@ -119,6 +119,12 @@ public class ShopConfig implements Serializable {
* 上菜时间 分钟
*/
private Integer serveTime;
/**
* 拼团开关 1-是 0-否
*/
private Integer isGroupBuy;
private String dingAppKey;
private String dingAppSecret;

View File

@@ -350,6 +350,8 @@ public class ShopInfo implements Serializable {
*/
@Column(ignore = true)
private Integer serveTime;
@Column(ignore = true)
private Integer isGroupBuy;
/**
* 运营端余额

View File

@@ -78,6 +78,11 @@ public class GbWare implements Serializable {
*/
private BigDecimal groupPrice;
/**
* 拼团库存
*/
private Integer groupedNum;
/**
* 成团人数 最小为1
*/

View File

@@ -14,9 +14,6 @@ import com.mybatisflex.core.service.IService;
*/
public interface GbWareService extends IService<GbWare> {
//操作店铺功能开关
boolean upShopConfig(Integer status, Long shopId);
//拼团 活动 注意分店 主店的 问题
Page<GbWare> getGbWarePage(GbWareQueryParamDTO param, Long shopId);

View File

@@ -20,6 +20,8 @@ import java.util.Map;
*/
public interface GbOrderService extends IService<GbOrder> {
boolean upShopConfig(Integer status, Long shopId);
//列表 详细列表 detail的
Page<GbOrderDetailVO> getGbOrderPage(GbOrderQueryParam param);