|
@@ -133,11 +133,11 @@ public class UserAppIndexController extends BaseController {
|
|
|
|
|
|
|
|
// 转换为StoreOutput并设置每个门店的商品列表(每个门店最多6条)
|
|
// 转换为StoreOutput并设置每个门店的商品列表(每个门店最多6条)
|
|
|
List<StoreOutput> storeOutputList = new ArrayList<>();
|
|
List<StoreOutput> storeOutputList = new ArrayList<>();
|
|
|
|
|
+ DateUtil dateUtil = new DateUtil();
|
|
|
for (PosStore store : storeList) {
|
|
for (PosStore store : storeList) {
|
|
|
StoreOutput storeOutput = new StoreOutput();
|
|
StoreOutput storeOutput = new StoreOutput();
|
|
|
// 复制PosStore的所有属性
|
|
// 复制PosStore的所有属性
|
|
|
BeanUtils.copyProperties(store, storeOutput);
|
|
BeanUtils.copyProperties(store, storeOutput);
|
|
|
- DateUtil dateUtil = new DateUtil();
|
|
|
|
|
Boolean dayang = false;
|
|
Boolean dayang = false;
|
|
|
List<OperatingHours> mdHours=hourslist.stream().filter(x-> store.getId().equals(x.getMdId().intValue())).collect(Collectors.toList());
|
|
List<OperatingHours> mdHours=hourslist.stream().filter(x-> store.getId().equals(x.getMdId().intValue())).collect(Collectors.toList());
|
|
|
//在营业时间范围内返回true
|
|
//在营业时间范围内返回true
|