调整实体
This commit is contained in:
@@ -184,7 +184,7 @@ public class IDataCrossingServiceImpl implements IDataCrossingService {
|
|||||||
.collect(Collectors.groupingBy(DataVDto::getLineId));
|
.collect(Collectors.groupingBy(DataVDto::getLineId));
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 功能描述:获取influxDB -> data_plt -> 长时间闪变 -> 最大值(原始算法去掉了)
|
* 功能描述:获取influxDB -> data_plt -> 长时间闪变 -> 注(取最大值原始算法去掉了,现没有根据最大值比较)
|
||||||
*/
|
*/
|
||||||
Map<String, List<DataPltDto>> dataPlt = dataFlickerAllTime.stream()
|
Map<String, List<DataPltDto>> dataPlt = dataFlickerAllTime.stream()
|
||||||
.filter(x -> phase.contains(x.getPhasicType()))
|
.filter(x -> phase.contains(x.getPhasicType()))
|
||||||
@@ -851,7 +851,7 @@ public class IDataCrossingServiceImpl implements IDataCrossingService {
|
|||||||
if(CollUtil.isNotEmpty(info)){
|
if(CollUtil.isNotEmpty(info)){
|
||||||
return JSON.toJSONString(info);
|
return JSON.toJSONString(info);
|
||||||
}
|
}
|
||||||
return null;
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
private void addAbnormalData(List<AbnormalData> list,String phasicType, String valueType, String time, Double value, float overLimitValue) {
|
private void addAbnormalData(List<AbnormalData> list,String phasicType, String valueType, String time, Double value, float overLimitValue) {
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ public class PqsCommunicate {
|
|||||||
@JsonSerialize(using = InstantDateSerializer.class)
|
@JsonSerialize(using = InstantDateSerializer.class)
|
||||||
private Instant time;
|
private Instant time;
|
||||||
|
|
||||||
@Column(name = "id",tag = true)
|
@Column(name = "dev_id",tag = true)
|
||||||
private String devId;
|
private String devId;
|
||||||
|
|
||||||
@Column(name = "description")
|
@Column(name = "description")
|
||||||
|
|||||||
@@ -17,9 +17,9 @@ import java.util.List;
|
|||||||
* @Author: wr
|
* @Author: wr
|
||||||
* @Date: 2025/3/6 10:22
|
* @Date: 2025/3/6 10:22
|
||||||
*/
|
*/
|
||||||
@Service("InfluxdbIntegrityImpl")
|
@Service("InfluxdbDataIntegrityImpl")
|
||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
public class InfluxdbIntegrityImpl extends MppServiceImpl<RStatIntegrityDMapper, RStatIntegrityD> implements IDataIntegrity {
|
public class InfluxdbDataIntegrityImpl extends MppServiceImpl<RStatIntegrityDMapper, RStatIntegrityD> implements IDataIntegrity {
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@@ -15,9 +15,9 @@ import java.util.List;
|
|||||||
* @Author: wr
|
* @Author: wr
|
||||||
* @Date: 2025/3/7 10:13
|
* @Date: 2025/3/7 10:13
|
||||||
*/
|
*/
|
||||||
@Service("InfluxdbLimitRateDetailImpl")
|
@Service("InfluxdbDataLimitRateDetailImpl")
|
||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
public class InfluxdbLimitRateDetailImpl extends MppServiceImpl<RStatLimitRateDetailRelationMapper, RStatLimitRateDetailD> implements IDataLimitRateDetail {
|
public class InfluxdbDataLimitRateDetailImpl extends MppServiceImpl<RStatLimitRateDetailRelationMapper, RStatLimitRateDetailD> implements IDataLimitRateDetail {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void batchInsertion(List<DataLimitRateDetailDto> limitRateList) {
|
public void batchInsertion(List<DataLimitRateDetailDto> limitRateList) {
|
||||||
@@ -15,9 +15,9 @@ import java.util.List;
|
|||||||
* @Author: wr
|
* @Author: wr
|
||||||
* @Date: 2025/3/7 10:13
|
* @Date: 2025/3/7 10:13
|
||||||
*/
|
*/
|
||||||
@Service("InfluxdbLimitRateImpl")
|
@Service("InfluxdbDataLimitRateImpl")
|
||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
public class InfluxdbLimitRateImpl extends MppServiceImpl<RStatLimitRateRelationMapper, RStatLimitRateD> implements IDataLimitRate {
|
public class InfluxdbDataLimitRateImpl extends MppServiceImpl<RStatLimitRateRelationMapper, RStatLimitRateD> implements IDataLimitRate {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void batchInsertion(List<DataLimitRateDto> limitRateList) {
|
public void batchInsertion(List<DataLimitRateDto> limitRateList) {
|
||||||
@@ -17,9 +17,9 @@ import java.util.List;
|
|||||||
* @Author: wr
|
* @Author: wr
|
||||||
* @Date: 2025/3/6 10:22
|
* @Date: 2025/3/6 10:22
|
||||||
*/
|
*/
|
||||||
@Service("InfluxdbOnlineRateImpl")
|
@Service("InfluxdbDataOnlineRateImpl")
|
||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
public class InfluxdbOnlineRateImpl extends MppServiceImpl<RStatOnlineRateDMapper, RStatOnlineRateD> implements IDataOnlineRate {
|
public class InfluxdbDataOnlineRateImpl extends MppServiceImpl<RStatOnlineRateDMapper, RStatOnlineRateD> implements IDataOnlineRate {
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@@ -17,9 +17,9 @@ import java.util.List;
|
|||||||
* @Author: wr
|
* @Author: wr
|
||||||
* @Date: 2025/3/6 10:22
|
* @Date: 2025/3/6 10:22
|
||||||
*/
|
*/
|
||||||
@Service("RelationIntegrityImpl")
|
@Service("RelationDataIntegrityImpl")
|
||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
public class RelationIntegrityImpl extends MppServiceImpl<RStatIntegrityDMapper, RStatIntegrityD> implements IDataIntegrity {
|
public class RelationDataIntegrityImpl extends MppServiceImpl<RStatIntegrityDMapper, RStatIntegrityD> implements IDataIntegrity {
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@@ -18,9 +18,9 @@ import java.util.List;
|
|||||||
* @Author: wr
|
* @Author: wr
|
||||||
* @Date: 2025/3/7 10:13
|
* @Date: 2025/3/7 10:13
|
||||||
*/
|
*/
|
||||||
@Service("RelationLimitRateDetailImpl")
|
@Service("RelationDataLimitRateDetailImpl")
|
||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
public class RelationLimitRateDetailImpl extends MppServiceImpl<RStatLimitRateDetailRelationMapper, RStatLimitRateDetailD> implements IDataLimitRateDetail {
|
public class RelationDataLimitRateDetailImpl extends MppServiceImpl<RStatLimitRateDetailRelationMapper, RStatLimitRateDetailD> implements IDataLimitRateDetail {
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@@ -19,9 +19,9 @@ import java.util.List;
|
|||||||
* @Author: wr
|
* @Author: wr
|
||||||
* @Date: 2025/3/7 10:13
|
* @Date: 2025/3/7 10:13
|
||||||
*/
|
*/
|
||||||
@Service("RelationLimitRateImpl")
|
@Service("RelationDataLimitRateImpl")
|
||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
public class RelationLimitRateImpl extends MppServiceImpl<RStatLimitRateRelationMapper, RStatLimitRateD> implements IDataLimitRate {
|
public class RelationDataLimitRateImpl extends MppServiceImpl<RStatLimitRateRelationMapper, RStatLimitRateD> implements IDataLimitRate {
|
||||||
|
|
||||||
@Resource
|
@Resource
|
||||||
private IDataLimitRate limitRate;
|
private IDataLimitRate limitRate;
|
||||||
@@ -19,9 +19,9 @@ import java.util.List;
|
|||||||
* @Author: wr
|
* @Author: wr
|
||||||
* @Date: 2025/3/6 10:22
|
* @Date: 2025/3/6 10:22
|
||||||
*/
|
*/
|
||||||
@Service("RelationOnlineRateImpl")
|
@Service("RelationDataOnlineRateImpl")
|
||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
public class RelationOnlineRateImpl extends MppServiceImpl<RStatOnlineRateDMapper, RStatOnlineRateD> implements IDataOnlineRate {
|
public class RelationDataOnlineRateImpl extends MppServiceImpl<RStatOnlineRateDMapper, RStatOnlineRateD> implements IDataOnlineRate {
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@@ -43,7 +43,7 @@ public class ProduceController extends BaseController {
|
|||||||
@PostMapping("/recall")
|
@PostMapping("/recall")
|
||||||
@OperateInfo(info = LogEnum.BUSINESS_COMMON)
|
@OperateInfo(info = LogEnum.BUSINESS_COMMON)
|
||||||
@ApiOperation("数据补招消息推送")
|
@ApiOperation("数据补招消息推送")
|
||||||
@ApiImplicitParam(name = "param", value = "参数", required = true)
|
@ApiImplicitParam(name = "message", value = "参数", required = true)
|
||||||
public HttpResult<Boolean> recall(@RequestBody RecallMessage message){
|
public HttpResult<Boolean> recall(@RequestBody RecallMessage message){
|
||||||
String methodDescribe = getMethodDescribe("recall");
|
String methodDescribe = getMethodDescribe("recall");
|
||||||
BaseMessage baseMessage = new BaseMessage();
|
BaseMessage baseMessage = new BaseMessage();
|
||||||
@@ -55,7 +55,7 @@ public class ProduceController extends BaseController {
|
|||||||
@PostMapping("/askRestartDevice")
|
@PostMapping("/askRestartDevice")
|
||||||
@OperateInfo(info = LogEnum.BUSINESS_COMMON)
|
@OperateInfo(info = LogEnum.BUSINESS_COMMON)
|
||||||
@ApiOperation("请求前置重启进程消息推送")
|
@ApiOperation("请求前置重启进程消息推送")
|
||||||
@ApiImplicitParam(name = "param", value = "参数", required = true)
|
@ApiImplicitParam(name = "message", value = "参数", required = true)
|
||||||
public HttpResult<Boolean> askRestartDevice(@RequestBody DeviceRebootMessage message){
|
public HttpResult<Boolean> askRestartDevice(@RequestBody DeviceRebootMessage message){
|
||||||
String methodDescribe = getMethodDescribe("recall");
|
String methodDescribe = getMethodDescribe("recall");
|
||||||
BaseMessage baseMessage = new BaseMessage();
|
BaseMessage baseMessage = new BaseMessage();
|
||||||
@@ -67,7 +67,7 @@ public class ProduceController extends BaseController {
|
|||||||
@PostMapping("/askRestartProcess")
|
@PostMapping("/askRestartProcess")
|
||||||
@OperateInfo(info = LogEnum.BUSINESS_COMMON)
|
@OperateInfo(info = LogEnum.BUSINESS_COMMON)
|
||||||
@ApiOperation("请求前置重启设备消息推送")
|
@ApiOperation("请求前置重启设备消息推送")
|
||||||
@ApiImplicitParam(name = "param", value = "参数", required = true)
|
@ApiImplicitParam(name = "message", value = "参数", required = true)
|
||||||
public HttpResult<Boolean> askRestartProcess(@RequestBody ProcessRebootMessage message){
|
public HttpResult<Boolean> askRestartProcess(@RequestBody ProcessRebootMessage message){
|
||||||
String methodDescribe = getMethodDescribe("recall");
|
String methodDescribe = getMethodDescribe("recall");
|
||||||
BaseMessage baseMessage = new BaseMessage();
|
BaseMessage baseMessage = new BaseMessage();
|
||||||
|
|||||||
Reference in New Issue
Block a user