perf:周六周日过滤小馆,不查询当天小馆信息
This commit is contained in:
@@ -78,6 +78,7 @@ public class JtVenuePullTask {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private List<SitePositionList> handleMsgSendList(List<SitePositionList> sitePositionLists, int dayOfWeek) {
|
private List<SitePositionList> handleMsgSendList(List<SitePositionList> sitePositionLists, int dayOfWeek) {
|
||||||
|
// 周六周日过滤小馆,不查询当天小馆信息
|
||||||
if (dayOfWeek == 6 || dayOfWeek == 7) {
|
if (dayOfWeek == 6 || dayOfWeek == 7) {
|
||||||
return sitePositionLists.stream()
|
return sitePositionLists.stream()
|
||||||
.filter(VenueInfoUtils::get8210VenueInfo)
|
.filter(VenueInfoUtils::get8210VenueInfo)
|
||||||
|
|||||||
Reference in New Issue
Block a user