点单智能推荐 间隔时间

This commit is contained in:
2025-10-23 10:39:30 +08:00
parent fbd98b52a5
commit 5d7687830b
6 changed files with 25 additions and 8 deletions

View File

@@ -1,5 +1,6 @@
package com.czg.account.dto.shopinfo;
import com.mybatisflex.annotation.Column;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
@@ -62,6 +63,10 @@ public class ShopInfoEditDTO {
* 点餐智能推荐 1-是 0-否
*/
private Integer isProductSuggest;
/**
* 首次弹窗时间 秒
*/
private Integer suggestTime;
/**
* 台桌预订短信
*/

View File

@@ -1,5 +1,6 @@
package com.czg.account.entity;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
@@ -50,6 +51,10 @@ public class ShopConfig implements Serializable {
* 点餐智能推荐 1-是 0-否
*/
private Integer isProductSuggest;
/**
* 首次弹窗时间 秒
*/
private Integer suggestTime;
/**
* 是否允许账号登录 1-是 0-否
*/

View File

@@ -268,6 +268,11 @@ public class ShopInfo implements Serializable {
*/
@Column(ignore = true)
private Integer isProductSuggest;
/**
* 首次弹窗时间 秒
*/
@Column(ignore = true)
private Integer suggestTime;
/**
* 是否允许账号登录 1-是 0-否
*/

View File

@@ -7,6 +7,7 @@ import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.service.IService;
import java.util.List;
import java.util.Map;
/**
* 点单智能推荐 服务层。
@@ -17,7 +18,7 @@ import java.util.List;
public interface MkProductSmartSuggestService extends IService<MkProductSmartSuggest> {
Page<MkProductSmartSuggestDTO> getProductSmartSuggestPage(BaseQueryParam param, Long shopId);
List<MkProductSmartSuggest> getProductSmartSuggestByShopId(Long shopId);
Map<String,Object> getProductSmartSuggestByShopId(Long shopId);
void addProductSmartSuggest(MkProductSmartSuggestDTO param);