微调
This commit is contained in:
@@ -104,6 +104,21 @@
|
||||
<artifactId>pq-device-api</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.njcn</groupId>
|
||||
<artifactId>common-event</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.njcn</groupId>
|
||||
<artifactId>event-api</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.njcn</groupId>
|
||||
<artifactId>supervision-api</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
|
||||
@@ -242,11 +242,11 @@ public class SpecialAnalysisServiceImpl implements ISpecialAnalysisService {
|
||||
minTime.set(dto, "[]");
|
||||
} else {
|
||||
List<String> mins = min[i].stream().distinct().collect(Collectors.toList());
|
||||
minTime.set(dto, JSON.toJSONString(mins));
|
||||
List<String> limitTime = dataLimitRateDetailFeignClient.getLimitRateDetailTime(lineId, calculatedParam.getDataDate()).getData();
|
||||
if (CollUtil.isNotEmpty(limitTime)) {
|
||||
List<String> collect = mins.stream().filter(x -> limitTime.contains(x)).collect(Collectors.toList());
|
||||
List<String> collect = mins.stream().filter(x -> limitTime.contains(x)).sorted().collect(Collectors.toList());
|
||||
if (CollUtil.isNotEmpty(collect)) {
|
||||
minTime.set(dto, JSON.toJSONString(collect));
|
||||
isOrNot.set(dto, 1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user