Compare commits
1 Commits
2d07a60001
...
master-jb
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
37959a4a7e |
@@ -247,6 +247,8 @@ public class IDataOnlineRateServiceImpl implements IDataOnlineRateService {
|
||||
long differ = DateUtil.between(date, newDate, DateUnit.MINUTE);
|
||||
if (online.equals(type)) {
|
||||
minute = InfluxDBPublicParam.DAY_MINUTE - (int) differ;
|
||||
} else {
|
||||
minute = (int) differ;
|
||||
}
|
||||
} else {
|
||||
List<PqsCommunicateDto> communicateDataOld = communicateFeignClient.getRawDataEnd(lineParam).getData();
|
||||
|
||||
@@ -17,6 +17,7 @@ public class PqsCommunicateDto {
|
||||
|
||||
private String description;
|
||||
|
||||
//1是在线 0是离线
|
||||
private Integer type;
|
||||
//是否更新updateTime标志;数据上送更新1,状态翻转不更新0
|
||||
private Integer flag=0;
|
||||
|
||||
@@ -19,16 +19,13 @@ spring:
|
||||
cloud:
|
||||
nacos:
|
||||
discovery:
|
||||
ip: @service.server.url@
|
||||
server-addr: @nacos.url@
|
||||
namespace: @nacos.namespace@
|
||||
username: @nacos.username@
|
||||
password: @nacos.password@
|
||||
config:
|
||||
server-addr: @nacos.url@
|
||||
namespace: @nacos.namespace@
|
||||
username: @nacos.username@
|
||||
password: @nacos.password@
|
||||
server-addr: @nacos.url@
|
||||
namespace: @nacos.namespace@
|
||||
file-extension: yaml
|
||||
shared-configs:
|
||||
- data-id: share-config.yaml
|
||||
|
||||
Reference in New Issue
Block a user