霸王餐修改

This commit is contained in:
张松
2025-10-14 16:44:42 +08:00
parent f2f90221ed
commit 2858463928
3 changed files with 6 additions and 2 deletions

View File

@@ -64,7 +64,7 @@ public class FreeDineConfig implements Serializable {
// /** // /**
// * 使用类型 dine-in店内 takeout 自取 post快递takeaway外卖 // * 使用类型 dine-in店内 takeout 自取 post快递takeaway外卖
// */ // */
// private String useType; private String useType;
/** /**
* 门店id * 门店id

View File

@@ -48,7 +48,7 @@ public class FreeDineConfigVO implements Serializable {
// /** // /**
// * 使用类型 dine-in店内 takeout 自取 post快递takeaway外卖 // * 使用类型 dine-in店内 takeout 自取 post快递takeaway外卖
// */ // */
// private String useType; private List<String> useType;
/** /**
* 门店id * 门店id

View File

@@ -34,6 +34,10 @@ public class FreeDineConfigServiceImpl extends ServiceImpl<FreeDineConfigMapper,
if (StrUtil.isNotBlank(freeDineConfig.getShopIdList())) { if (StrUtil.isNotBlank(freeDineConfig.getShopIdList())) {
dto.setShopIdList(JSONArray.parseArray(freeDineConfig.getShopIdList()).toList(Long.class)); dto.setShopIdList(JSONArray.parseArray(freeDineConfig.getShopIdList()).toList(Long.class));
} }
if (StrUtil.isNotBlank(freeDineConfig.getUseType())) {
dto.setUseType(JSONArray.parseArray(freeDineConfig.getUseType()).toList(String.class));
}
return dto; return dto;
} }