电子围栏
This commit is contained in:
@@ -266,4 +266,9 @@ public class ShopInfoEditDTO {
|
|||||||
*/
|
*/
|
||||||
private Integer tableClearTime;
|
private Integer tableClearTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 点餐电子围栏开关
|
||||||
|
*/
|
||||||
|
private Integer isOrderFence;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -106,4 +106,9 @@ public class ShopConfig implements Serializable {
|
|||||||
* '自动清台 支付几分钟后 默认10分钟后'
|
* '自动清台 支付几分钟后 默认10分钟后'
|
||||||
*/
|
*/
|
||||||
private Integer tableClearTime;
|
private Integer tableClearTime;
|
||||||
|
/**
|
||||||
|
* 点餐电子围栏开关
|
||||||
|
*/
|
||||||
|
private Integer isOrderFence;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -334,6 +334,11 @@ public class ShopInfo implements Serializable {
|
|||||||
*/
|
*/
|
||||||
@Column(ignore = true)
|
@Column(ignore = true)
|
||||||
private Integer tableClearTime;
|
private Integer tableClearTime;
|
||||||
|
/**
|
||||||
|
* 点餐电子围栏开关
|
||||||
|
*/
|
||||||
|
@Column(ignore = true)
|
||||||
|
private Integer isOrderFence;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 运营端余额
|
* 运营端余额
|
||||||
|
|||||||
@@ -61,7 +61,8 @@ public class FreeDineConfigServiceImpl extends ServiceImpl<FreeDineConfigMapper,
|
|||||||
config.setShopIdList(JSONArray.toJSONString(freeDineConfigEditDTO.getShopIdList()));
|
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) {
|
if (freeDineConfigEditDTO.getUseType() != null) {
|
||||||
config.setUseType(JSONObject.toJSONString(freeDineConfigEditDTO.getUseType()));
|
config.setUseType(JSONObject.toJSONString(freeDineConfigEditDTO.getUseType()));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user