|
|
@ -164,6 +164,9 @@ public class YxStoreHotListServiceImpl extends BaseServiceImpl<YxStoreHotListMap |
|
|
|
wrapper.eq(YxStoreHotListRecord::getIsDel, CommonEnum.DEL_STATUS_0.getValue()); |
|
|
|
wrapper.eq(YxStoreHotListRecord::getIsDel, CommonEnum.DEL_STATUS_0.getValue()); |
|
|
|
//获取所有评测列表(后期限制一年?)
|
|
|
|
//获取所有评测列表(后期限制一年?)
|
|
|
|
List<YxStoreHotListRecord> list=yxStoreHotListRecordMapper.selectList(wrapper); |
|
|
|
List<YxStoreHotListRecord> list=yxStoreHotListRecordMapper.selectList(wrapper); |
|
|
|
|
|
|
|
if(list.isEmpty()){ |
|
|
|
|
|
|
|
return null; |
|
|
|
|
|
|
|
} |
|
|
|
//获取月份
|
|
|
|
//获取月份
|
|
|
|
LinkedHashSet<String> mouthList=new LinkedHashSet<>(); |
|
|
|
LinkedHashSet<String> mouthList=new LinkedHashSet<>(); |
|
|
|
list.forEach(yxStoreHotListRecord -> mouthList.add(yxStoreHotListRecord.getMouth())); |
|
|
|
list.forEach(yxStoreHotListRecord -> mouthList.add(yxStoreHotListRecord.getMouth())); |
|
|
@ -253,6 +256,9 @@ public class YxStoreHotListServiceImpl extends BaseServiceImpl<YxStoreHotListMap |
|
|
|
wrapper.eq(YxStoreHotListRecord::getIsDel, CommonEnum.DEL_STATUS_0.getValue()); |
|
|
|
wrapper.eq(YxStoreHotListRecord::getIsDel, CommonEnum.DEL_STATUS_0.getValue()); |
|
|
|
//获取所有评测列表(后期限制一年?)
|
|
|
|
//获取所有评测列表(后期限制一年?)
|
|
|
|
List<YxStoreHotListRecord> list=yxStoreHotListRecordMapper.selectList(wrapper); |
|
|
|
List<YxStoreHotListRecord> list=yxStoreHotListRecordMapper.selectList(wrapper); |
|
|
|
|
|
|
|
if(list.isEmpty()){ |
|
|
|
|
|
|
|
return null; |
|
|
|
|
|
|
|
} |
|
|
|
//获取月份
|
|
|
|
//获取月份
|
|
|
|
LinkedHashSet<String> mouthList=new LinkedHashSet<>(); |
|
|
|
LinkedHashSet<String> mouthList=new LinkedHashSet<>(); |
|
|
|
list.forEach(yxStoreHotListRecord -> mouthList.add(yxStoreHotListRecord.getMouth())); |
|
|
|
list.forEach(yxStoreHotListRecord -> mouthList.add(yxStoreHotListRecord.getMouth())); |
|
|
|