Commit 4944ec54db6f4bd2b9cd9ac73ff56d87ddc667b3
1 parent
2527ae98
fix: 特殊处理-》加时间判定
Showing
1 changed file
with
4 additions
and
1 deletions
Bsth-admin/src/main/java/com/ruoyi/service/impl/BigViewServiceImpl.java
| ... | ... | @@ -20,6 +20,7 @@ import org.springframework.beans.factory.annotation.Autowired; |
| 20 | 20 | import org.springframework.stereotype.Service; |
| 21 | 21 | |
| 22 | 22 | import javax.annotation.Resource; |
| 23 | +import java.time.LocalDate; | |
| 23 | 24 | import java.util.*; |
| 24 | 25 | import java.util.stream.Collectors; |
| 25 | 26 | |
| ... | ... | @@ -71,7 +72,9 @@ public class BigViewServiceImpl implements BigViewService { |
| 71 | 72 | // 进一步处理人员信息 |
| 72 | 73 | List<FleetInfoVo> fleetInfoVos = handleFleetWithLinePersonInfo(matchMap, mapVo); |
| 73 | 74 | // 特殊处理 处理进博会线路信息 |
| 74 | - specialTreatment(fleetInfoVos); | |
| 75 | + if (LocalDate.now().toString().compareTo("2023-11-12") < 0){ | |
| 76 | + specialTreatment(fleetInfoVos); | |
| 77 | + } | |
| 75 | 78 | return fleetInfoVos; |
| 76 | 79 | } |
| 77 | 80 | ... | ... |