1.pms趋势图处理

2.device模块调整
This commit is contained in:
cdf
2024-08-22 09:27:49 +08:00
parent f27a107bba
commit d28a8f8fb1
4 changed files with 41 additions and 3 deletions

View File

@@ -33,6 +33,7 @@ import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.Arrays;
import java.util.List;
/**
@@ -63,7 +64,7 @@ public class HistoryResultController extends BaseController {
public HttpResult<List<HistoryDataResultVO>> getHistoryResult(@RequestBody @Validated HistoryParam historyParam) {
String methodDescribe = getMethodDescribe("getHistoryResult");
List<HistoryDataResultVO> list;
if (HistoryDataSource == 1) {
if (HistoryDataSource == 1 && !historyParam.getLineId()[0].contains("pmswifi_")) {
list = oracleResultService.getHistoryResult(historyParam);
} else {
list = historyResultService.getHistoryResult(historyParam);