| | |
| | | import com.ruoyi.web.controller.query.ConsultationQuery; |
| | | import com.ruoyi.web.controller.query.InformationQuery; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.util.CollectionUtils; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | |
| | | } |
| | | |
| | | List<TConsultation> records = page.getRecords(); |
| | | if(CollectionUtils.isEmpty(records)){ |
| | | return R.ok(new Page<>()); |
| | | } |
| | | Set<Long> cacheSet = redisCache.getCacheSet("Consultation:" + userId); |
| | | |
| | | List<Integer> regionIds = records.stream().map(TConsultation::getRegionId).collect(Collectors.toList()); |