| | |
| | | queryWrapper.eq(ShopTask::getTaskStatus,1); |
| | | queryWrapper.eq(ShopTask::getTaskDate,DateUtils.getDate()); |
| | | if(null != userIds && userIds.size() > 0){ |
| | | List<Shop> list = shopService.list(new QueryWrapper<Shop>().eq("del_flag", 0).in("belong_user_id", userIds)); |
| | | List<Shop> list = shopService.list(new QueryWrapper<Shop>().eq("del_flag", 0) |
| | | .in("belong_user_id", userIds)); |
| | | List<Long> collect = list.stream().map(Shop::getShopId).collect(Collectors.toList()); |
| | | queryWrapper.in(ShopTask::getShopId, collect); |
| | | } |