1.数据中心bug解决

This commit is contained in:
wr
2023-09-13 16:21:53 +08:00
parent 995b665ae4
commit 9c3464c998
3 changed files with 6 additions and 3 deletions

View File

@@ -811,7 +811,10 @@ public class HistoryResultServiceImpl implements HistoryResultService {
if (Integer.parseInt(normHistoryParam.getTargetCode()) != 60 || Integer.parseInt(normHistoryParam.getTargetCode()) != 61 || Integer.parseInt(normHistoryParam.getTargetCode()) != 62) {
stringBuilder.append(" and ").append(InfluxDBTableConstant.VALUE_TYPE + "='").append(valueTypeName).append("'");
}
stringBuilder.append(" and ").append("phasic_type ='").append(phasicType).append("'");
if(StrUtil.isNotBlank(phasicType)){
stringBuilder.append(" and ").append("phasic_type ='").append(phasicType).append("'");
}
String sql = "";
List<String> unit = new ArrayList<>();
Integer number = normHistoryParam.getNumber();