所有跟余额相关模块开关同步开启关闭余额支付
This commit is contained in:
@@ -5,6 +5,7 @@ import com.mybatisflex.annotation.Id;
|
||||
import com.mybatisflex.annotation.KeyType;
|
||||
import com.mybatisflex.annotation.Table;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
@@ -17,6 +18,7 @@ import java.io.Serializable;
|
||||
*/
|
||||
@Data
|
||||
@Table("tb_shop_config")
|
||||
@Accessors(chain = true)
|
||||
public class ShopConfig implements Serializable {
|
||||
|
||||
@Serial
|
||||
@@ -84,7 +86,7 @@ public class ShopConfig implements Serializable {
|
||||
*/
|
||||
private Integer isTableFee;
|
||||
/**
|
||||
* 是否启用会员价 1-是 0-否
|
||||
* 是否启用会员价 1-是 0-否
|
||||
*/
|
||||
private Integer isMemberPrice;
|
||||
/**
|
||||
@@ -104,4 +106,4 @@ public class ShopConfig implements Serializable {
|
||||
* '自动清台 支付几分钟后 默认10分钟后'
|
||||
*/
|
||||
private Integer tableClearTime;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,6 +2,9 @@ package com.czg.account.service;
|
||||
|
||||
import com.czg.account.entity.ShopConfig;
|
||||
import com.mybatisflex.core.service.IService;
|
||||
import com.mybatisflex.core.util.LambdaGetter;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 店铺配置扩展
|
||||
@@ -11,4 +14,5 @@ import com.mybatisflex.core.service.IService;
|
||||
*/
|
||||
public interface ShopConfigService extends IService<ShopConfig> {
|
||||
|
||||
}
|
||||
<T> void editStatusByShopIdList(Long mainShopId, Integer isEnable, LambdaGetter<T> property, String useShopType, List<Long> shopIdList);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user