电子围栏

This commit is contained in:
2025-11-18 16:40:55 +08:00
parent 106968fb1f
commit 17c0716a51
4 changed files with 17 additions and 1 deletions

View File

@@ -266,4 +266,9 @@ public class ShopInfoEditDTO {
*/
private Integer tableClearTime;
/**
* 点餐电子围栏开关
*/
private Integer isOrderFence;
}

View File

@@ -106,4 +106,9 @@ public class ShopConfig implements Serializable {
* '自动清台 支付几分钟后 默认10分钟后'
*/
private Integer tableClearTime;
/**
* 点餐电子围栏开关
*/
private Integer isOrderFence;
}

View File

@@ -334,6 +334,11 @@ public class ShopInfo implements Serializable {
*/
@Column(ignore = true)
private Integer tableClearTime;
/**
* 点餐电子围栏开关
*/
@Column(ignore = true)
private Integer isOrderFence;
/**
* 运营端余额

View File

@@ -61,7 +61,8 @@ public class FreeDineConfigServiceImpl extends ServiceImpl<FreeDineConfigMapper,
config.setShopIdList(JSONArray.toJSONString(freeDineConfigEditDTO.getShopIdList()));
}
shopConfigService.editStatusByShopIdList(config.getShopId(), freeDineConfigEditDTO.getEnable() ? 1 : 0,true, "is_account_ay", freeDineConfigEditDTO.getUseShopType(), freeDineConfigEditDTO.getShopIdList() == null ? new ArrayList<>() : freeDineConfigEditDTO.getShopIdList());
shopConfigService.editStatusByShopIdList(config.getShopId(), freeDineConfigEditDTO.getEnable() ? 1 : 0,true, "is_account_ay",
freeDineConfigEditDTO.getUseShopType(), freeDineConfigEditDTO.getShopIdList() == null ? new ArrayList<>() : freeDineConfigEditDTO.getShopIdList());
if (freeDineConfigEditDTO.getUseType() != null) {
config.setUseType(JSONObject.toJSONString(freeDineConfigEditDTO.getUseType()));
}