霸王餐修改
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user