微调
This commit is contained in:
@@ -133,10 +133,11 @@ public class CsDevModelServiceImpl implements ICsDevModelService {
|
||||
if (ObjectUtil.isNotNull(object)) {
|
||||
csLineFeignClient.updateDataByList(devList,csDevModelPo.getId(),object.toString());
|
||||
}
|
||||
//清空监测点缓存的模板信息
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
//5.清空模板缓存
|
||||
redisUtil.deleteKeysByString(AppRedisKey.DEV_MODEL);
|
||||
csLogsFeignClient.addUserLog(logDto);
|
||||
} catch (Exception e) {
|
||||
logDto.setResult(0);
|
||||
@@ -966,7 +967,7 @@ public class CsDevModelServiceImpl implements ICsDevModelService {
|
||||
if(CollectionUtil.isNotEmpty(setList)) {
|
||||
csDataSetService.addList(setList);
|
||||
setList.forEach(item->{
|
||||
if (Objects.equals(item.getName(),"统计数据")) {
|
||||
if (Objects.equals(item.getName(),"Ds$Pqd$Stat$01")) {
|
||||
redisUtil.saveByKeyWithExpire("setId:" + pId,item.getId(),30L);
|
||||
}
|
||||
});
|
||||
@@ -1273,7 +1274,7 @@ public class CsDevModelServiceImpl implements ICsDevModelService {
|
||||
showName = "APF模块8数据模板";
|
||||
break;
|
||||
case "Ds$Pqd$Stat$01":
|
||||
if (Objects.equals(code, DicDataEnum.CONNECT_DEV.getCode()) || Objects.isNull(code)){
|
||||
if (Objects.equals(code, DicDataEnum.CONNECT_DEV.getCode())){
|
||||
showName = "电网侧数据模板";
|
||||
} else if (Objects.equals(code, DicDataEnum.PORTABLE.getCode())){
|
||||
showName = "监测1#数据模板";
|
||||
@@ -1282,7 +1283,7 @@ public class CsDevModelServiceImpl implements ICsDevModelService {
|
||||
}
|
||||
break;
|
||||
case "Ds$Pqd$Stat$02":
|
||||
if (Objects.equals(code, DicDataEnum.CONNECT_DEV.getCode()) || Objects.isNull(code)){
|
||||
if (Objects.equals(code, DicDataEnum.CONNECT_DEV.getCode())){
|
||||
showName = "负载侧数据模板";
|
||||
} else if (Objects.equals(code, DicDataEnum.PORTABLE.getCode())){
|
||||
showName = "监测2#数据模板";
|
||||
|
||||
Reference in New Issue
Block a user