代码调整

This commit is contained in:
2022-11-01 20:14:55 +08:00
parent cc0c1becd5
commit 33c9d309c7
738 changed files with 78923 additions and 11607 deletions

View File

@@ -14,6 +14,8 @@
<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<org.projectlombok.version>1.18.6</org.projectlombok.version>
<org.mapstruct.version>1.3.0.Final</org.mapstruct.version>
</properties>
@@ -59,6 +61,43 @@
<groupId>com.njcn</groupId>
<artifactId>common-redis</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.njcn</groupId>
<artifactId>system-api</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.njcn</groupId>
<artifactId>energy-api</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.github.jeffreyning</groupId>
<artifactId>mybatisplus-plus</artifactId>
<version>1.5.1-RELEASE</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct-jdk8</artifactId>
<version>${org.mapstruct.version}</version>
</dependency>
<dependency>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct-processor</artifactId>
<version>${org.mapstruct.version}</version>
</dependency>
<!-- 要与mapstruct版本匹配用同一时间的版本,不然会出现各种问题 -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${org.projectlombok.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>

View File

@@ -1,5 +1,6 @@
package com.njcn.prepare.harmonic;
import com.github.jeffreyning.mybatisplus.conf.EnableMPP;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
@@ -12,8 +13,10 @@ import org.springframework.cloud.openfeign.EnableFeignClients;
* @date 2021年12月14日 20:33
*/
@Slf4j
@MapperScan("com.njcn.**.mapper")
@EnableFeignClients(basePackages = "com.njcn")
@SpringBootApplication(scanBasePackages = "com.njcn")
@EnableMPP
public class PrepareHarmonicApplication {
public static void main(String[] args) {

View File

@@ -0,0 +1,31 @@
package com.njcn.prepare.harmonic.api.line;
import com.njcn.common.pojo.constant.ServerInfo;
import com.njcn.common.pojo.response.HttpResult;
import com.njcn.prepare.harmonic.api.line.fallback.CoustomReportFeignClientFallbackFactory;
import com.njcn.prepare.harmonic.pojo.param.LineParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
/**
* 自定义报表
* @author qijian
* @date 2022/10/20
*/
@FeignClient(
value = ServerInfo.HARMONIC_PREPARE,//对应模块名
path = "/report",//对应controller请求类
fallbackFactory = CoustomReportFeignClientFallbackFactory.class//服务降级处理类
)
public interface CoustmReportFeignClient {
/**
* 批量处理报表
* @author qijian
* @date 2022/10/19
*/
@PostMapping("/batchReport")
HttpResult<Boolean> batchReport(@RequestBody LineParam reportParam);
}

View File

@@ -0,0 +1,33 @@
package com.njcn.prepare.harmonic.api.line;
import com.njcn.common.pojo.constant.ServerInfo;
import com.njcn.common.pojo.response.HttpResult;
import com.njcn.prepare.harmonic.api.line.fallback.DayDataFeignClientFallbackFactory;
import com.njcn.prepare.harmonic.pojo.param.LimitRateHanlderParam;
import com.njcn.prepare.harmonic.pojo.param.LineParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
/**
* 自定义报表
* @author qijian
* @date 2022/10/20
*/
@FeignClient(
value = ServerInfo.HARMONIC_PREPARE,//对应模块名
path = "/daydata",//对应controller请求类
fallbackFactory = DayDataFeignClientFallbackFactory.class//服务降级处理类
)
public interface DayDataFeignClient {
/**
* 批量处理报表
* @author qijian
* @date 2022/10/19
*/
@PostMapping("/dataToDayHanlder")
HttpResult<Boolean> dayDataHanlder(@RequestBody LimitRateHanlderParam jobParam);
}

View File

@@ -0,0 +1,32 @@
package com.njcn.prepare.harmonic.api.line;
import com.njcn.common.pojo.constant.ServerInfo;
import com.njcn.common.pojo.response.HttpResult;
import com.njcn.prepare.harmonic.api.line.fallback.IntegrityFeignClientFallbackFactory;
import com.njcn.prepare.harmonic.pojo.param.LineParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
/**
* 自定义报表
* @author qijian
* @date 2022/10/20
*/
@FeignClient(
value = ServerInfo.HARMONIC_PREPARE,//对应模块名
path = "/integrity",//对应controller请求类
fallbackFactory = IntegrityFeignClientFallbackFactory.class//服务降级处理类
)
public interface IntegrityFeignClient {
/**
* 批量处理报表
* @author qijian
* @date 2022/10/19
*/
@PostMapping("/computeDataIntegrity")
HttpResult<String> computeDataIntegrity(@RequestBody @Validated LineParam lineParam);
}

View File

@@ -0,0 +1,32 @@
package com.njcn.prepare.harmonic.api.line;
import com.njcn.common.pojo.constant.ServerInfo;
import com.njcn.common.pojo.response.HttpResult;
import com.njcn.prepare.harmonic.api.line.fallback.LimitTargetFeignClientFallbackFactory;
import com.njcn.prepare.harmonic.pojo.param.LineParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
/**
* 自定义报表
* @author qijian
* @date 2022/10/20
*/
@FeignClient(
value = ServerInfo.HARMONIC_PREPARE,//对应模块名
path = "/limitTarget",//对应controller请求类
fallbackFactory = LimitTargetFeignClientFallbackFactory.class//服务降级处理类
)
public interface LimitTargetFeignClient {
/**
* 批量处理报表
* @author qijian
* @date 2022/10/19
*/
@PostMapping("/getLimitTargetData")
HttpResult<String> getLimitTargetData(@RequestBody @Validated LineParam lineParam);
}

View File

@@ -0,0 +1,32 @@
package com.njcn.prepare.harmonic.api.line;
import com.njcn.common.pojo.constant.ServerInfo;
import com.njcn.common.pojo.response.HttpResult;
import com.njcn.prepare.harmonic.api.line.fallback.LimitTargetFeignClientFallbackFactory;
import com.njcn.prepare.harmonic.api.line.fallback.LimitrateFeignClientFallbackFactory;
import com.njcn.prepare.harmonic.pojo.param.LimitRateHanlderParam;
import com.njcn.prepare.harmonic.pojo.param.LineParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
/**
* 自定义报表
* @author qijian
* @date 2022/10/20
*/
@FeignClient(
value = ServerInfo.HARMONIC_PREPARE,//对应模块名
path = "/limitrate",//对应controller请求类
fallbackFactory = LimitrateFeignClientFallbackFactory.class//服务降级处理类
)
public interface LimitrateFeignClient {
/**
* 越限
*/
@PostMapping("/LimitRateHanlder")
HttpResult<Boolean> limitRateHanlder(@RequestBody LimitRateHanlderParam limitRateHanlderParam );
}

View File

@@ -0,0 +1,31 @@
package com.njcn.prepare.harmonic.api.line;
import com.njcn.common.pojo.constant.ServerInfo;
import com.njcn.common.pojo.response.HttpResult;
import com.njcn.prepare.harmonic.api.line.fallback.NormalFeignClientFallbackFactory;
import com.njcn.prepare.harmonic.pojo.param.LineParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
/**
* 自定义报表
* @author qijian
* @date 2022/10/20
*/
@FeignClient(
value = ServerInfo.HARMONIC_PREPARE,//对应模块名
path = "/normalLimit",//对应controller请求类
fallbackFactory = NormalFeignClientFallbackFactory.class//服务降级处理类
)
public interface NormalLimitFeignClient {
/**
* 批量处理报表
* @author qijian
* @date 2022/10/19
*/
@PostMapping("/getNormLimitData")
HttpResult<String> getNormLimitData() ;
}

View File

@@ -0,0 +1,30 @@
package com.njcn.prepare.harmonic.api.line;
import com.njcn.common.pojo.constant.ServerInfo;
import com.njcn.common.pojo.response.HttpResult;
import com.njcn.prepare.harmonic.api.line.fallback.OnlineRateFeignClientFallbackFactory;
import com.njcn.prepare.harmonic.pojo.param.LineParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
/**
* 自定义报表
* @author qijian
* @date 2022/10/20
*/
@FeignClient(
value = ServerInfo.HARMONIC_PREPARE,//对应模块名
path = "/onlineRate",//对应controller请求类
fallbackFactory = OnlineRateFeignClientFallbackFactory.class//服务降级处理类
)
public interface OnlineRateFeignClient {
/**
* 在线率
*/
@PostMapping("/getOnlineRateData")
HttpResult<String> getOnlineRateData(@RequestBody @Validated LineParam lineParam);
}

View File

@@ -0,0 +1,30 @@
package com.njcn.prepare.harmonic.api.line;
import com.njcn.common.pojo.constant.ServerInfo;
import com.njcn.common.pojo.response.HttpResult;
import com.njcn.prepare.harmonic.api.line.fallback.PollutionFeignClientFallbackFactory;
import com.njcn.prepare.harmonic.pojo.param.LineParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
/**
* 自定义报表
* @author qijian
* @date 2022/10/20
*/
@FeignClient(
value = ServerInfo.HARMONIC_PREPARE,//对应模块名
path = "/pollution",//对应controller请求类
fallbackFactory = PollutionFeignClientFallbackFactory.class//服务降级处理类
)
public interface PollutionFeignClient {
/**
* 污区
*/
@PostMapping("/processPollutionData")
HttpResult<String> processPollutionData(@RequestBody @Validated LineParam lineParam);
}

View File

@@ -0,0 +1,44 @@
package com.njcn.prepare.harmonic.api.line.fallback;
import com.njcn.common.pojo.enums.response.CommonResponseEnum;
import com.njcn.common.pojo.exception.BusinessException;
import com.njcn.common.pojo.response.HttpResult;
import com.njcn.device.pq.utils.DeviceEnumUtil;
import com.njcn.prepare.harmonic.api.line.CoustmReportFeignClient;
import com.njcn.prepare.harmonic.api.line.DayDataFeignClient;
import com.njcn.prepare.harmonic.pojo.param.LimitRateHanlderParam;
import com.njcn.prepare.harmonic.pojo.param.LineParam;
import feign.hystrix.FallbackFactory;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestBody;
/**
* ReportFeignClientFallbackFactory
*
* @author qijian
* @version 1.0.0
* @createTime 2022/10/24 - 9:52
*/
@Slf4j
@Component
public class CoustomReportFeignClientFallbackFactory implements FallbackFactory<CoustmReportFeignClient> {
@Override
public CoustmReportFeignClient create(Throwable throwable) {
Enum<?> exceptionEnum = CommonResponseEnum.SERVICE_FALLBACK;
if (throwable.getCause() instanceof BusinessException) {
BusinessException businessException = (BusinessException)throwable.getCause();
exceptionEnum = DeviceEnumUtil.getExceptionEnum(businessException.getResult());
}
Enum<?> finalExceptionEnum = exceptionEnum;
return new CoustmReportFeignClient() {
@Override
public HttpResult<Boolean> batchReport(@RequestBody LineParam reportParam){
log.error("{}异常,降级处理,异常为:{}", "Date数据转Day数据: ", throwable.toString());
throw new BusinessException(finalExceptionEnum);
}
};
}
}

View File

@@ -0,0 +1,43 @@
package com.njcn.prepare.harmonic.api.line.fallback;
import com.njcn.common.pojo.enums.response.CommonResponseEnum;
import com.njcn.common.pojo.exception.BusinessException;
import com.njcn.common.pojo.response.HttpResult;
import com.njcn.device.pq.utils.DeviceEnumUtil;
import com.njcn.prepare.harmonic.api.line.DayDataFeignClient;
import com.njcn.prepare.harmonic.pojo.param.LimitRateHanlderParam;
import com.njcn.prepare.harmonic.pojo.param.LineParam;
import feign.hystrix.FallbackFactory;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestBody;
/**
* ReportFeignClientFallbackFactory
*
* @author qijian
* @version 1.0.0
* @createTime 2022/10/24 - 9:52
*/
@Slf4j
@Component
public class DayDataFeignClientFallbackFactory implements FallbackFactory<DayDataFeignClient> {
@Override
public DayDataFeignClient create(Throwable throwable) {
Enum<?> exceptionEnum = CommonResponseEnum.SERVICE_FALLBACK;
if (throwable.getCause() instanceof BusinessException) {
BusinessException businessException = (BusinessException)throwable.getCause();
exceptionEnum = DeviceEnumUtil.getExceptionEnum(businessException.getResult());
}
Enum<?> finalExceptionEnum = exceptionEnum;
return new DayDataFeignClient() {
@Override
public HttpResult<Boolean> dayDataHanlder(@RequestBody LimitRateHanlderParam jobParam){
log.error("{}异常,降级处理,异常为:{}", "Date数据转Day数据: ", throwable.toString());
throw new BusinessException(finalExceptionEnum);
}
};
}
}

View File

@@ -0,0 +1,39 @@
package com.njcn.prepare.harmonic.api.line.fallback;
import com.njcn.common.pojo.enums.response.CommonResponseEnum;
import com.njcn.common.pojo.exception.BusinessException;
import com.njcn.common.pojo.response.HttpResult;
import com.njcn.device.pq.utils.DeviceEnumUtil;
import com.njcn.prepare.harmonic.api.line.IntegrityFeignClient;
import com.njcn.prepare.harmonic.pojo.param.LineParam;
import feign.hystrix.FallbackFactory;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.RequestBody;
/**
* IntegrityFeignClientFallbackFactory
*/
@Slf4j
@Component
public class IntegrityFeignClientFallbackFactory implements FallbackFactory<IntegrityFeignClient> {
@Override
public IntegrityFeignClient create(Throwable throwable) {
Enum<?> exceptionEnum = CommonResponseEnum.SERVICE_FALLBACK;
if (throwable.getCause() instanceof BusinessException) {
BusinessException businessException = (BusinessException)throwable.getCause();
exceptionEnum = DeviceEnumUtil.getExceptionEnum(businessException.getResult());
}
Enum<?> finalExceptionEnum = exceptionEnum;
return new IntegrityFeignClient() {
@Override
public HttpResult<String> computeDataIntegrity(@RequestBody @Validated LineParam lineParam) {
log.error("{}异常,降级处理,异常为:{}", "数据完整性处理: ", throwable.toString());
throw new BusinessException(finalExceptionEnum);
}
};
}
}

View File

@@ -0,0 +1,43 @@
package com.njcn.prepare.harmonic.api.line.fallback;
import com.njcn.common.pojo.enums.response.CommonResponseEnum;
import com.njcn.common.pojo.exception.BusinessException;
import com.njcn.common.pojo.response.HttpResult;
import com.njcn.device.pq.utils.DeviceEnumUtil;
import com.njcn.prepare.harmonic.api.line.LimitTargetFeignClient;
import com.njcn.prepare.harmonic.pojo.param.LineParam;
import feign.hystrix.FallbackFactory;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.RequestBody;
/**
* ReportFeignClientFallbackFactory
*
* @author qijian
* @version 1.0.0
* @createTime 2022/10/24 - 9:52
*/
@Slf4j
@Component
public class LimitTargetFeignClientFallbackFactory implements FallbackFactory<LimitTargetFeignClient> {
@Override
public LimitTargetFeignClient create(Throwable throwable) {
Enum<?> exceptionEnum = CommonResponseEnum.SERVICE_FALLBACK;
if (throwable.getCause() instanceof BusinessException) {
BusinessException businessException = (BusinessException)throwable.getCause();
exceptionEnum = DeviceEnumUtil.getExceptionEnum(businessException.getResult());
}
Enum<?> finalExceptionEnum = exceptionEnum;
return new LimitTargetFeignClient() {
@Override
public HttpResult<String> getLimitTargetData(@RequestBody @Validated LineParam lineParam) {
log.error("{}异常,降级处理,异常为:{}", "越限数据: ", throwable.toString());
throw new BusinessException(finalExceptionEnum);
}
};
}
}

View File

@@ -0,0 +1,43 @@
package com.njcn.prepare.harmonic.api.line.fallback;
import com.njcn.common.pojo.enums.response.CommonResponseEnum;
import com.njcn.common.pojo.exception.BusinessException;
import com.njcn.common.pojo.response.HttpResult;
import com.njcn.device.pq.utils.DeviceEnumUtil;
import com.njcn.prepare.harmonic.api.line.LimitrateFeignClient;
import com.njcn.prepare.harmonic.pojo.param.LimitRateHanlderParam;
import com.njcn.prepare.harmonic.pojo.param.LineParam;
import feign.hystrix.FallbackFactory;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestBody;
/**
* ReportFeignClientFallbackFactory
*
* @author qijian
* @version 1.0.0
* @createTime 2022/10/24 - 9:52
*/
@Slf4j
@Component
public class LimitrateFeignClientFallbackFactory implements FallbackFactory<LimitrateFeignClient> {
@Override
public LimitrateFeignClient create(Throwable throwable) {
Enum<?> exceptionEnum = CommonResponseEnum.SERVICE_FALLBACK;
if (throwable.getCause() instanceof BusinessException) {
BusinessException businessException = (BusinessException)throwable.getCause();
exceptionEnum = DeviceEnumUtil.getExceptionEnum(businessException.getResult());
}
Enum<?> finalExceptionEnum = exceptionEnum;
return new LimitrateFeignClient() {
@Override
public HttpResult<Boolean> limitRateHanlder(@RequestBody LimitRateHanlderParam limitRateHanlderParam ){
log.error("{}异常,降级处理,异常为:{}", "越限数据处理: ", throwable.toString());
throw new BusinessException(finalExceptionEnum);
}
};
}
}

View File

@@ -0,0 +1,36 @@
package com.njcn.prepare.harmonic.api.line.fallback;
import com.njcn.common.pojo.enums.response.CommonResponseEnum;
import com.njcn.common.pojo.exception.BusinessException;
import com.njcn.common.pojo.response.HttpResult;
import com.njcn.device.pq.utils.DeviceEnumUtil;
import com.njcn.prepare.harmonic.api.line.NormalLimitFeignClient;
import feign.hystrix.FallbackFactory;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
/**
* NormalFeignClientFallbackFactory
*/
@Slf4j
@Component
public class NormalFeignClientFallbackFactory implements FallbackFactory<NormalLimitFeignClient> {
@Override
public NormalLimitFeignClient create(Throwable throwable) {
Enum<?> exceptionEnum = CommonResponseEnum.SERVICE_FALLBACK;
if (throwable.getCause() instanceof BusinessException) {
BusinessException businessException = (BusinessException)throwable.getCause();
exceptionEnum = DeviceEnumUtil.getExceptionEnum(businessException.getResult());
}
Enum<?> finalExceptionEnum = exceptionEnum;
return new NormalLimitFeignClient() {
@Override
public HttpResult<String> getNormLimitData() {
log.error("{}异常,降级处理,异常为:{}", "告警数据: ", throwable.toString());
throw new BusinessException(finalExceptionEnum);
}
};
}
}

View File

@@ -0,0 +1,39 @@
package com.njcn.prepare.harmonic.api.line.fallback;
import com.njcn.common.pojo.enums.response.CommonResponseEnum;
import com.njcn.common.pojo.exception.BusinessException;
import com.njcn.common.pojo.response.HttpResult;
import com.njcn.device.pq.utils.DeviceEnumUtil;
import com.njcn.prepare.harmonic.api.line.OnlineRateFeignClient;
import com.njcn.prepare.harmonic.pojo.param.LineParam;
import feign.hystrix.FallbackFactory;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.RequestBody;
/**
* OnlineRateFeignClientFallbackFactory
*/
@Slf4j
@Component
public class OnlineRateFeignClientFallbackFactory implements FallbackFactory<OnlineRateFeignClient> {
@Override
public OnlineRateFeignClient create(Throwable throwable) {
Enum<?> exceptionEnum = CommonResponseEnum.SERVICE_FALLBACK;
if (throwable.getCause() instanceof BusinessException) {
BusinessException businessException = (BusinessException)throwable.getCause();
exceptionEnum = DeviceEnumUtil.getExceptionEnum(businessException.getResult());
}
Enum<?> finalExceptionEnum = exceptionEnum;
return new OnlineRateFeignClient() {
@Override
public HttpResult<String> getOnlineRateData(@RequestBody @Validated LineParam lineParam){
log.error("{}异常,降级处理,异常为:{}", "在线率: ", throwable.toString());
throw new BusinessException(finalExceptionEnum);
}
};
}
}

View File

@@ -0,0 +1,40 @@
package com.njcn.prepare.harmonic.api.line.fallback;
import com.njcn.common.pojo.enums.response.CommonResponseEnum;
import com.njcn.common.pojo.exception.BusinessException;
import com.njcn.common.pojo.response.HttpResult;
import com.njcn.device.pq.utils.DeviceEnumUtil;
import com.njcn.prepare.harmonic.api.line.PollutionFeignClient;
import com.njcn.prepare.harmonic.pojo.param.LineParam;
import feign.hystrix.FallbackFactory;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.RequestBody;
/**
* PollutionFeignClientFallbackFactory
*
*/
@Slf4j
@Component
public class PollutionFeignClientFallbackFactory implements FallbackFactory<PollutionFeignClient> {
@Override
public PollutionFeignClient create(Throwable throwable) {
Enum<?> exceptionEnum = CommonResponseEnum.SERVICE_FALLBACK;
if (throwable.getCause() instanceof BusinessException) {
BusinessException businessException = (BusinessException)throwable.getCause();
exceptionEnum = DeviceEnumUtil.getExceptionEnum(businessException.getResult());
}
Enum<?> finalExceptionEnum = exceptionEnum;
return new PollutionFeignClient() {
@Override
public HttpResult<String> processPollutionData(@RequestBody @Validated LineParam lineParam){
log.error("{}异常,降级处理,异常为:{}", "污区数据: ", throwable.toString());
throw new BusinessException(finalExceptionEnum);
}
};
}
}

View File

@@ -0,0 +1,10 @@
package com.njcn.prepare.harmonic.api.voltage;
/**
* @author qijian
* @version 1.0.0
* @date 2022年10月24日 20:13
*/
public interface VoltageFeignClient {
}

View File

@@ -0,0 +1,15 @@
package com.njcn.prepare.harmonic.constant;
/**
* @author qijian
*/
public interface Param {
/**
* 稳态/固态
*/
Integer SOLID_STATE = 0;
Integer STEADY_STATE = 1;
}

View File

@@ -0,0 +1,71 @@
package com.njcn.prepare.harmonic.controller;
import com.njcn.influxdb.utils.InfluxDbUtils;
import com.njcn.prepare.harmonic.mapper.line.ExcelRptTempMapper;
import com.njcn.prepare.harmonic.pojo.po.DataVPO;
import com.njcn.prepare.harmonic.pojo.po.ExcelRptTemp;
import com.njcn.prepare.harmonic.service.Impl.line.LimitRateService;
import org.influxdb.dto.QueryResult;
import org.influxdb.impl.InfluxDBResultMapper;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
import org.springframework.test.context.web.WebAppConfiguration;
import java.text.ParseException;
import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.Stream;
/**
* Description:
* 接口文档访问地址http://serverIP:port/swagger-ui.html
* Date: 2022/10/18 20:15【需求编号】
*
* @author clam
* @version V1.0.0
*/
@RunWith(SpringRunner.class)
@WebAppConfiguration
@SpringBootTest
public class LimitRateServiceTest {
private @Autowired
LimitRateService limitRateService;
private @Autowired
InfluxDbUtils influxDbUtils;
private @Autowired
ExcelRptTempMapper excelRptTempMapper;
@Test
public void test() throws ParseException {
System.out.println("spring test start");
limitRateService.limitRateJobHandler (Stream.of ("8696be1d170e05b7d848accc059f4558" ).collect(Collectors.toList()), "2022-10-15 00:00:00", "2022-10-15 23:59:59");
}
@Test
public void test1(){
System.out.println("spring test start");
String sql ="SELECT * FROM data_v where time >= '2022-10-15 00:00:00' and time <= '2022-10-15 23:59:59' ";
influxDbUtils.setDbName ("pqsbase_test");
QueryResult sqlResult = influxDbUtils.query (sql);
InfluxDBResultMapper resultMapper = new InfluxDBResultMapper ( );
List<DataVPO> list = resultMapper.toPOJO (sqlResult, DataVPO.class);
System.out.println ("spring test end" );
}
@Test
public void test3(){
System.out.println("spring test start");
ExcelRptTemp excelRptTemp = excelRptTempMapper.selectById ("8c7f0cb540904ddeb8fbedef288579d7");
System.out.println (excelRptTemp.getId () );
// limitRateService.limitRateJobHandler (Stream.of ("8696be1d170e05b7d848accc059f4558" ).collect(Collectors.toList()), "2022-10-15 00:00:00", "2022-10-15 23:59:59");
}
}

View File

@@ -0,0 +1,9 @@
package com.njcn.prepare.harmonic.controller.area;
/**
* @author denghuajun
* @version 1.0.0
* @date 2022年10月17日 20:13
*/
public class AreaController {
}

View File

@@ -0,0 +1,9 @@
package com.njcn.prepare.harmonic.controller.device;
/**
* @author denghuajun
* @version 1.0.0
* @date 2022年10月17日 20:13
*/
public class DeviceController {
}

View File

@@ -0,0 +1,68 @@
package com.njcn.prepare.harmonic.controller.line;
import com.njcn.common.pojo.annotation.OperateInfo;
import com.njcn.common.pojo.enums.common.LogEnum;
import com.njcn.common.pojo.enums.response.CommonResponseEnum;
import com.njcn.common.pojo.response.HttpResult;
import com.njcn.common.utils.HttpResultUtil;
import com.njcn.device.pq.api.LineFeignClient;
import com.njcn.prepare.harmonic.pojo.param.LimitRateHanlderParam;
import com.njcn.prepare.harmonic.service.line.DayDataService;
import com.njcn.web.controller.BaseController;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.util.CollectionUtils;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.ArrayList;
import java.util.List;
/**
* Description:
* 接口文档访问地址http://serverIP:port/swagger-ui.html
* Date: 2022/10/24 9:26【需求编号】
*
* @author clam
* @version V1.0.0
*/
@Slf4j
@Api(tags = "日表数据处理")
@RestController
@RequestMapping("daydata")
@RequiredArgsConstructor
public class DayDataController extends BaseController {
private final LineFeignClient lineFeignClient;
private final DayDataService dayDataService;
@ApiOperation("day表定时任务")
@ApiImplicitParam(value = "jobParam",name = "jobParam",required = true)
@PostMapping("dayDataHanlder")
@OperateInfo(info = LogEnum.BUSINESS_MEDIUM)
public HttpResult<Boolean> dayDataHanlder(@RequestBody LimitRateHanlderParam jobParam ){
String methodDescribe = getMethodDescribe("dayDataHanlder");
Boolean result = true;
List<String> indexLists = new ArrayList<> ();
if(CollectionUtils.isEmpty (jobParam.getLineIds ())){
indexLists = lineFeignClient.getLineList ( ).getData ( );
}else{
indexLists = jobParam.getLineIds ();
}
dayDataService.dayDataJobHandler (indexLists,jobParam.getStartTime (),jobParam.getEndTime ());
if (result){
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, true, methodDescribe);
} else {
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.FAIL, false, methodDescribe);
}
}
}

View File

@@ -0,0 +1,46 @@
package com.njcn.prepare.harmonic.controller.line;
import com.njcn.common.pojo.annotation.OperateInfo;
import com.njcn.common.pojo.enums.common.LogEnum;
import com.njcn.common.pojo.enums.response.CommonResponseEnum;
import com.njcn.common.pojo.response.HttpResult;
import com.njcn.common.utils.HttpResultUtil;
import com.njcn.prepare.harmonic.pojo.param.LineParam;
import com.njcn.prepare.harmonic.service.line.IntegrityService;
import com.njcn.web.controller.BaseController;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* @author xiaoyao
* @version 1.0.0
* @createTime 2022/10/24 20:03
*/
@Slf4j
@Api(tags = "数据完整性统计")
@RestController
@RequestMapping("/integrity")
@RequiredArgsConstructor
public class IntegrityController extends BaseController {
private final IntegrityService integrityService;
@OperateInfo(info = LogEnum.BUSINESS_COMMON)
@PostMapping("/computeDataIntegrity")
@ApiOperation("数据完整性统计")
@ApiImplicitParam(name = "lineParam", value = "参数", required = true)
public HttpResult<String> computeDataIntegrity(@RequestBody @Validated LineParam lineParam){
String methodDescribe = getMethodDescribe("computeDataIntegrity");
String out = integrityService.computeDataIntegrity(lineParam);
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, out, methodDescribe);
}
}

View File

@@ -0,0 +1,46 @@
package com.njcn.prepare.harmonic.controller.line;
import com.njcn.common.pojo.annotation.OperateInfo;
import com.njcn.common.pojo.enums.common.LogEnum;
import com.njcn.common.pojo.enums.response.CommonResponseEnum;
import com.njcn.common.pojo.response.HttpResult;
import com.njcn.common.utils.HttpResultUtil;
import com.njcn.prepare.harmonic.pojo.param.LineParam;
import com.njcn.prepare.harmonic.service.line.LimitTargetService;
import com.njcn.web.controller.BaseController;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* @author xiaoyao
* @version 1.0.0
* @createTime 2022/10/26 13:32
*/
@Slf4j
@Api(tags = "监测点T相数据超限处理")
@RestController
@RequestMapping("/limitTarget")
@RequiredArgsConstructor
public class LimitTargetController extends BaseController {
private final LimitTargetService limitTargetService;
@OperateInfo(info = LogEnum.BUSINESS_COMMON)
@PostMapping("/getLimitTargetData")
@ApiOperation("生成limit_target表")
@ApiImplicitParam(name = "lineParam", value = "参数", required = true)
public HttpResult<String> getLimitTargetData(@RequestBody @Validated LineParam lineParam){
String methodDescribe = getMethodDescribe("getLimitTargetData");
limitTargetService.getLimitTargetData(lineParam);
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, null, methodDescribe);
}
}

View File

@@ -0,0 +1,69 @@
package com.njcn.prepare.harmonic.controller.line;
import com.njcn.common.pojo.annotation.OperateInfo;
import com.njcn.common.pojo.enums.common.LogEnum;
import com.njcn.common.pojo.enums.response.CommonResponseEnum;
import com.njcn.common.pojo.response.HttpResult;
import com.njcn.common.utils.HttpResultUtil;
import com.njcn.device.pq.api.LineFeignClient;
import com.njcn.prepare.harmonic.pojo.param.LimitRateHanlderParam;
import com.njcn.prepare.harmonic.service.Impl.line.LimitRateService;
import com.njcn.web.controller.BaseController;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.util.CollectionUtils;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.ArrayList;
import java.util.List;
/**
* Description:
* 接口文档访问地址http://serverIP:port/swagger-ui.html
* Date: 2022/10/19 9:58【需求编号】
*
* @author clam
* @version V1.0.0
*/
@Slf4j
@Api(tags = "监测点数据超限处理")
@RestController
@RequestMapping("limitrate")
@RequiredArgsConstructor
public class LimitrateController extends BaseController {
private final LimitRateService limitRateService;
private final LineFeignClient lineFeignClient;
@ApiOperation("limitrate表定时任务")
@ApiImplicitParam(value = "limitRateHanlderParam",name = "limitRateHanlderParam",required = true)
@PostMapping("LimitRateHanlder")
@OperateInfo(info = LogEnum.BUSINESS_MEDIUM)
public HttpResult<Boolean> limitRateHanlder(@RequestBody LimitRateHanlderParam limitRateHanlderParam ){
String methodDescribe = getMethodDescribe("limitRateHanlder");
Boolean result = true;
List<String> indexLists = new ArrayList<> ();
if(CollectionUtils.isEmpty (limitRateHanlderParam.getLineIds ())){
indexLists = lineFeignClient.getLineList ( ).getData ( );
}else{
indexLists = limitRateHanlderParam.getLineIds ();
}
limitRateService.limitRateJobHandler (indexLists,limitRateHanlderParam.getStartTime (),limitRateHanlderParam.getEndTime ());
if (result){
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, true, methodDescribe);
} else {
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.FAIL, false, methodDescribe);
}
}
}

View File

@@ -0,0 +1,40 @@
package com.njcn.prepare.harmonic.controller.line;
import com.njcn.common.pojo.annotation.OperateInfo;
import com.njcn.common.pojo.enums.common.LogEnum;
import com.njcn.common.pojo.enums.response.CommonResponseEnum;
import com.njcn.common.pojo.response.HttpResult;
import com.njcn.common.utils.HttpResultUtil;
import com.njcn.prepare.harmonic.service.line.NormalLimitService;
import com.njcn.web.controller.BaseController;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* @author denghuajun
* @version 1.0.0
* @date 2022年10月17日 19:56
*/
@Slf4j
@RestController
@RequestMapping("/normalLimit")
@Api(tags = "告警数据预处理")
@AllArgsConstructor
public class NormalLimitController extends BaseController {
private final NormalLimitService normLimitService;
@OperateInfo(info = LogEnum.BUSINESS_COMMON)
@PostMapping("/getNormLimitData")
@ApiOperation("告警数据预处理")
public HttpResult<String> getNormLimitData() {
String methodDescribe = getMethodDescribe("getNormLimitData");
String list = normLimitService.getNormLimitData();
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, list, methodDescribe);
}
}

View File

@@ -0,0 +1,49 @@
package com.njcn.prepare.harmonic.controller.line;
import com.njcn.common.pojo.annotation.OperateInfo;
import com.njcn.common.pojo.enums.common.LogEnum;
import com.njcn.common.pojo.enums.response.CommonResponseEnum;
import com.njcn.common.pojo.response.HttpResult;
import com.njcn.common.utils.HttpResultUtil;
import com.njcn.prepare.harmonic.pojo.param.LineParam;
import com.njcn.prepare.harmonic.service.line.OnlineRateService;
import com.njcn.web.controller.BaseController;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* 生成在线率数据表
*
* @author xiaoyao
* @version 1.0.0
* @createTime 2022/10/27 9:17
*/
@Slf4j
@Api(tags = "生成在线率数据表")
@RestController
@RequestMapping("/onlineRate")
@RequiredArgsConstructor
public class OnlineRateController extends BaseController {
private final OnlineRateService onlineRateService;
@OperateInfo(info = LogEnum.BUSINESS_COMMON)
@PostMapping("/getOnlineRateData")
@ApiOperation("生成在线率数据")
@ApiImplicitParam(name = "lineParam", value = "参数", required = true)
public HttpResult<String> getOnlineRateData(@RequestBody @Validated LineParam lineParam){
String methodDescribe = getMethodDescribe("getOnlineRateData");
onlineRateService.getOnlineRateData(lineParam);
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, null, methodDescribe);
}
}

View File

@@ -0,0 +1,54 @@
package com.njcn.prepare.harmonic.controller.line;
import com.njcn.common.pojo.annotation.OperateInfo;
import com.njcn.common.pojo.enums.common.LogEnum;
import com.njcn.common.pojo.enums.response.CommonResponseEnum;
import com.njcn.common.pojo.param.StatisticsBizBaseParam;
import com.njcn.common.pojo.response.HttpResult;
import com.njcn.common.utils.HttpResultUtil;
import com.njcn.prepare.harmonic.pojo.param.LineParam;
import com.njcn.prepare.harmonic.service.line.PollutionService;
import com.njcn.web.controller.BaseController;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.servlet.http.HttpServletResponse;
/**
* 监测点污染指标
*
* @author xiaoyao
* @version 1.0.0
* @createTime 2022/10/18 8:54
*/
@Slf4j
@Api(tags = "监测点污染指标")
@RestController
@RequestMapping("/pollution")
@RequiredArgsConstructor
public class PollutionController extends BaseController {
private final PollutionService pollutionService;
@OperateInfo(info = LogEnum.BUSINESS_COMMON)
@PostMapping("/processPollutionData")
@ApiOperation("处理监测点污染指标")
@ApiImplicitParam(name = "lineParam", value = "参数", required = true)
public HttpResult<String> processPollutionData(@RequestBody @Validated LineParam lineParam){
String methodDescribe = getMethodDescribe("processPollutionData");
pollutionService.processPollutionData(lineParam);
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, null, methodDescribe);
}
}

View File

@@ -0,0 +1,57 @@
package com.njcn.prepare.harmonic.controller.line;
import com.njcn.common.pojo.annotation.OperateInfo;
import com.njcn.common.pojo.enums.common.LogEnum;
import com.njcn.common.pojo.enums.response.CommonResponseEnum;
import com.njcn.common.pojo.response.HttpResult;
import com.njcn.common.utils.HttpResultUtil;
import com.njcn.prepare.harmonic.pojo.param.LineParam;
import com.njcn.prepare.harmonic.service.line.ReportService;
import com.njcn.web.controller.BaseController;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* 自定义报表
* @author qijian
* @date 2022/10/20
*/
@Slf4j
@RestController
@RequestMapping("/report")
@Api(tags = "自定义报表")
@AllArgsConstructor
public class ReportController extends BaseController {
private final ReportService reportService;
/**
* 批量处理报表
* @author qijian
* @date 2022/10/19
*/
@OperateInfo(info = LogEnum.BUSINESS_COMMON)
@PostMapping("/batchReport")
@ApiOperation("批量处理报表")
@ApiImplicitParam(name = "reportParam", value = "查询体", required = true)
public HttpResult<Boolean> batchReport(@RequestBody @Validated LineParam reportParam){
String methodDescribe = getMethodDescribe("batchReport");
boolean res = reportService.batchReport(reportParam);
if(res){
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, null, methodDescribe);
}else {
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.FAIL, null, methodDescribe);
}
}
}

View File

@@ -0,0 +1,9 @@
package com.njcn.prepare.harmonic.controller.substion;
/**
* @author denghuajun
* @version 1.0.0
* @date 2022年10月17日 20:13
*/
public class SubstionController {
}

View File

@@ -0,0 +1,9 @@
package com.njcn.prepare.harmonic.controller.voltage;
/**
* @author denghuajun
* @version 1.0.0
* @date 2022年10月17日 20:13
*/
public class VoltageController {
}

View File

@@ -0,0 +1,9 @@
package com.njcn.prepare.harmonic.mapper.area;
/**
* @author denghuajun
* @version 1.0.0
* @date 2022年10月17日 20:15
*/
public interface AreaMapper {
}

View File

@@ -0,0 +1,5 @@
package com.njcn.prepare.harmonic.mapper.device;
public interface DeviceMapper {
}

View File

@@ -0,0 +1,12 @@
package com.njcn.prepare.harmonic.mapper.line;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.njcn.prepare.harmonic.pojo.po.AbnormalPO;
/**
* @author denghuajun
* @version 1.0.0
* @date 2022年10月18日 11:12
*/
public interface AbnormalMapper extends BaseMapper<AbnormalPO> {
}

View File

@@ -0,0 +1,14 @@
package com.njcn.prepare.harmonic.mapper.line;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.njcn.prepare.harmonic.pojo.po.ExcelRpt;
/**
* ExcelRptMapper
*
* @author qijian
* @date 2022/10/14
*/
public interface ExcelRptMapper extends BaseMapper<ExcelRpt> {
}

View File

@@ -0,0 +1,16 @@
package com.njcn.prepare.harmonic.mapper.line;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.njcn.prepare.harmonic.pojo.po.ExcelRptTemp;
import java.util.List;
/**
* @author qijian
* @date 2022/10/20
*/
public interface ExcelRptTempMapper extends BaseMapper<ExcelRptTemp> {
List<ExcelRptTemp> getActiveTempList();
}

View File

@@ -0,0 +1,18 @@
package com.njcn.prepare.harmonic.mapper.line;
import com.github.jeffreyning.mybatisplus.base.MppBaseMapper;
import com.njcn.harmonic.pojo.po.LimitRatePO;
/**
* Description:
* 接口文档访问地址http://serverIP:port/swagger-ui.html
* Date: 2022/10/20 18:25【需求编号】
*
* @author clam
* @version V1.0.0
*/
public interface LimitRatePOMapper extends MppBaseMapper<LimitRatePO> {
// int updateBatch(List<LimitRatePO> list);
// int batchInsert(@Param("list") List<LimitRatePO> list);
}

View File

@@ -0,0 +1,20 @@
package com.njcn.prepare.harmonic.mapper.line;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.njcn.prepare.harmonic.pojo.po.line.LimitTargetPO;
/**
* Description:
* 接口文档访问地址http://serverIP:port/swagger-ui.html
* Date: 2022/10/20 18:26【需求编号】
*
* @author clam
* @version V1.0.0
*/
public interface LimitTargetPOMapper extends BaseMapper<LimitTargetPO> {
// int updateBatch(List<LimitTargetPO> list);
//
// int updateBatchSelective(List<LimitTargetPO> list);
//
// int batchInsert(@Param("list") List<LimitTargetPO> list);
}

View File

@@ -0,0 +1,9 @@
package com.njcn.prepare.harmonic.mapper.line;
/**
* @author denghuajun
* @version 1.0.0
* @date 2022年10月17日 20:11
*/
public interface NormLimitMapper {
}

View File

@@ -0,0 +1,16 @@
package com.njcn.prepare.harmonic.mapper.line;
import com.github.jeffreyning.mybatisplus.base.MppBaseMapper;
import com.njcn.prepare.harmonic.pojo.po.line.RMpFlickerReportDPO;
/**
*
* Description:
* 接口文档访问地址http://serverIP:port/swagger-ui.html
* Date: 2022/10/26 14:15【需求编号】
*
* @author clam
* @version V1.0.0
*/
public interface RMpFlickerReportDPOMapper extends MppBaseMapper<RMpFlickerReportDPO> {
}

View File

@@ -0,0 +1,16 @@
package com.njcn.prepare.harmonic.mapper.line;
import com.github.jeffreyning.mybatisplus.base.MppBaseMapper;
import com.njcn.prepare.harmonic.pojo.po.line.RMpHarmonicIMagReportDPO;
/**
*
* Description:
* 接口文档访问地址http://serverIP:port/swagger-ui.html
* Date: 2022/10/26 9:50【需求编号】
*
* @author clam
* @version V1.0.0
*/
public interface RMpHarmonicIMagReportDPOMapper extends MppBaseMapper<RMpHarmonicIMagReportDPO> {
}

View File

@@ -0,0 +1,16 @@
package com.njcn.prepare.harmonic.mapper.line;
import com.github.jeffreyning.mybatisplus.base.MppBaseMapper;
import com.njcn.prepare.harmonic.pojo.po.line.RMpHarmonicIRateReportDPO;
/**
*
* Description:
* 接口文档访问地址http://serverIP:port/swagger-ui.html
* Date: 2022/10/26 18:33【需求编号】
*
* @author clam
* @version V1.0.0
*/
public interface RMpHarmonicIRateReportDPOMapper extends MppBaseMapper<RMpHarmonicIRateReportDPO> {
}

View File

@@ -0,0 +1,15 @@
package com.njcn.prepare.harmonic.mapper.line;
import com.github.jeffreyning.mybatisplus.base.MppBaseMapper;
import com.njcn.prepare.harmonic.pojo.po.line.RMpHarmonicPReportDPO;
/**
* Description:
* 接口文档访问地址http://serverIP:port/swagger-ui.html
* Date: 2022/10/25 10:33【需求编号】
*
* @author clam
* @version V1.0.0
*/
public interface RMpHarmonicPReportDPOMapper extends MppBaseMapper<RMpHarmonicPReportDPO> {
}

View File

@@ -0,0 +1,16 @@
package com.njcn.prepare.harmonic.mapper.line;
import com.github.jeffreyning.mybatisplus.base.MppBaseMapper;
import com.njcn.prepare.harmonic.pojo.po.line.RMpHarmonicVRateReportDPO;
/**
*
* Description:
* 接口文档访问地址http://serverIP:port/swagger-ui.html
* Date: 2022/10/25 11:11【需求编号】
*
* @author clam
* @version V1.0.0
*/
public interface RMpHarmonicVRateReportDPOMapper extends MppBaseMapper<RMpHarmonicVRateReportDPO> {
}

View File

@@ -0,0 +1,15 @@
package com.njcn.prepare.harmonic.mapper.line;
import com.github.jeffreyning.mybatisplus.base.MppBaseMapper;
import com.njcn.prepare.harmonic.pojo.po.line.RMpInharmonicIMagReportDPO;
/**
* Description:
* 接口文档访问地址http://serverIP:port/swagger-ui.html
* Date: 2022/10/27 13:52【需求编号】
*
* @author clam
* @version V1.0.0
*/
public interface RMpInharmonicIMagReportDPOMapper extends MppBaseMapper<RMpInharmonicIMagReportDPO> {
}

View File

@@ -0,0 +1,16 @@
package com.njcn.prepare.harmonic.mapper.line;
import com.github.jeffreyning.mybatisplus.base.MppBaseMapper;
import com.njcn.prepare.harmonic.pojo.po.line.RMpInharmonicIRateReportDPO;
/**
*
* Description:
* 接口文档访问地址http://serverIP:port/swagger-ui.html
* Date: 2022/10/26 19:36【需求编号】
*
* @author clam
* @version V1.0.0
*/
public interface RMpInharmonicIRateReportDPOMapper extends MppBaseMapper<RMpInharmonicIRateReportDPO> {
}

View File

@@ -0,0 +1,15 @@
package com.njcn.prepare.harmonic.mapper.line;
import com.github.jeffreyning.mybatisplus.base.MppBaseMapper;
import com.njcn.prepare.harmonic.pojo.po.line.RMpInharmonicVRateReportDPO;
/**
* Description:
* 接口文档访问地址http://serverIP:port/swagger-ui.html
* Date: 2022/10/27 13:52【需求编号】
*
* @author clam
* @version V1.0.0
*/
public interface RMpInharmonicVRateReportDPOMapper extends MppBaseMapper<RMpInharmonicVRateReportDPO> {
}

View File

@@ -0,0 +1,16 @@
package com.njcn.prepare.harmonic.mapper.line;
import com.github.jeffreyning.mybatisplus.base.MppBaseMapper;
import com.njcn.prepare.harmonic.pojo.po.line.RMpMeasurePhaseReportDPO;
/**
*
* Description:
* 接口文档访问地址http://serverIP:port/swagger-ui.html
* Date: 2022/10/28 10:53【需求编号】
*
* @author clam
* @version V1.0.0
*/
public interface RMpMeasurePhaseReportDPOMapper extends MppBaseMapper<RMpMeasurePhaseReportDPO> {
}

View File

@@ -0,0 +1,16 @@
package com.njcn.prepare.harmonic.mapper.line;
import com.github.jeffreyning.mybatisplus.base.MppBaseMapper;
import com.njcn.prepare.harmonic.pojo.po.line.RMpMeasureReportDPO;
/**
*
* Description:
* 接口文档访问地址http://serverIP:port/swagger-ui.html
* Date: 2022/10/28 10:54【需求编号】
*
* @author clam
* @version V1.0.0
*/
public interface RMpMeasureReportDPOMapper extends MppBaseMapper<RMpMeasureReportDPO> {
}

View File

@@ -0,0 +1,16 @@
package com.njcn.prepare.harmonic.mapper.line;
import com.github.jeffreyning.mybatisplus.base.MppBaseMapper;
import com.njcn.prepare.harmonic.pojo.po.line.RMpPltReportDPO;
/**
*
* Description:
* 接口文档访问地址http://serverIP:port/swagger-ui.html
* Date: 2022/10/26 15:26【需求编号】
*
* @author clam
* @version V1.0.0
*/
public interface RMpPltReportDPOMapper extends MppBaseMapper<RMpPltReportDPO> {
}

View File

@@ -0,0 +1,21 @@
package com.njcn.prepare.harmonic.mapper.line;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.njcn.prepare.harmonic.pojo.po.RMpPollutionD;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* <p>
* 监测点污区图统计日表 Mapper 接口
* </p>
*
* @author xiaoyao
* @since 2022-10-20
*/
public interface RMpPollutionDMapper extends BaseMapper<RMpPollutionD> {
int insertPollution(@Param("item") RMpPollutionD item);
}

View File

@@ -0,0 +1,22 @@
package com.njcn.prepare.harmonic.mapper.line;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.njcn.prepare.harmonic.pojo.po.RMpPollutionD;
import com.njcn.prepare.harmonic.pojo.po.RStatPollutionOrgD;
import org.apache.ibatis.annotations.Param;
import java.util.Map;
/**
* <p>
* 单位污区图统计日表 Mapper 接口
* </p>
*
* @author xiaoyao
* @since 2022-10-20
*/
public interface RStatPollutionOrgDMapper extends BaseMapper<RStatPollutionOrgD> {
int insertPollution(@Param("item") Map<String, Object> item);
}

View File

@@ -0,0 +1,20 @@
package com.njcn.prepare.harmonic.mapper.line;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.njcn.prepare.harmonic.pojo.po.RStatPollutionOrgM;
import org.apache.ibatis.annotations.Param;
import java.util.Map;
/**
* <p>
* 单位污区图统计月表 Mapper 接口
* </p>
*
* @author xiaoyao
* @since 2022-10-20
*/
public interface RStatPollutionOrgMMapper extends BaseMapper<RStatPollutionOrgM> {
int insertPollution(@Param("item") Map<String, Object> item);
}

View File

@@ -0,0 +1,20 @@
package com.njcn.prepare.harmonic.mapper.line;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.njcn.prepare.harmonic.pojo.po.RStatPollutionOrgQ;
import org.apache.ibatis.annotations.Param;
import java.util.Map;
/**
* <p>
* 单位污区图统计季表 Mapper 接口
* </p>
*
* @author xiaoyao
* @since 2022-10-20
*/
public interface RStatPollutionOrgQMapper extends BaseMapper<RStatPollutionOrgQ> {
int insertPollution(@Param("item") Map<String, Object> item);
}

View File

@@ -0,0 +1,20 @@
package com.njcn.prepare.harmonic.mapper.line;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.njcn.prepare.harmonic.pojo.po.RStatPollutionOrgY;
import org.apache.ibatis.annotations.Param;
import java.util.Map;
/**
* <p>
* 单位污区图统计年表 Mapper 接口
* </p>
*
* @author xiaoyao
* @since 2022-10-20
*/
public interface RStatPollutionOrgYMapper extends BaseMapper<RStatPollutionOrgY> {
int insertPollution(@Param("item") Map<String, Object> item);
}

View File

@@ -0,0 +1,22 @@
package com.njcn.prepare.harmonic.mapper.line;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.njcn.prepare.harmonic.pojo.po.RStatPollutionOrgD;
import com.njcn.prepare.harmonic.pojo.po.RStatPollutionSubstationD;
import org.apache.ibatis.annotations.Param;
import java.util.Map;
/**
* <p>
* 变电站污区图统计日表 Mapper 接口
* </p>
*
* @author xiaoyao
* @since 2022-10-20
*/
public interface RStatPollutionSubstationDMapper extends BaseMapper<RStatPollutionSubstationD> {
int insertPollution(@Param("item") Map<String, Object> item);
}

View File

@@ -0,0 +1,20 @@
package com.njcn.prepare.harmonic.mapper.line;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.njcn.prepare.harmonic.pojo.po.RStatPollutionSubstationM;
import org.apache.ibatis.annotations.Param;
import java.util.Map;
/**
* <p>
* 变电站污区图统计月表 Mapper 接口
* </p>
*
* @author xiaoyao
* @since 2022-10-20
*/
public interface RStatPollutionSubstationMMapper extends BaseMapper<RStatPollutionSubstationM> {
int insertPollution(@Param("item") Map<String, Object> item);
}

View File

@@ -0,0 +1,20 @@
package com.njcn.prepare.harmonic.mapper.line;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.njcn.prepare.harmonic.pojo.po.RStatPollutionSubstationQ;
import org.apache.ibatis.annotations.Param;
import java.util.Map;
/**
* <p>
* 变电站污区图统计季表 Mapper 接口
* </p>
*
* @author xiaoyao
* @since 2022-10-20
*/
public interface RStatPollutionSubstationQMapper extends BaseMapper<RStatPollutionSubstationQ> {
int insertPollution(@Param("item") Map<String, Object> item);
}

View File

@@ -0,0 +1,20 @@
package com.njcn.prepare.harmonic.mapper.line;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.njcn.prepare.harmonic.pojo.po.RStatPollutionSubstationY;
import org.apache.ibatis.annotations.Param;
import java.util.Map;
/**
* <p>
* 变电站污区图统计年表 Mapper 接口
* </p>
*
* @author xiaoyao
* @since 2022-10-20
*/
public interface RStatPollutionSubstationYMapper extends BaseMapper<RStatPollutionSubstationY> {
int insertPollution(@Param("item") Map<String, Object> item);
}

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.njcn.prepare.harmonic.mapper.line.ExcelRptTempMapper">
<select id="getActiveTempList" resultType="ExcelRptTemp">
SELECT
DISTINCT t1.*
FROM
sys_excel_rpt_temp t1
LEFT JOIN sys_dept_temp t2 on t1.Id = t2.temp_id
and t2.activation = '1'
</select>
</mapper>

View File

@@ -0,0 +1,514 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.njcn.prepare.harmonic.mapper.line.LimitRatePOMapper">
<resultMap id="BaseResultMap" type="com.njcn.harmonic.pojo.po.LimitRatePO">
<!--@mbg.generated-->
<!--@Table limit_rate-->
<id column="line_id" property="lineId" />
<id column="phasic_type" property="phasicType" />
<id column="time" property="time" />
<result column="all_time" property="allTime" />
<result column="flicker_overtime" property="flickerOverTime" />
<result column="flicker_all_time" property="flickerAllTime" />
<result column="freq_dev_overtime" property="freqDevOverTime" />
<result column="voltage_dev_overtime" property="voltageDevOverTime" />
<result column="ubalance_overtime" property="uBalanceOverTime" />
<result column="uaberrance_overtime" property="uaberranceOverTime" />
<result column="i_neg_overtime" property="iNegOverTime" />
<result column="uharm_2_overtime" property="uHarm2OverTime" />
<result column="uharm_3_overtime" property="uharm3OverTime" />
<result column="uharm_4_overtime" property="uharm4OverTime" />
<result column="uharm_5_overtime" property="uharm5OverTime" />
<result column="uharm_6_overtime" property="uharm6OverTime" />
<result column="uharm_7_overtime" property="uharm7OverTime" />
<result column="uharm_8_overtime" property="uharm8OverTime" />
<result column="uharm_9_overtime" property="uharm9OverTime" />
<result column="uharm_10_overtime" property="uharm10OverTime" />
<result column="uharm_11_overtime" property="uharm11OverTime" />
<result column="uharm_12_overtime" property="uharm12OverTime" />
<result column="uharm_13_overtime" property="uharm13OverTime" />
<result column="uharm_14_overtime" property="uharm14OverTime" />
<result column="uharm_15_overtime" property="uharm15OverTime" />
<result column="uharm_16_overtime" property="uharm16OverTime" />
<result column="uharm_17_overtime" property="uharm17OverTime" />
<result column="uharm_18_overtime" property="uharm18OverTime" />
<result column="uharm_19_overtime" property="uharm19OverTime" />
<result column="uharm_20_overtime" property="uharm20OverTime" />
<result column="uharm_21_overtime" property="uharm21OverTime" />
<result column="uharm_22_overtime" property="uharm22OverTime" />
<result column="uharm_23_overtime" property="uharm23OverTime" />
<result column="uharm_24_overtime" property="uharm24OverTime" />
<result column="uharm_25_overtime" property="uharm25OverTime" />
<result column="iharm_2_overtime" property="iharm2OverTime" />
<result column="iharm_3_overtime" property="iharm3OverTime" />
<result column="iharm_4_overtime" property="iharm4OverTime" />
<result column="iharm_5_overtime" property="iharm5OverTime" />
<result column="iharm_6_overtime" property="iharm6OverTime" />
<result column="iharm_7_overtime" property="iharm7OverTime" />
<result column="iharm_8_overtime" property="iharm8OverTime" />
<result column="iharm_9_overtime" property="iharm9OverTime" />
<result column="iharm_10_overtime" property="iharm10OverTime" />
<result column="iharm_11_overtime" property="iharm11OverTime" />
<result column="iharm_12_overtime" property="iharm12OverTime" />
<result column="iharm_13_overtime" property="iharm13OverTime" />
<result column="iharm_14_overtime" property="iharm14OverTime" />
<result column="iharm_15_overtime" property="iharm15OverTime" />
<result column="iharm_16_overtime" property="iharm16OverTime" />
<result column="iharm_17_overtime" property="iharm17OverTime" />
<result column="iharm_18_overtime" property="iharm18OverTime" />
<result column="iharm_19_overtime" property="iharm19OverTime" />
<result column="iharm_20_overtime" property="iharm20OverTime" />
<result column="iharm_21_overtime" property="iharm21OverTime" />
<result column="iharm_22_overtime" property="iharm22OverTime" />
<result column="iharm_23_overtime" property="iharm23OverTime" />
<result column="iharm_24_overtime" property="iharm24OverTime" />
<result column="iharm_25_overtime" property="iharm25OverTime" />
<result column="inuharm_1_overtime" property="inuharm1OverTime" />
<result column="inuharm_2_overtime" property="inuharm2OverTime" />
<result column="inuharm_3_overtime" property="inuharm3OverTime" />
<result column="inuharm_4_overtime" property="inuharm4OverTime" />
<result column="inuharm_5_overtime" property="inuharm5OverTime" />
<result column="inuharm_6_overtime" property="inuharm6OverTime" />
<result column="inuharm_7_overtime" property="inuharm7OverTime" />
<result column="inuharm_8_overtime" property="inuharm8OverTime" />
<result column="inuharm_9_overtime" property="inuharm9OverTime" />
<result column="inuharm_10_overtime" property="inuharm10OverTime" />
<result column="inuharm_11_overtime" property="inuharm11OverTime" />
<result column="inuharm_12_overtime" property="inuharm12OverTime" />
<result column="inuharm_13_overtime" property="inuharm13OverTime" />
<result column="inuharm_14_overtime" property="inuharm14OverTime" />
<result column="inuharm_15_overtime" property="inuharm15OverTime" />
<result column="inuharm_16_overtime" property="inuharm16OverTime" />
</resultMap>
<sql id="Base_Column_List">
<!--@mbg.generated-->
line_id, phasic_type, `time`, all_time, flicker_overtime, flicker_all_time, freq_dev_overtime,
voltage_dev_overtime, ubalance_overtime, uaberrance_overtime, i_neg_overtime, uharm_2_overtime,
uharm_3_overtime, uharm_4_overtime, uharm_5_overtime, uharm_6_overtime, uharm_7_overtime,
uharm_8_overtime, uharm_9_overtime, uharm_10_overtime, uharm_11_overtime, uharm_12_overtime,
uharm_13_overtime, uharm_14_overtime, uharm_15_overtime, uharm_16_overtime, uharm_17_overtime,
uharm_18_overtime, uharm_19_overtime, uharm_20_overtime, uharm_21_overtime, uharm_22_overtime,
uharm_23_overtime, uharm_24_overtime, uharm_25_overtime, iharm_2_overtime, iharm_3_overtime,
iharm_4_overtime, iharm_5_overtime, iharm_6_overtime, iharm_7_overtime, iharm_8_overtime,
iharm_9_overtime, iharm_10_overtime, iharm_11_overtime, iharm_12_overtime, iharm_13_overtime,
iharm_14_overtime, iharm_15_overtime, iharm_16_overtime, iharm_17_overtime, iharm_18_overtime,
iharm_19_overtime, iharm_20_overtime, iharm_21_overtime, iharm_22_overtime, iharm_23_overtime,
iharm_24_overtime, iharm_25_overtime, inuharm_1_overtime, inuharm_2_overtime, inuharm_3_overtime,
inuharm_4_overtime, inuharm_5_overtime, inuharm_6_overtime, inuharm_7_overtime, inuharm_8_overtime,
inuharm_9_overtime, inuharm_10_overtime, inuharm_11_overtime, inuharm_12_overtime,
inuharm_13_overtime, inuharm_14_overtime, inuharm_15_overtime, inuharm_16_overtime
</sql>
<update id="updateBatch" parameterType="java.util.List">
<!--@mbg.generated-->
update limit_rate
<trim prefix="set" suffixOverrides=",">
<trim prefix="all_time = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.allTime}
</foreach>
</trim>
<trim prefix="flicker_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.flickerOverTime}
</foreach>
</trim>
<trim prefix="flicker_all_time = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.flickerAllTime}
</foreach>
</trim>
<trim prefix="freq_dev_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.freqDevOverTime}
</foreach>
</trim>
<trim prefix="voltage_dev_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.voltageDevOverTime}
</foreach>
</trim>
<trim prefix="ubalance_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.ubalanceOverTime}
</foreach>
</trim>
<trim prefix="uaberrance_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.uAberranceOverTime}
</foreach>
</trim>
<trim prefix="i_neg_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.iNegOverTime}
</foreach>
</trim>
<trim prefix="uharm_2_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.uharm2OverTime}
</foreach>
</trim>
<trim prefix="uharm_3_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.uharm3OverTime}
</foreach>
</trim>
<trim prefix="uharm_4_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.uharm4OverTime}
</foreach>
</trim>
<trim prefix="uharm_5_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.uharm5OverTime}
</foreach>
</trim>
<trim prefix="uharm_6_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.uharm6OverTime}
</foreach>
</trim>
<trim prefix="uharm_7_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.uharm7OverTime}
</foreach>
</trim>
<trim prefix="uharm_8_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.uharm8OverTime}
</foreach>
</trim>
<trim prefix="uharm_9_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.uharm9OverTime}
</foreach>
</trim>
<trim prefix="uharm_10_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.uharm10OverTime}
</foreach>
</trim>
<trim prefix="uharm_11_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.uharm11OverTime}
</foreach>
</trim>
<trim prefix="uharm_12_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.uharm12OverTime}
</foreach>
</trim>
<trim prefix="uharm_13_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.uharm13OverTime}
</foreach>
</trim>
<trim prefix="uharm_14_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.uharm14OverTime}
</foreach>
</trim>
<trim prefix="uharm_15_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.uharm15OverTime}
</foreach>
</trim>
<trim prefix="uharm_16_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.uharm16OverTime}
</foreach>
</trim>
<trim prefix="uharm_17_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.uharm17OverTime}
</foreach>
</trim>
<trim prefix="uharm_18_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.uharm18OverTime}
</foreach>
</trim>
<trim prefix="uharm_19_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.uharm19OverTime}
</foreach>
</trim>
<trim prefix="uharm_20_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.uharm20OverTime}
</foreach>
</trim>
<trim prefix="uharm_21_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.uharm21OverTime}
</foreach>
</trim>
<trim prefix="uharm_22_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.uharm22OverTime}
</foreach>
</trim>
<trim prefix="uharm_23_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.uharm23OverTime}
</foreach>
</trim>
<trim prefix="uharm_24_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.uharm24OverTime}
</foreach>
</trim>
<trim prefix="uharm_25_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.uharm25OverTime}
</foreach>
</trim>
<trim prefix="iharm_2_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.iharm2OverTime}
</foreach>
</trim>
<trim prefix="iharm_3_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.iharm3OverTime}
</foreach>
</trim>
<trim prefix="iharm_4_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.iharm4OverTime}
</foreach>
</trim>
<trim prefix="iharm_5_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.iharm5OverTime}
</foreach>
</trim>
<trim prefix="iharm_6_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.iharm6OverTime}
</foreach>
</trim>
<trim prefix="iharm_7_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.iharm7OverTime}
</foreach>
</trim>
<trim prefix="iharm_8_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.iharm8OverTime}
</foreach>
</trim>
<trim prefix="iharm_9_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.iharm9OverTime}
</foreach>
</trim>
<trim prefix="iharm_10_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.iharm10OverTime}
</foreach>
</trim>
<trim prefix="iharm_11_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.iharm11OverTime}
</foreach>
</trim>
<trim prefix="iharm_12_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.iharm12OverTime}
</foreach>
</trim>
<trim prefix="iharm_13_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.iharm13OverTime}
</foreach>
</trim>
<trim prefix="iharm_14_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.iharm14OverTime}
</foreach>
</trim>
<trim prefix="iharm_15_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.iharm15OverTime}
</foreach>
</trim>
<trim prefix="iharm_16_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.iharm16OverTime}
</foreach>
</trim>
<trim prefix="iharm_17_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.iharm17OverTime}
</foreach>
</trim>
<trim prefix="iharm_18_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.iharm18OverTime}
</foreach>
</trim>
<trim prefix="iharm_19_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.iharm19OverTime}
</foreach>
</trim>
<trim prefix="iharm_20_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.iharm20OverTime}
</foreach>
</trim>
<trim prefix="iharm_21_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.iharm21OverTime}
</foreach>
</trim>
<trim prefix="iharm_22_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.iharm22OverTime}
</foreach>
</trim>
<trim prefix="iharm_23_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.iharm23OverTime}
</foreach>
</trim>
<trim prefix="iharm_24_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.iharm24OverTime}
</foreach>
</trim>
<trim prefix="iharm_25_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.iharm25OverTime}
</foreach>
</trim>
<trim prefix="inuharm_1_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.inuharm1OverTime}
</foreach>
</trim>
<trim prefix="inuharm_2_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.inuharm2OverTime}
</foreach>
</trim>
<trim prefix="inuharm_3_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.inuharm3OverTime}
</foreach>
</trim>
<trim prefix="inuharm_4_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.inuharm4OverTime}
</foreach>
</trim>
<trim prefix="inuharm_5_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.inuharm5OverTime}
</foreach>
</trim>
<trim prefix="inuharm_6_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.inuharm6OverTime}
</foreach>
</trim>
<trim prefix="inuharm_7_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.inuharm7OverTime}
</foreach>
</trim>
<trim prefix="inuharm_8_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.inuharm8OverTime}
</foreach>
</trim>
<trim prefix="inuharm_9_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.inuharm9OverTime}
</foreach>
</trim>
<trim prefix="inuharm_10_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.inuharm10OverTime}
</foreach>
</trim>
<trim prefix="inuharm_11_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.inuharm11OverTime}
</foreach>
</trim>
<trim prefix="inuharm_12_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.inuharm12OverTime}
</foreach>
</trim>
<trim prefix="inuharm_13_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.inuharm13OverTime}
</foreach>
</trim>
<trim prefix="inuharm_14_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.inuharm14OverTime}
</foreach>
</trim>
<trim prefix="inuharm_15_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.inuharm15OverTime}
</foreach>
</trim>
<trim prefix="inuharm_16_overtime = case" suffix="end,">
<foreach collection="list" index="index" item="item">
when line_id = #{item.lineId} then #{item.inuharm16OverTime}
</foreach>
</trim>
</trim>
where line_id in
<foreach close=")" collection="list" item="item" open="(" separator=", ">
#{item.lineId}
</foreach>
</update>
<insert id="batchInsert" parameterType="map">
<!--@mbg.generated-->
insert into limit_rate
(line_id, phasic_type, `time`, all_time, flicker_overtime, flicker_all_time, freq_dev_overtime,
voltage_dev_overtime, ubalance_overtime, uaberrance_overtime, i_neg_overtime, uharm_2_overtime,
uharm_3_overtime, uharm_4_overtime, uharm_5_overtime, uharm_6_overtime, uharm_7_overtime,
uharm_8_overtime, uharm_9_overtime, uharm_10_overtime, uharm_11_overtime, uharm_12_overtime,
uharm_13_overtime, uharm_14_overtime, uharm_15_overtime, uharm_16_overtime, uharm_17_overtime,
uharm_18_overtime, uharm_19_overtime, uharm_20_overtime, uharm_21_overtime, uharm_22_overtime,
uharm_23_overtime, uharm_24_overtime, uharm_25_overtime, iharm_2_overtime, iharm_3_overtime,
iharm_4_overtime, iharm_5_overtime, iharm_6_overtime, iharm_7_overtime, iharm_8_overtime,
iharm_9_overtime, iharm_10_overtime, iharm_11_overtime, iharm_12_overtime, iharm_13_overtime,
iharm_14_overtime, iharm_15_overtime, iharm_16_overtime, iharm_17_overtime, iharm_18_overtime,
iharm_19_overtime, iharm_20_overtime, iharm_21_overtime, iharm_22_overtime, iharm_23_overtime,
iharm_24_overtime, iharm_25_overtime, inuharm_1_overtime, inuharm_2_overtime, inuharm_3_overtime,
inuharm_4_overtime, inuharm_5_overtime, inuharm_6_overtime, inuharm_7_overtime,
inuharm_8_overtime, inuharm_9_overtime, inuharm_10_overtime, inuharm_11_overtime,
inuharm_12_overtime, inuharm_13_overtime, inuharm_14_overtime, inuharm_15_overtime,
inuharm_16_overtime)
values
<foreach collection="list" item="item" separator=",">
(#{item.lineId}, #{item.phasicType}, #{item.time}, #{item.allTime}, #{item.flickerOverTime},
#{item.flickerAllTime}, #{item.freqDevOverTime}, #{item.voltageDevOverTime}, #{item.ubalanceOverTime},
#{item.uaberranceOverTime}, #{item.iNegOverTime}, #{item.uharm2OverTime}, #{item.uharm3OverTime},
#{item.uharm4OverTime}, #{item.uharm5OverTime}, #{item.uharm6OverTime}, #{item.uharm7OverTime},
#{item.uharm8OverTime}, #{item.uharm9OverTime}, #{item.uharm10OverTime}, #{item.uharm11OverTime},
#{item.uharm12OverTime}, #{item.uharm13OverTime}, #{item.uharm14OverTime}, #{item.uharm15OverTime},
#{item.uharm16OverTime}, #{item.uharm17OverTime}, #{item.uharm18OverTime}, #{item.uharm19OverTime},
#{item.uharm20OverTime}, #{item.uharm21OverTime}, #{item.uharm22OverTime}, #{item.uharm23OverTime},
#{item.uharm24OverTime}, #{item.uharm25OverTime}, #{item.iharm2OverTime}, #{item.iharm3OverTime},
#{item.iharm4OverTime}, #{item.iharm5OverTime}, #{item.iharm6OverTime}, #{item.iharm7OverTime},
#{item.iharm8OverTime}, #{item.iharm9OverTime}, #{item.iharm10OverTime}, #{item.iharm11OverTime},
#{item.iharm12OverTime}, #{item.iharm13OverTime}, #{item.iharm14OverTime}, #{item.iharm15OverTime},
#{item.iharm16OverTime}, #{item.iharm17OverTime}, #{item.iharm18OverTime}, #{item.iharm19OverTime},
#{item.iharm20OverTime}, #{item.iharm21OverTime}, #{item.iharm22OverTime}, #{item.iharm23OverTime},
#{item.iharm24OverTime}, #{item.iharm25OverTime}, #{item.inuharm1OverTime}, #{item.inuharm2OverTime},
#{item.inuharm3OverTime}, #{item.inuharm4OverTime}, #{item.inuharm5OverTime}, #{item.inuharm6OverTime},
#{item.inuharm7OverTime}, #{item.inuharm8OverTime}, #{item.inuharm9OverTime}, #{item.inuharm10OverTime},
#{item.inuharm11OverTime}, #{item.inuharm12OverTime}, #{item.inuharm13OverTime},
#{item.inuharm14OverTime}, #{item.inuharm15OverTime}, #{item.inuharm16OverTime}
)
</foreach>
</insert>
</mapper>

View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.njcn.prepare.harmonic.mapper.line.RMpFlickerReportDPOMapper">
<resultMap id="BaseResultMap" type="com.njcn.prepare.harmonic.pojo.po.line.RMpFlickerReportDPO">
<!--@mbg.generated-->
<!--@Table r_mp_flicker_report_d-->
<id column="measurement_point_id" jdbcType="VARCHAR" property="measurementPointId" />
<id column="data_date" jdbcType="DATE" property="dataDate" />
<id column="phase" jdbcType="VARCHAR" property="phase" />
<result column="VOLTAGE_FLUCTUATION_MAX" jdbcType="FLOAT" property="voltageFluctuationMax" />
<result column="VOLTAGE_FLUCTUATION_MIN" jdbcType="FLOAT" property="voltageFluctuationMin" />
<result column="VOLTAGE_FLUCTUATION_AVG" jdbcType="FLOAT" property="voltageFluctuationAvg" />
<result column="VOLTAGE_FLUCTUATION_95" jdbcType="FLOAT" property="voltageFluctuation95" />
<result column="SHORT_TERM_SEVERITY_MAX" jdbcType="FLOAT" property="shortTermSeverityMax" />
<result column="SHORT_TERM_SEVERITY_MIN" jdbcType="FLOAT" property="shortTermSeverityMin" />
<result column="SHORT_TERM_SEVERITY_AVG" jdbcType="FLOAT" property="shortTermSeverityAvg" />
<result column="SHORT_TERM_SEVERITY_95" jdbcType="FLOAT" property="shortTermSeverity95" />
</resultMap>
<sql id="Base_Column_List">
<!--@mbg.generated-->
measurement_point_id, data_date, phase, VOLTAGE_FLUCTUATION_MAX, VOLTAGE_FLUCTUATION_MIN,
VOLTAGE_FLUCTUATION_AVG, VOLTAGE_FLUCTUATION_95, SHORT_TERM_SEVERITY_MAX, SHORT_TERM_SEVERITY_MIN,
SHORT_TERM_SEVERITY_AVG, SHORT_TERM_SEVERITY_95
</sql>
</mapper>

View File

@@ -0,0 +1,286 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.njcn.prepare.harmonic.mapper.line.RMpHarmonicIMagReportDPOMapper">
<resultMap id="BaseResultMap" type="com.njcn.prepare.harmonic.pojo.po.line.RMpHarmonicIMagReportDPO">
<!--@mbg.generated-->
<!--@Table r_mp_harmonic_i_mag_report_d-->
<id column="measurement_point_id" jdbcType="VARCHAR" property="measurementPointId" />
<id column="data_date" jdbcType="DATE" property="dataDate" />
<id column="phase" jdbcType="VARCHAR" property="phase" />
<result column="fundamental_current_max" jdbcType="FLOAT" property="fundamentalCurrentMax" />
<result column="fundamental_current_min" jdbcType="FLOAT" property="fundamentalCurrentMin" />
<result column="fundamental_current_avg" jdbcType="FLOAT" property="fundamentalCurrentAvg" />
<result column="fundamental_current_95" jdbcType="FLOAT" property="fundamentalCurrent95" />
<result column="harmonic_current_thd_max" jdbcType="FLOAT" property="harmonicCurrentThdMax" />
<result column="harmonic_current_thd_min" jdbcType="FLOAT" property="harmonicCurrentThdMin" />
<result column="harmonic_current_thd_avg" jdbcType="FLOAT" property="harmonicCurrentThdAvg" />
<result column="harmonic_current_thd_95" jdbcType="FLOAT" property="harmonicCurrentThd95" />
<result column="harmonic_current_effective_2_max" jdbcType="FLOAT" property="harmonicCurrentEffective2Max" />
<result column="harmonic_current_effective_2_min" jdbcType="FLOAT" property="harmonicCurrentEffective2Min" />
<result column="harmonic_current_effective_2_avg" jdbcType="FLOAT" property="harmonicCurrentEffective2Avg" />
<result column="harmonic_current_effective_2_95" jdbcType="FLOAT" property="harmonicCurrentEffective295" />
<result column="harmonic_current_effective_3_max" jdbcType="FLOAT" property="harmonicCurrentEffective3Max" />
<result column="harmonic_current_effective_3_min" jdbcType="FLOAT" property="harmonicCurrentEffective3Min" />
<result column="harmonic_current_effective_3_avg" jdbcType="FLOAT" property="harmonicCurrentEffective3Avg" />
<result column="harmonic_current_effective_3_95" jdbcType="FLOAT" property="harmonicCurrentEffective395" />
<result column="harmonic_current_effective_4_max" jdbcType="FLOAT" property="harmonicCurrentEffective4Max" />
<result column="harmonic_current_effective_4_min" jdbcType="FLOAT" property="harmonicCurrentEffective4Min" />
<result column="harmonic_current_effective_4_avg" jdbcType="FLOAT" property="harmonicCurrentEffective4Avg" />
<result column="harmonic_current_effective_4_95" jdbcType="FLOAT" property="harmonicCurrentEffective495" />
<result column="harmonic_current_effective_5_max" jdbcType="FLOAT" property="harmonicCurrentEffective5Max" />
<result column="harmonic_current_effective_5_min" jdbcType="FLOAT" property="harmonicCurrentEffective5Min" />
<result column="harmonic_current_effective_5_avg" jdbcType="FLOAT" property="harmonicCurrentEffective5Avg" />
<result column="harmonic_current_effective_5_95" jdbcType="FLOAT" property="harmonicCurrentEffective595" />
<result column="harmonic_current_effective_6_max" jdbcType="FLOAT" property="harmonicCurrentEffective6Max" />
<result column="harmonic_current_effective_6_min" jdbcType="FLOAT" property="harmonicCurrentEffective6Min" />
<result column="harmonic_current_effective_6_avg" jdbcType="FLOAT" property="harmonicCurrentEffective6Avg" />
<result column="harmonic_current_effective_6_95" jdbcType="FLOAT" property="harmonicCurrentEffective695" />
<result column="harmonic_current_effective_7_max" jdbcType="FLOAT" property="harmonicCurrentEffective7Max" />
<result column="harmonic_current_effective_7_min" jdbcType="FLOAT" property="harmonicCurrentEffective7Min" />
<result column="harmonic_current_effective_7_avg" jdbcType="FLOAT" property="harmonicCurrentEffective7Avg" />
<result column="harmonic_current_effective_7_95" jdbcType="FLOAT" property="harmonicCurrentEffective795" />
<result column="harmonic_current_effective_8_max" jdbcType="FLOAT" property="harmonicCurrentEffective8Max" />
<result column="harmonic_current_effective_8_min" jdbcType="FLOAT" property="harmonicCurrentEffective8Min" />
<result column="harmonic_current_effective_8_avg" jdbcType="FLOAT" property="harmonicCurrentEffective8Avg" />
<result column="harmonic_current_effective_8_95" jdbcType="FLOAT" property="harmonicCurrentEffective895" />
<result column="harmonic_current_effective_9_max" jdbcType="FLOAT" property="harmonicCurrentEffective9Max" />
<result column="harmonic_current_effective_9_min" jdbcType="FLOAT" property="harmonicCurrentEffective9Min" />
<result column="harmonic_current_effective_9_avg" jdbcType="FLOAT" property="harmonicCurrentEffective9Avg" />
<result column="harmonic_current_effective_9_95" jdbcType="FLOAT" property="harmonicCurrentEffective995" />
<result column="harmonic_current_effective_10_max" jdbcType="FLOAT" property="harmonicCurrentEffective10Max" />
<result column="harmonic_current_effective_10_min" jdbcType="FLOAT" property="harmonicCurrentEffective10Min" />
<result column="harmonic_current_effective_10_avg" jdbcType="FLOAT" property="harmonicCurrentEffective10Avg" />
<result column="harmonic_current_effective_10_95" jdbcType="FLOAT" property="harmonicCurrentEffective1095" />
<result column="harmonic_current_effective_11_max" jdbcType="FLOAT" property="harmonicCurrentEffective11Max" />
<result column="harmonic_current_effective_11_min" jdbcType="FLOAT" property="harmonicCurrentEffective11Min" />
<result column="harmonic_current_effective_11_avg" jdbcType="FLOAT" property="harmonicCurrentEffective11Avg" />
<result column="harmonic_current_effective_11_95" jdbcType="FLOAT" property="harmonicCurrentEffective1195" />
<result column="harmonic_current_effective_12_max" jdbcType="FLOAT" property="harmonicCurrentEffective12Max" />
<result column="harmonic_current_effective_12_min" jdbcType="FLOAT" property="harmonicCurrentEffective12Min" />
<result column="harmonic_current_effective_12_avg" jdbcType="FLOAT" property="harmonicCurrentEffective12Avg" />
<result column="harmonic_current_effective_12_95" jdbcType="FLOAT" property="harmonicCurrentEffective1295" />
<result column="harmonic_current_effective_13_max" jdbcType="FLOAT" property="harmonicCurrentEffective13Max" />
<result column="harmonic_current_effective_13_min" jdbcType="FLOAT" property="harmonicCurrentEffective13Min" />
<result column="harmonic_current_effective_13_avg" jdbcType="FLOAT" property="harmonicCurrentEffective13Avg" />
<result column="harmonic_current_effective_13_95" jdbcType="FLOAT" property="harmonicCurrentEffective1395" />
<result column="harmonic_current_effective_14_max" jdbcType="FLOAT" property="harmonicCurrentEffective14Max" />
<result column="harmonic_current_effective_14_min" jdbcType="FLOAT" property="harmonicCurrentEffective14Min" />
<result column="harmonic_current_effective_14_avg" jdbcType="FLOAT" property="harmonicCurrentEffective14Avg" />
<result column="harmonic_current_effective_14_95" jdbcType="FLOAT" property="harmonicCurrentEffective1495" />
<result column="harmonic_current_effective_15_max" jdbcType="FLOAT" property="harmonicCurrentEffective15Max" />
<result column="harmonic_current_effective_15_min" jdbcType="FLOAT" property="harmonicCurrentEffective15Min" />
<result column="harmonic_current_effective_15_avg" jdbcType="FLOAT" property="harmonicCurrentEffective15Avg" />
<result column="harmonic_current_effective_15_95" jdbcType="FLOAT" property="harmonicCurrentEffective1595" />
<result column="harmonic_current_effective_16_max" jdbcType="FLOAT" property="harmonicCurrentEffective16Max" />
<result column="harmonic_current_effective_16_min" jdbcType="FLOAT" property="harmonicCurrentEffective16Min" />
<result column="harmonic_current_effective_16_avg" jdbcType="FLOAT" property="harmonicCurrentEffective16Avg" />
<result column="harmonic_current_effective_16_95" jdbcType="FLOAT" property="harmonicCurrentEffective1695" />
<result column="harmonic_current_effective_17_max" jdbcType="FLOAT" property="harmonicCurrentEffective17Max" />
<result column="harmonic_current_effective_17_min" jdbcType="FLOAT" property="harmonicCurrentEffective17Min" />
<result column="harmonic_current_effective_17_avg" jdbcType="FLOAT" property="harmonicCurrentEffective17Avg" />
<result column="harmonic_current_effective_17_95" jdbcType="FLOAT" property="harmonicCurrentEffective1795" />
<result column="harmonic_current_effective_18_max" jdbcType="FLOAT" property="harmonicCurrentEffective18Max" />
<result column="harmonic_current_effective_18_min" jdbcType="FLOAT" property="harmonicCurrentEffective18Min" />
<result column="harmonic_current_effective_18_avg" jdbcType="FLOAT" property="harmonicCurrentEffective18Avg" />
<result column="harmonic_current_effective_18_95" jdbcType="FLOAT" property="harmonicCurrentEffective1895" />
<result column="harmonic_current_effective_19_max" jdbcType="FLOAT" property="harmonicCurrentEffective19Max" />
<result column="harmonic_current_effective_19_min" jdbcType="FLOAT" property="harmonicCurrentEffective19Min" />
<result column="harmonic_current_effective_19_avg" jdbcType="FLOAT" property="harmonicCurrentEffective19Avg" />
<result column="harmonic_current_effective_19_95" jdbcType="FLOAT" property="harmonicCurrentEffective1995" />
<result column="harmonic_current_effective_20_max" jdbcType="FLOAT" property="harmonicCurrentEffective20Max" />
<result column="harmonic_current_effective_20_min" jdbcType="FLOAT" property="harmonicCurrentEffective20Min" />
<result column="harmonic_current_effective_20_avg" jdbcType="FLOAT" property="harmonicCurrentEffective20Avg" />
<result column="harmonic_current_effective_20_95" jdbcType="FLOAT" property="harmonicCurrentEffective2095" />
<result column="harmonic_current_effective_21_max" jdbcType="FLOAT" property="harmonicCurrentEffective21Max" />
<result column="harmonic_current_effective_21_min" jdbcType="FLOAT" property="harmonicCurrentEffective21Min" />
<result column="harmonic_current_effective_21_avg" jdbcType="FLOAT" property="harmonicCurrentEffective21Avg" />
<result column="harmonic_current_effective_21_95" jdbcType="FLOAT" property="harmonicCurrentEffective2195" />
<result column="harmonic_current_effective_22_max" jdbcType="FLOAT" property="harmonicCurrentEffective22Max" />
<result column="harmonic_current_effective_22_min" jdbcType="FLOAT" property="harmonicCurrentEffective22Min" />
<result column="harmonic_current_effective_22_avg" jdbcType="FLOAT" property="harmonicCurrentEffective22Avg" />
<result column="harmonic_current_effective_22_95" jdbcType="FLOAT" property="harmonicCurrentEffective2295" />
<result column="harmonic_current_effective_23_max" jdbcType="FLOAT" property="harmonicCurrentEffective23Max" />
<result column="harmonic_current_effective_23_min" jdbcType="FLOAT" property="harmonicCurrentEffective23Min" />
<result column="harmonic_current_effective_23_avg" jdbcType="FLOAT" property="harmonicCurrentEffective23Avg" />
<result column="harmonic_current_effective_23_95" jdbcType="FLOAT" property="harmonicCurrentEffective2395" />
<result column="harmonic_current_effective_24_max" jdbcType="FLOAT" property="harmonicCurrentEffective24Max" />
<result column="harmonic_current_effective_24_min" jdbcType="FLOAT" property="harmonicCurrentEffective24Min" />
<result column="harmonic_current_effective_24_avg" jdbcType="FLOAT" property="harmonicCurrentEffective24Avg" />
<result column="harmonic_current_effective_24_95" jdbcType="FLOAT" property="harmonicCurrentEffective2495" />
<result column="harmonic_current_effective_25_max" jdbcType="FLOAT" property="harmonicCurrentEffective25Max" />
<result column="harmonic_current_effective_25_min" jdbcType="FLOAT" property="harmonicCurrentEffective25Min" />
<result column="harmonic_current_effective_25_avg" jdbcType="FLOAT" property="harmonicCurrentEffective25Avg" />
<result column="harmonic_current_effective_25_95" jdbcType="FLOAT" property="harmonicCurrentEffective2595" />
<result column="harmonic_current_effective_26_max" jdbcType="FLOAT" property="harmonicCurrentEffective26Max" />
<result column="harmonic_current_effective_26_min" jdbcType="FLOAT" property="harmonicCurrentEffective26Min" />
<result column="harmonic_current_effective_26_avg" jdbcType="FLOAT" property="harmonicCurrentEffective26Avg" />
<result column="harmonic_current_effective_26_95" jdbcType="FLOAT" property="harmonicCurrentEffective2695" />
<result column="harmonic_current_effective_27_max" jdbcType="FLOAT" property="harmonicCurrentEffective27Max" />
<result column="harmonic_current_effective_27_min" jdbcType="FLOAT" property="harmonicCurrentEffective27Min" />
<result column="harmonic_current_effective_27_avg" jdbcType="FLOAT" property="harmonicCurrentEffective27Avg" />
<result column="harmonic_current_effective_27_95" jdbcType="FLOAT" property="harmonicCurrentEffective2795" />
<result column="harmonic_current_effective_28_max" jdbcType="FLOAT" property="harmonicCurrentEffective28Max" />
<result column="harmonic_current_effective_28_min" jdbcType="FLOAT" property="harmonicCurrentEffective28Min" />
<result column="harmonic_current_effective_28_avg" jdbcType="FLOAT" property="harmonicCurrentEffective28Avg" />
<result column="harmonic_current_effective_28_95" jdbcType="FLOAT" property="harmonicCurrentEffective2895" />
<result column="harmonic_current_effective_29_max" jdbcType="FLOAT" property="harmonicCurrentEffective29Max" />
<result column="harmonic_current_effective_29_min" jdbcType="FLOAT" property="harmonicCurrentEffective29Min" />
<result column="harmonic_current_effective_29_avg" jdbcType="FLOAT" property="harmonicCurrentEffective29Avg" />
<result column="harmonic_current_effective_29_95" jdbcType="FLOAT" property="harmonicCurrentEffective2995" />
<result column="harmonic_current_effective_30_max" jdbcType="FLOAT" property="harmonicCurrentEffective30Max" />
<result column="harmonic_current_effective_30_min" jdbcType="FLOAT" property="harmonicCurrentEffective30Min" />
<result column="harmonic_current_effective_30_avg" jdbcType="FLOAT" property="harmonicCurrentEffective30Avg" />
<result column="harmonic_current_effective_30_95" jdbcType="FLOAT" property="harmonicCurrentEffective3095" />
<result column="harmonic_current_effective_31_max" jdbcType="FLOAT" property="harmonicCurrentEffective31Max" />
<result column="harmonic_current_effective_31_min" jdbcType="FLOAT" property="harmonicCurrentEffective31Min" />
<result column="harmonic_current_effective_31_avg" jdbcType="FLOAT" property="harmonicCurrentEffective31Avg" />
<result column="harmonic_current_effective_31_95" jdbcType="FLOAT" property="harmonicCurrentEffective3195" />
<result column="harmonic_current_effective_32_max" jdbcType="FLOAT" property="harmonicCurrentEffective32Max" />
<result column="harmonic_current_effective_32_min" jdbcType="FLOAT" property="harmonicCurrentEffective32Min" />
<result column="harmonic_current_effective_32_avg" jdbcType="FLOAT" property="harmonicCurrentEffective32Avg" />
<result column="harmonic_current_effective_32_95" jdbcType="FLOAT" property="harmonicCurrentEffective3295" />
<result column="harmonic_current_effective_33_max" jdbcType="FLOAT" property="harmonicCurrentEffective33Max" />
<result column="harmonic_current_effective_33_min" jdbcType="FLOAT" property="harmonicCurrentEffective33Min" />
<result column="harmonic_current_effective_33_avg" jdbcType="FLOAT" property="harmonicCurrentEffective33Avg" />
<result column="harmonic_current_effective_33_95" jdbcType="FLOAT" property="harmonicCurrentEffective3395" />
<result column="harmonic_current_effective_34_max" jdbcType="FLOAT" property="harmonicCurrentEffective34Max" />
<result column="harmonic_current_effective_34_min" jdbcType="FLOAT" property="harmonicCurrentEffective34Min" />
<result column="harmonic_current_effective_34_avg" jdbcType="FLOAT" property="harmonicCurrentEffective34Avg" />
<result column="harmonic_current_effective_34_95" jdbcType="FLOAT" property="harmonicCurrentEffective3495" />
<result column="harmonic_current_effective_35_max" jdbcType="FLOAT" property="harmonicCurrentEffective35Max" />
<result column="harmonic_current_effective_35_min" jdbcType="FLOAT" property="harmonicCurrentEffective35Min" />
<result column="harmonic_current_effective_35_avg" jdbcType="FLOAT" property="harmonicCurrentEffective35Avg" />
<result column="harmonic_current_effective_35_95" jdbcType="FLOAT" property="harmonicCurrentEffective3595" />
<result column="harmonic_current_effective_36_max" jdbcType="FLOAT" property="harmonicCurrentEffective36Max" />
<result column="harmonic_current_effective_36_min" jdbcType="FLOAT" property="harmonicCurrentEffective36Min" />
<result column="harmonic_current_effective_36_avg" jdbcType="FLOAT" property="harmonicCurrentEffective36Avg" />
<result column="harmonic_current_effective_36_95" jdbcType="FLOAT" property="harmonicCurrentEffective3695" />
<result column="harmonic_current_effective_37_max" jdbcType="FLOAT" property="harmonicCurrentEffective37Max" />
<result column="harmonic_current_effective_37_min" jdbcType="FLOAT" property="harmonicCurrentEffective37Min" />
<result column="harmonic_current_effective_37_avg" jdbcType="FLOAT" property="harmonicCurrentEffective37Avg" />
<result column="harmonic_current_effective_37_95" jdbcType="FLOAT" property="harmonicCurrentEffective3795" />
<result column="harmonic_current_effective_38_max" jdbcType="FLOAT" property="harmonicCurrentEffective38Max" />
<result column="harmonic_current_effective_38_min" jdbcType="FLOAT" property="harmonicCurrentEffective38Min" />
<result column="harmonic_current_effective_38_avg" jdbcType="FLOAT" property="harmonicCurrentEffective38Avg" />
<result column="harmonic_current_effective_38_95" jdbcType="FLOAT" property="harmonicCurrentEffective3895" />
<result column="harmonic_current_effective_39_max" jdbcType="FLOAT" property="harmonicCurrentEffective39Max" />
<result column="harmonic_current_effective_39_min" jdbcType="FLOAT" property="harmonicCurrentEffective39Min" />
<result column="harmonic_current_effective_39_avg" jdbcType="FLOAT" property="harmonicCurrentEffective39Avg" />
<result column="harmonic_current_effective_39_95" jdbcType="FLOAT" property="harmonicCurrentEffective3995" />
<result column="harmonic_current_effective_40_max" jdbcType="FLOAT" property="harmonicCurrentEffective40Max" />
<result column="harmonic_current_effective_40_min" jdbcType="FLOAT" property="harmonicCurrentEffective40Min" />
<result column="harmonic_current_effective_40_avg" jdbcType="FLOAT" property="harmonicCurrentEffective40Avg" />
<result column="harmonic_current_effective_40_95" jdbcType="FLOAT" property="harmonicCurrentEffective4095" />
<result column="harmonic_current_effective_41_max" jdbcType="FLOAT" property="harmonicCurrentEffective41Max" />
<result column="harmonic_current_effective_41_min" jdbcType="FLOAT" property="harmonicCurrentEffective41Min" />
<result column="harmonic_current_effective_41_avg" jdbcType="FLOAT" property="harmonicCurrentEffective41Avg" />
<result column="harmonic_current_effective_41_95" jdbcType="FLOAT" property="harmonicCurrentEffective4195" />
<result column="harmonic_current_effective_42_max" jdbcType="FLOAT" property="harmonicCurrentEffective42Max" />
<result column="harmonic_current_effective_42_min" jdbcType="FLOAT" property="harmonicCurrentEffective42Min" />
<result column="harmonic_current_effective_42_avg" jdbcType="FLOAT" property="harmonicCurrentEffective42Avg" />
<result column="harmonic_current_effective_42_95" jdbcType="FLOAT" property="harmonicCurrentEffective4295" />
<result column="harmonic_current_effective_43_max" jdbcType="FLOAT" property="harmonicCurrentEffective43Max" />
<result column="harmonic_current_effective_43_min" jdbcType="FLOAT" property="harmonicCurrentEffective43Min" />
<result column="harmonic_current_effective_43_avg" jdbcType="FLOAT" property="harmonicCurrentEffective43Avg" />
<result column="harmonic_current_effective_43_95" jdbcType="FLOAT" property="harmonicCurrentEffective4395" />
<result column="harmonic_current_effective_44_max" jdbcType="FLOAT" property="harmonicCurrentEffective44Max" />
<result column="harmonic_current_effective_44_min" jdbcType="FLOAT" property="harmonicCurrentEffective44Min" />
<result column="harmonic_current_effective_44_avg" jdbcType="FLOAT" property="harmonicCurrentEffective44Avg" />
<result column="harmonic_current_effective_44_95" jdbcType="FLOAT" property="harmonicCurrentEffective4495" />
<result column="harmonic_current_effective_45_max" jdbcType="FLOAT" property="harmonicCurrentEffective45Max" />
<result column="harmonic_current_effective_45_min" jdbcType="FLOAT" property="harmonicCurrentEffective45Min" />
<result column="harmonic_current_effective_45_avg" jdbcType="FLOAT" property="harmonicCurrentEffective45Avg" />
<result column="harmonic_current_effective_45_95" jdbcType="FLOAT" property="harmonicCurrentEffective4595" />
<result column="harmonic_current_effective_46_max" jdbcType="FLOAT" property="harmonicCurrentEffective46Max" />
<result column="harmonic_current_effective_46_min" jdbcType="FLOAT" property="harmonicCurrentEffective46Min" />
<result column="harmonic_current_effective_46_avg" jdbcType="FLOAT" property="harmonicCurrentEffective46Avg" />
<result column="harmonic_current_effective_46_95" jdbcType="FLOAT" property="harmonicCurrentEffective4695" />
<result column="harmonic_current_effective_47_max" jdbcType="FLOAT" property="harmonicCurrentEffective47Max" />
<result column="harmonic_current_effective_47_min" jdbcType="FLOAT" property="harmonicCurrentEffective47Min" />
<result column="harmonic_current_effective_47_avg" jdbcType="FLOAT" property="harmonicCurrentEffective47Avg" />
<result column="harmonic_current_effective_47_95" jdbcType="FLOAT" property="harmonicCurrentEffective4795" />
<result column="harmonic_current_effective_48_max" jdbcType="FLOAT" property="harmonicCurrentEffective48Max" />
<result column="harmonic_current_effective_48_min" jdbcType="FLOAT" property="harmonicCurrentEffective48Min" />
<result column="harmonic_current_effective_48_avg" jdbcType="FLOAT" property="harmonicCurrentEffective48Avg" />
<result column="harmonic_current_effective_48_95" jdbcType="FLOAT" property="harmonicCurrentEffective4895" />
<result column="harmonic_current_effective_49_max" jdbcType="FLOAT" property="harmonicCurrentEffective49Max" />
<result column="harmonic_current_effective_49_min" jdbcType="FLOAT" property="harmonicCurrentEffective49Min" />
<result column="harmonic_current_effective_49_avg" jdbcType="FLOAT" property="harmonicCurrentEffective49Avg" />
<result column="harmonic_current_effective_49_95" jdbcType="FLOAT" property="harmonicCurrentEffective4995" />
<result column="harmonic_current_effective_50_max" jdbcType="FLOAT" property="harmonicCurrentEffective50Max" />
<result column="harmonic_current_effective_50_min" jdbcType="FLOAT" property="harmonicCurrentEffective50Min" />
<result column="harmonic_current_effective_50_avg" jdbcType="FLOAT" property="harmonicCurrentEffective50Avg" />
<result column="harmonic_current_effective_50_95" jdbcType="FLOAT" property="harmonicCurrentEffective5095" />
</resultMap>
<sql id="Base_Column_List">
<!--@mbg.generated-->
measurement_point_id, data_date, phase, fundamental_current_max, fundamental_current_min,
fundamental_current_avg, fundamental_current_95, harmonic_current_thd_max, harmonic_current_thd_min,
harmonic_current_thd_avg, harmonic_current_thd_95, harmonic_current_effective_2_max,
harmonic_current_effective_2_min, harmonic_current_effective_2_avg, harmonic_current_effective_2_95,
harmonic_current_effective_3_max, harmonic_current_effective_3_min, harmonic_current_effective_3_avg,
harmonic_current_effective_3_95, harmonic_current_effective_4_max, harmonic_current_effective_4_min,
harmonic_current_effective_4_avg, harmonic_current_effective_4_95, harmonic_current_effective_5_max,
harmonic_current_effective_5_min, harmonic_current_effective_5_avg, harmonic_current_effective_5_95,
harmonic_current_effective_6_max, harmonic_current_effective_6_min, harmonic_current_effective_6_avg,
harmonic_current_effective_6_95, harmonic_current_effective_7_max, harmonic_current_effective_7_min,
harmonic_current_effective_7_avg, harmonic_current_effective_7_95, harmonic_current_effective_8_max,
harmonic_current_effective_8_min, harmonic_current_effective_8_avg, harmonic_current_effective_8_95,
harmonic_current_effective_9_max, harmonic_current_effective_9_min, harmonic_current_effective_9_avg,
harmonic_current_effective_9_95, harmonic_current_effective_10_max, harmonic_current_effective_10_min,
harmonic_current_effective_10_avg, harmonic_current_effective_10_95, harmonic_current_effective_11_max,
harmonic_current_effective_11_min, harmonic_current_effective_11_avg, harmonic_current_effective_11_95,
harmonic_current_effective_12_max, harmonic_current_effective_12_min, harmonic_current_effective_12_avg,
harmonic_current_effective_12_95, harmonic_current_effective_13_max, harmonic_current_effective_13_min,
harmonic_current_effective_13_avg, harmonic_current_effective_13_95, harmonic_current_effective_14_max,
harmonic_current_effective_14_min, harmonic_current_effective_14_avg, harmonic_current_effective_14_95,
harmonic_current_effective_15_max, harmonic_current_effective_15_min, harmonic_current_effective_15_avg,
harmonic_current_effective_15_95, harmonic_current_effective_16_max, harmonic_current_effective_16_min,
harmonic_current_effective_16_avg, harmonic_current_effective_16_95, harmonic_current_effective_17_max,
harmonic_current_effective_17_min, harmonic_current_effective_17_avg, harmonic_current_effective_17_95,
harmonic_current_effective_18_max, harmonic_current_effective_18_min, harmonic_current_effective_18_avg,
harmonic_current_effective_18_95, harmonic_current_effective_19_max, harmonic_current_effective_19_min,
harmonic_current_effective_19_avg, harmonic_current_effective_19_95, harmonic_current_effective_20_max,
harmonic_current_effective_20_min, harmonic_current_effective_20_avg, harmonic_current_effective_20_95,
harmonic_current_effective_21_max, harmonic_current_effective_21_min, harmonic_current_effective_21_avg,
harmonic_current_effective_21_95, harmonic_current_effective_22_max, harmonic_current_effective_22_min,
harmonic_current_effective_22_avg, harmonic_current_effective_22_95, harmonic_current_effective_23_max,
harmonic_current_effective_23_min, harmonic_current_effective_23_avg, harmonic_current_effective_23_95,
harmonic_current_effective_24_max, harmonic_current_effective_24_min, harmonic_current_effective_24_avg,
harmonic_current_effective_24_95, harmonic_current_effective_25_max, harmonic_current_effective_25_min,
harmonic_current_effective_25_avg, harmonic_current_effective_25_95, harmonic_current_effective_26_max,
harmonic_current_effective_26_min, harmonic_current_effective_26_avg, harmonic_current_effective_26_95,
harmonic_current_effective_27_max, harmonic_current_effective_27_min, harmonic_current_effective_27_avg,
harmonic_current_effective_27_95, harmonic_current_effective_28_max, harmonic_current_effective_28_min,
harmonic_current_effective_28_avg, harmonic_current_effective_28_95, harmonic_current_effective_29_max,
harmonic_current_effective_29_min, harmonic_current_effective_29_avg, harmonic_current_effective_29_95,
harmonic_current_effective_30_max, harmonic_current_effective_30_min, harmonic_current_effective_30_avg,
harmonic_current_effective_30_95, harmonic_current_effective_31_max, harmonic_current_effective_31_min,
harmonic_current_effective_31_avg, harmonic_current_effective_31_95, harmonic_current_effective_32_max,
harmonic_current_effective_32_min, harmonic_current_effective_32_avg, harmonic_current_effective_32_95,
harmonic_current_effective_33_max, harmonic_current_effective_33_min, harmonic_current_effective_33_avg,
harmonic_current_effective_33_95, harmonic_current_effective_34_max, harmonic_current_effective_34_min,
harmonic_current_effective_34_avg, harmonic_current_effective_34_95, harmonic_current_effective_35_max,
harmonic_current_effective_35_min, harmonic_current_effective_35_avg, harmonic_current_effective_35_95,
harmonic_current_effective_36_max, harmonic_current_effective_36_min, harmonic_current_effective_36_avg,
harmonic_current_effective_36_95, harmonic_current_effective_37_max, harmonic_current_effective_37_min,
harmonic_current_effective_37_avg, harmonic_current_effective_37_95, harmonic_current_effective_38_max,
harmonic_current_effective_38_min, harmonic_current_effective_38_avg, harmonic_current_effective_38_95,
harmonic_current_effective_39_max, harmonic_current_effective_39_min, harmonic_current_effective_39_avg,
harmonic_current_effective_39_95, harmonic_current_effective_40_max, harmonic_current_effective_40_min,
harmonic_current_effective_40_avg, harmonic_current_effective_40_95, harmonic_current_effective_41_max,
harmonic_current_effective_41_min, harmonic_current_effective_41_avg, harmonic_current_effective_41_95,
harmonic_current_effective_42_max, harmonic_current_effective_42_min, harmonic_current_effective_42_avg,
harmonic_current_effective_42_95, harmonic_current_effective_43_max, harmonic_current_effective_43_min,
harmonic_current_effective_43_avg, harmonic_current_effective_43_95, harmonic_current_effective_44_max,
harmonic_current_effective_44_min, harmonic_current_effective_44_avg, harmonic_current_effective_44_95,
harmonic_current_effective_45_max, harmonic_current_effective_45_min, harmonic_current_effective_45_avg,
harmonic_current_effective_45_95, harmonic_current_effective_46_max, harmonic_current_effective_46_min,
harmonic_current_effective_46_avg, harmonic_current_effective_46_95, harmonic_current_effective_47_max,
harmonic_current_effective_47_min, harmonic_current_effective_47_avg, harmonic_current_effective_47_95,
harmonic_current_effective_48_max, harmonic_current_effective_48_min, harmonic_current_effective_48_avg,
harmonic_current_effective_48_95, harmonic_current_effective_49_max, harmonic_current_effective_49_min,
harmonic_current_effective_49_avg, harmonic_current_effective_49_95, harmonic_current_effective_50_max,
harmonic_current_effective_50_min, harmonic_current_effective_50_avg, harmonic_current_effective_50_95
</sql>
</mapper>

View File

@@ -0,0 +1,235 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.njcn.prepare.harmonic.mapper.line.RMpHarmonicIRateReportDPOMapper">
<resultMap id="BaseResultMap" type="com.njcn.prepare.harmonic.pojo.po.line.RMpHarmonicIRateReportDPO">
<!--@mbg.generated-->
<!--@Table r_mp_harmonic_i_rate_report_d-->
<id column="measurement_point_id" jdbcType="VARCHAR" property="measurementPointId" />
<id column="data_date" jdbcType="DATE" property="dataDate" />
<id column="phase" jdbcType="VARCHAR" property="phase" />
<result column="i_2_max" jdbcType="FLOAT" property="i2Max" />
<result column="i_2_min" jdbcType="FLOAT" property="i2Min" />
<result column="i_2_avg" jdbcType="FLOAT" property="i2Avg" />
<result column="i_2_cp95" jdbcType="FLOAT" property="i2Cp95" />
<result column="i_3_max" jdbcType="FLOAT" property="i3Max" />
<result column="i_3_min" jdbcType="FLOAT" property="i3Min" />
<result column="i_3_avg" jdbcType="FLOAT" property="i3Avg" />
<result column="i_3_cp95" jdbcType="FLOAT" property="i3Cp95" />
<result column="i_4_max" jdbcType="FLOAT" property="i4Max" />
<result column="i_4_min" jdbcType="FLOAT" property="i4Min" />
<result column="i_4_avg" jdbcType="FLOAT" property="i4Avg" />
<result column="i_4_cp95" jdbcType="FLOAT" property="i4Cp95" />
<result column="i_5_max" jdbcType="FLOAT" property="i5Max" />
<result column="i_5_min" jdbcType="FLOAT" property="i5Min" />
<result column="i_5_avg" jdbcType="FLOAT" property="i5Avg" />
<result column="i_5_cp95" jdbcType="FLOAT" property="i5Cp95" />
<result column="i_6_max" jdbcType="FLOAT" property="i6Max" />
<result column="i_6_min" jdbcType="FLOAT" property="i6Min" />
<result column="i_6_avg" jdbcType="FLOAT" property="i6Avg" />
<result column="i_6_cp95" jdbcType="FLOAT" property="i6Cp95" />
<result column="i_7_max" jdbcType="FLOAT" property="i7Max" />
<result column="i_7_min" jdbcType="FLOAT" property="i7Min" />
<result column="i_7_avg" jdbcType="FLOAT" property="i7Avg" />
<result column="i_7_cp95" jdbcType="FLOAT" property="i7Cp95" />
<result column="i_8_max" jdbcType="FLOAT" property="i8Max" />
<result column="i_8_min" jdbcType="FLOAT" property="i8Min" />
<result column="i_8_avg" jdbcType="FLOAT" property="i8Avg" />
<result column="i_8_cp95" jdbcType="FLOAT" property="i8Cp95" />
<result column="i_9_max" jdbcType="FLOAT" property="i9Max" />
<result column="i_9_min" jdbcType="FLOAT" property="i9Min" />
<result column="i_9_avg" jdbcType="FLOAT" property="i9Avg" />
<result column="i_9_cp95" jdbcType="FLOAT" property="i9Cp95" />
<result column="i_10_max" jdbcType="FLOAT" property="i10Max" />
<result column="i_10_min" jdbcType="FLOAT" property="i10Min" />
<result column="i_10_avg" jdbcType="FLOAT" property="i10Avg" />
<result column="i_10_cp95" jdbcType="FLOAT" property="i10Cp95" />
<result column="i_11_max" jdbcType="FLOAT" property="i11Max" />
<result column="i_11_min" jdbcType="FLOAT" property="i11Min" />
<result column="i_11_avg" jdbcType="FLOAT" property="i11Avg" />
<result column="i_11_cp95" jdbcType="FLOAT" property="i11Cp95" />
<result column="i_12_max" jdbcType="FLOAT" property="i12Max" />
<result column="i_12_min" jdbcType="FLOAT" property="i12Min" />
<result column="i_12_avg" jdbcType="FLOAT" property="i12Avg" />
<result column="i_12_cp95" jdbcType="FLOAT" property="i12Cp95" />
<result column="i_13_max" jdbcType="FLOAT" property="i13Max" />
<result column="i_13_min" jdbcType="FLOAT" property="i13Min" />
<result column="i_13_avg" jdbcType="FLOAT" property="i13Avg" />
<result column="i_13_cp95" jdbcType="FLOAT" property="i13Cp95" />
<result column="i_14_max" jdbcType="FLOAT" property="i14Max" />
<result column="i_14_min" jdbcType="FLOAT" property="i14Min" />
<result column="i_14_avg" jdbcType="FLOAT" property="i14Avg" />
<result column="i_14_cp95" jdbcType="FLOAT" property="i14Cp95" />
<result column="i_15_max" jdbcType="FLOAT" property="i15Max" />
<result column="i_15_min" jdbcType="FLOAT" property="i15Min" />
<result column="i_15_avg" jdbcType="FLOAT" property="i15Avg" />
<result column="i_15_cp95" jdbcType="FLOAT" property="i15Cp95" />
<result column="i_16_max" jdbcType="FLOAT" property="i16Max" />
<result column="i_16_min" jdbcType="FLOAT" property="i16Min" />
<result column="i_16_avg" jdbcType="FLOAT" property="i16Avg" />
<result column="i_16_cp95" jdbcType="FLOAT" property="i16Cp95" />
<result column="i_17_max" jdbcType="FLOAT" property="i17Max" />
<result column="i_17_min" jdbcType="FLOAT" property="i17Min" />
<result column="i_17_avg" jdbcType="FLOAT" property="i17Avg" />
<result column="i_17_cp95" jdbcType="FLOAT" property="i17Cp95" />
<result column="i_18_max" jdbcType="FLOAT" property="i18Max" />
<result column="i_18_min" jdbcType="FLOAT" property="i18Min" />
<result column="i_18_avg" jdbcType="FLOAT" property="i18Avg" />
<result column="i_18_cp95" jdbcType="FLOAT" property="i18Cp95" />
<result column="i_19_max" jdbcType="FLOAT" property="i19Max" />
<result column="i_19_min" jdbcType="FLOAT" property="i19Min" />
<result column="i_19_avg" jdbcType="FLOAT" property="i19Avg" />
<result column="i_19_cp95" jdbcType="FLOAT" property="i19Cp95" />
<result column="i_20_max" jdbcType="FLOAT" property="i20Max" />
<result column="i_20_min" jdbcType="FLOAT" property="i20Min" />
<result column="i_20_avg" jdbcType="FLOAT" property="i20Avg" />
<result column="i_20_cp95" jdbcType="FLOAT" property="i20Cp95" />
<result column="i_21_max" jdbcType="FLOAT" property="i21Max" />
<result column="i_21_min" jdbcType="FLOAT" property="i21Min" />
<result column="i_21_avg" jdbcType="FLOAT" property="i21Avg" />
<result column="i_21_cp95" jdbcType="FLOAT" property="i21Cp95" />
<result column="i_22_max" jdbcType="FLOAT" property="i22Max" />
<result column="i_22_min" jdbcType="FLOAT" property="i22Min" />
<result column="i_22_avg" jdbcType="FLOAT" property="i22Avg" />
<result column="i_22_cp95" jdbcType="FLOAT" property="i22Cp95" />
<result column="i_23_max" jdbcType="FLOAT" property="i23Max" />
<result column="i_23_min" jdbcType="FLOAT" property="i23Min" />
<result column="i_23_avg" jdbcType="FLOAT" property="i23Avg" />
<result column="i_23_cp95" jdbcType="FLOAT" property="i23Cp95" />
<result column="i_24_max" jdbcType="FLOAT" property="i24Max" />
<result column="i_24_min" jdbcType="FLOAT" property="i24Min" />
<result column="i_24_avg" jdbcType="FLOAT" property="i24Avg" />
<result column="i_24_cp95" jdbcType="FLOAT" property="i24Cp95" />
<result column="i_25_max" jdbcType="FLOAT" property="i25Max" />
<result column="i_25_min" jdbcType="FLOAT" property="i25Min" />
<result column="i_25_avg" jdbcType="FLOAT" property="i25Avg" />
<result column="i_25_cp95" jdbcType="FLOAT" property="i25Cp95" />
<result column="i_26_max" jdbcType="FLOAT" property="i26Max" />
<result column="i_26_min" jdbcType="FLOAT" property="i26Min" />
<result column="i_26_avg" jdbcType="FLOAT" property="i26Avg" />
<result column="i_26_cp95" jdbcType="FLOAT" property="i26Cp95" />
<result column="i_27_max" jdbcType="FLOAT" property="i27Max" />
<result column="i_27_min" jdbcType="FLOAT" property="i27Min" />
<result column="i_27_avg" jdbcType="FLOAT" property="i27Avg" />
<result column="i_27_cp95" jdbcType="FLOAT" property="i27Cp95" />
<result column="i_28_max" jdbcType="FLOAT" property="i28Max" />
<result column="i_28_min" jdbcType="FLOAT" property="i28Min" />
<result column="i_28_avg" jdbcType="FLOAT" property="i28Avg" />
<result column="i_28_cp95" jdbcType="FLOAT" property="i28Cp95" />
<result column="i_29_max" jdbcType="FLOAT" property="i29Max" />
<result column="i_29_min" jdbcType="FLOAT" property="i29Min" />
<result column="i_29_avg" jdbcType="FLOAT" property="i29Avg" />
<result column="i_29_cp95" jdbcType="FLOAT" property="i29Cp95" />
<result column="i_30_max" jdbcType="FLOAT" property="i30Max" />
<result column="i_30_min" jdbcType="FLOAT" property="i30Min" />
<result column="i_30_avg" jdbcType="FLOAT" property="i30Avg" />
<result column="i_30_cp95" jdbcType="FLOAT" property="i30Cp95" />
<result column="i_31_max" jdbcType="FLOAT" property="i31Max" />
<result column="i_31_min" jdbcType="FLOAT" property="i31Min" />
<result column="i_31_avg" jdbcType="FLOAT" property="i31Avg" />
<result column="i_31_cp95" jdbcType="FLOAT" property="i31Cp95" />
<result column="i_32_max" jdbcType="FLOAT" property="i32Max" />
<result column="i_32_min" jdbcType="FLOAT" property="i32Min" />
<result column="i_32_avg" jdbcType="FLOAT" property="i32Avg" />
<result column="i_32_cp95" jdbcType="FLOAT" property="i32Cp95" />
<result column="i_33_max" jdbcType="FLOAT" property="i33Max" />
<result column="i_33_min" jdbcType="FLOAT" property="i33Min" />
<result column="i_33_avg" jdbcType="FLOAT" property="i33Avg" />
<result column="i_33_cp95" jdbcType="FLOAT" property="i33Cp95" />
<result column="i_34_max" jdbcType="FLOAT" property="i34Max" />
<result column="i_34_min" jdbcType="FLOAT" property="i34Min" />
<result column="i_34_avg" jdbcType="FLOAT" property="i34Avg" />
<result column="i_34_cp95" jdbcType="FLOAT" property="i34Cp95" />
<result column="i_35_max" jdbcType="FLOAT" property="i35Max" />
<result column="i_35_min" jdbcType="FLOAT" property="i35Min" />
<result column="i_35_avg" jdbcType="FLOAT" property="i35Avg" />
<result column="i_35_cp95" jdbcType="FLOAT" property="i35Cp95" />
<result column="i_36_max" jdbcType="FLOAT" property="i36Max" />
<result column="i_36_min" jdbcType="FLOAT" property="i36Min" />
<result column="i_36_avg" jdbcType="FLOAT" property="i36Avg" />
<result column="i_36_cp95" jdbcType="FLOAT" property="i36Cp95" />
<result column="i_37_max" jdbcType="FLOAT" property="i37Max" />
<result column="i_37_min" jdbcType="FLOAT" property="i37Min" />
<result column="i_37_avg" jdbcType="FLOAT" property="i37Avg" />
<result column="i_37_cp95" jdbcType="FLOAT" property="i37Cp95" />
<result column="i_38_max" jdbcType="FLOAT" property="i38Max" />
<result column="i_38_min" jdbcType="FLOAT" property="i38Min" />
<result column="i_38_avg" jdbcType="FLOAT" property="i38Avg" />
<result column="i_38_cp95" jdbcType="FLOAT" property="i38Cp95" />
<result column="i_39_max" jdbcType="FLOAT" property="i39Max" />
<result column="i_39_min" jdbcType="FLOAT" property="i39Min" />
<result column="i_39_avg" jdbcType="FLOAT" property="i39Avg" />
<result column="i_39_cp95" jdbcType="FLOAT" property="i39Cp95" />
<result column="i_40_max" jdbcType="FLOAT" property="i40Max" />
<result column="i_40_min" jdbcType="FLOAT" property="i40Min" />
<result column="i_40_avg" jdbcType="FLOAT" property="i40Avg" />
<result column="i_40_cp95" jdbcType="FLOAT" property="i40Cp95" />
<result column="i_41_max" jdbcType="FLOAT" property="i41Max" />
<result column="i_41_min" jdbcType="FLOAT" property="i41Min" />
<result column="i_41_avg" jdbcType="FLOAT" property="i41Avg" />
<result column="i_41_cp95" jdbcType="FLOAT" property="i41Cp95" />
<result column="i_42_max" jdbcType="FLOAT" property="i42Max" />
<result column="i_42_min" jdbcType="FLOAT" property="i42Min" />
<result column="i_42_avg" jdbcType="FLOAT" property="i42Avg" />
<result column="i_42_cp95" jdbcType="FLOAT" property="i42Cp95" />
<result column="i_43_max" jdbcType="FLOAT" property="i43Max" />
<result column="i_43_min" jdbcType="FLOAT" property="i43Min" />
<result column="i_43_avg" jdbcType="FLOAT" property="i43Avg" />
<result column="i_43_cp95" jdbcType="FLOAT" property="i43Cp95" />
<result column="i_44_max" jdbcType="FLOAT" property="i44Max" />
<result column="i_44_min" jdbcType="FLOAT" property="i44Min" />
<result column="i_44_avg" jdbcType="FLOAT" property="i44Avg" />
<result column="i_44_cp95" jdbcType="FLOAT" property="i44Cp95" />
<result column="i_45_max" jdbcType="FLOAT" property="i45Max" />
<result column="i_45_min" jdbcType="FLOAT" property="i45Min" />
<result column="i_45_avg" jdbcType="FLOAT" property="i45Avg" />
<result column="i_45_cp95" jdbcType="FLOAT" property="i45Cp95" />
<result column="i_46_max" jdbcType="FLOAT" property="i46Max" />
<result column="i_46_min" jdbcType="FLOAT" property="i46Min" />
<result column="i_46_avg" jdbcType="FLOAT" property="i46Avg" />
<result column="i_46_cp95" jdbcType="FLOAT" property="i46Cp95" />
<result column="i_47_max" jdbcType="FLOAT" property="i47Max" />
<result column="i_47_min" jdbcType="FLOAT" property="i47Min" />
<result column="i_47_avg" jdbcType="FLOAT" property="i47Avg" />
<result column="i_47_cp95" jdbcType="FLOAT" property="i47Cp95" />
<result column="i_48_max" jdbcType="FLOAT" property="i48Max" />
<result column="i_48_min" jdbcType="FLOAT" property="i48Min" />
<result column="i_48_avg" jdbcType="FLOAT" property="i48Avg" />
<result column="i_48_cp95" jdbcType="FLOAT" property="i48Cp95" />
<result column="i_49_max" jdbcType="FLOAT" property="i49Max" />
<result column="i_49_min" jdbcType="FLOAT" property="i49Min" />
<result column="i_49_avg" jdbcType="FLOAT" property="i49Avg" />
<result column="i_49_cp95" jdbcType="FLOAT" property="i49Cp95" />
<result column="i_50_max" jdbcType="FLOAT" property="i50Max" />
<result column="i_50_min" jdbcType="FLOAT" property="i50Min" />
<result column="i_50_avg" jdbcType="FLOAT" property="i50Avg" />
<result column="i_50_cp95" jdbcType="FLOAT" property="i50Cp95" />
</resultMap>
<sql id="Base_Column_List">
<!--@mbg.generated-->
measurement_point_id, data_date, phase, i_2_max, i_2_min, i_2_avg, i_2_cp95, i_3_max,
i_3_min, i_3_avg, i_3_cp95, i_4_max, i_4_min, i_4_avg, i_4_cp95, i_5_max, i_5_min,
i_5_avg, i_5_cp95, i_6_max, i_6_min, i_6_avg, i_6_cp95, i_7_max, i_7_min, i_7_avg,
i_7_cp95, i_8_max, i_8_min, i_8_avg, i_8_cp95, i_9_max, i_9_min, i_9_avg, i_9_cp95,
i_10_max, i_10_min, i_10_avg, i_10_cp95, i_11_max, i_11_min, i_11_avg, i_11_cp95,
i_12_max, i_12_min, i_12_avg, i_12_cp95, i_13_max, i_13_min, i_13_avg, i_13_cp95,
i_14_max, i_14_min, i_14_avg, i_14_cp95, i_15_max, i_15_min, i_15_avg, i_15_cp95,
i_16_max, i_16_min, i_16_avg, i_16_cp95, i_17_max, i_17_min, i_17_avg, i_17_cp95,
i_18_max, i_18_min, i_18_avg, i_18_cp95, i_19_max, i_19_min, i_19_avg, i_19_cp95,
i_20_max, i_20_min, i_20_avg, i_20_cp95, i_21_max, i_21_min, i_21_avg, i_21_cp95,
i_22_max, i_22_min, i_22_avg, i_22_cp95, i_23_max, i_23_min, i_23_avg, i_23_cp95,
i_24_max, i_24_min, i_24_avg, i_24_cp95, i_25_max, i_25_min, i_25_avg, i_25_cp95,
i_26_max, i_26_min, i_26_avg, i_26_cp95, i_27_max, i_27_min, i_27_avg, i_27_cp95,
i_28_max, i_28_min, i_28_avg, i_28_cp95, i_29_max, i_29_min, i_29_avg, i_29_cp95,
i_30_max, i_30_min, i_30_avg, i_30_cp95, i_31_max, i_31_min, i_31_avg, i_31_cp95,
i_32_max, i_32_min, i_32_avg, i_32_cp95, i_33_max, i_33_min, i_33_avg, i_33_cp95,
i_34_max, i_34_min, i_34_avg, i_34_cp95, i_35_max, i_35_min, i_35_avg, i_35_cp95,
i_36_max, i_36_min, i_36_avg, i_36_cp95, i_37_max, i_37_min, i_37_avg, i_37_cp95,
i_38_max, i_38_min, i_38_avg, i_38_cp95, i_39_max, i_39_min, i_39_avg, i_39_cp95,
i_40_max, i_40_min, i_40_avg, i_40_cp95, i_41_max, i_41_min, i_41_avg, i_41_cp95,
i_42_max, i_42_min, i_42_avg, i_42_cp95, i_43_max, i_43_min, i_43_avg, i_43_cp95,
i_44_max, i_44_min, i_44_avg, i_44_cp95, i_45_max, i_45_min, i_45_avg, i_45_cp95,
i_46_max, i_46_min, i_46_avg, i_46_cp95, i_47_max, i_47_min, i_47_avg, i_47_cp95,
i_48_max, i_48_min, i_48_avg, i_48_cp95, i_49_max, i_49_min, i_49_avg, i_49_cp95,
i_50_max, i_50_min, i_50_avg, i_50_cp95
</sql>
</mapper>

View File

@@ -0,0 +1,287 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.njcn.prepare.harmonic.mapper.line.RMpHarmonicPReportDPOMapper">
<resultMap id="BaseResultMap" type="com.njcn.prepare.harmonic.pojo.po.line.RMpHarmonicPReportDPO">
<!--@mbg.generated-->
<!--@Table r_mp_harmonic_p_report_d-->
<id column="measurement_point_id" jdbcType="VARCHAR" property="measurementPointId" />
<id column="data_date" jdbcType="DATE" property="dataDate" />
<id column="phase" jdbcType="VARCHAR" property="phase" />
<result column="FUNDAMENTAL_RATEOFWORK_MAX" jdbcType="FLOAT" property="fundamentalRateofworkMax" />
<result column="FUNDAMENTAL_RATEOFWORK_Min" jdbcType="FLOAT" property="fundamentalRateofworkMin" />
<result column="FUNDAMENTAL_RATEOFWORK_avg" jdbcType="FLOAT" property="fundamentalRateofworkAvg" />
<result column="FUNDAMENTAL_RATEOFWORK_95" jdbcType="FLOAT" property="fundamentalRateofwork95" />
<result column="FUNDAMENTAL_ACTIVE_POWER_MAX" jdbcType="FLOAT" property="fundamentalActivePowerMax" />
<result column="FUNDAMENTAL_ACTIVE_POWER_Min" jdbcType="FLOAT" property="fundamentalActivePowerMin" />
<result column="FUNDAMENTAL_ACTIVE_POWER_avg" jdbcType="FLOAT" property="fundamentalActivePowerAvg" />
<result column="FUNDAMENTAL_ACTIVE_POWER_95" jdbcType="FLOAT" property="fundamentalActivePower95" />
<result column="HARMONIC_ACTIVE_POWER_2_MAX" jdbcType="FLOAT" property="harmonicActivePower2Max" />
<result column="HARMONIC_ACTIVE_POWER_2_MIN" jdbcType="FLOAT" property="harmonicActivePower2Min" />
<result column="HARMONIC_ACTIVE_POWER_2_AVG" jdbcType="FLOAT" property="harmonicActivePower2Avg" />
<result column="HARMONIC_ACTIVE_POWER_2_95" jdbcType="FLOAT" property="harmonicActivePower295" />
<result column="HARMONIC_ACTIVE_POWER_3_MAX" jdbcType="FLOAT" property="harmonicActivePower3Max" />
<result column="HARMONIC_ACTIVE_POWER_3_MIN" jdbcType="FLOAT" property="harmonicActivePower3Min" />
<result column="HARMONIC_ACTIVE_POWER_3_AVG" jdbcType="FLOAT" property="harmonicActivePower3Avg" />
<result column="HARMONIC_ACTIVE_POWER_3_95" jdbcType="FLOAT" property="harmonicActivePower395" />
<result column="HARMONIC_ACTIVE_POWER_4_MAX" jdbcType="FLOAT" property="harmonicActivePower4Max" />
<result column="HARMONIC_ACTIVE_POWER_4_MIN" jdbcType="FLOAT" property="harmonicActivePower4Min" />
<result column="HARMONIC_ACTIVE_POWER_4_AVG" jdbcType="FLOAT" property="harmonicActivePower4Avg" />
<result column="HARMONIC_ACTIVE_POWER_4_95" jdbcType="FLOAT" property="harmonicActivePower495" />
<result column="HARMONIC_ACTIVE_POWER_5_MAX" jdbcType="FLOAT" property="harmonicActivePower5Max" />
<result column="HARMONIC_ACTIVE_POWER_5_MIN" jdbcType="FLOAT" property="harmonicActivePower5Min" />
<result column="HARMONIC_ACTIVE_POWER_5_AVG" jdbcType="FLOAT" property="harmonicActivePower5Avg" />
<result column="HARMONIC_ACTIVE_POWER_5_95" jdbcType="FLOAT" property="harmonicActivePower595" />
<result column="HARMONIC_ACTIVE_POWER_6_MAX" jdbcType="FLOAT" property="harmonicActivePower6Max" />
<result column="HARMONIC_ACTIVE_POWER_6_MIN" jdbcType="FLOAT" property="harmonicActivePower6Min" />
<result column="HARMONIC_ACTIVE_POWER_6_AVG" jdbcType="FLOAT" property="harmonicActivePower6Avg" />
<result column="HARMONIC_ACTIVE_POWER_6_95" jdbcType="FLOAT" property="harmonicActivePower695" />
<result column="HARMONIC_ACTIVE_POWER_7_MAX" jdbcType="FLOAT" property="harmonicActivePower7Max" />
<result column="HARMONIC_ACTIVE_POWER_7_MIN" jdbcType="FLOAT" property="harmonicActivePower7Min" />
<result column="HARMONIC_ACTIVE_POWER_7_AVG" jdbcType="FLOAT" property="harmonicActivePower7Avg" />
<result column="HARMONIC_ACTIVE_POWER_7_95" jdbcType="FLOAT" property="harmonicActivePower795" />
<result column="HARMONIC_ACTIVE_POWER_8_MAX" jdbcType="FLOAT" property="harmonicActivePower8Max" />
<result column="HARMONIC_ACTIVE_POWER_8_MIN" jdbcType="FLOAT" property="harmonicActivePower8Min" />
<result column="HARMONIC_ACTIVE_POWER_8_AVG" jdbcType="FLOAT" property="harmonicActivePower8Avg" />
<result column="HARMONIC_ACTIVE_POWER_8_95" jdbcType="FLOAT" property="harmonicActivePower895" />
<result column="HARMONIC_ACTIVE_POWER_9_MAX" jdbcType="FLOAT" property="harmonicActivePower9Max" />
<result column="HARMONIC_ACTIVE_POWER_9_MIN" jdbcType="FLOAT" property="harmonicActivePower9Min" />
<result column="HARMONIC_ACTIVE_POWER_9_AVG" jdbcType="FLOAT" property="harmonicActivePower9Avg" />
<result column="HARMONIC_ACTIVE_POWER_9_95" jdbcType="FLOAT" property="harmonicActivePower995" />
<result column="HARMONIC_ACTIVE_POWER_10_MAX" jdbcType="FLOAT" property="harmonicActivePower10Max" />
<result column="HARMONIC_ACTIVE_POWER_10_MIN" jdbcType="FLOAT" property="harmonicActivePower10Min" />
<result column="HARMONIC_ACTIVE_POWER_10_AVG" jdbcType="FLOAT" property="harmonicActivePower10Avg" />
<result column="HARMONIC_ACTIVE_POWER_10_95" jdbcType="FLOAT" property="harmonicActivePower1095" />
<result column="HARMONIC_ACTIVE_POWER_11_MAX" jdbcType="FLOAT" property="harmonicActivePower11Max" />
<result column="HARMONIC_ACTIVE_POWER_11_MIN" jdbcType="FLOAT" property="harmonicActivePower11Min" />
<result column="HARMONIC_ACTIVE_POWER_11_AVG" jdbcType="FLOAT" property="harmonicActivePower11Avg" />
<result column="HARMONIC_ACTIVE_POWER_11_95" jdbcType="FLOAT" property="harmonicActivePower1195" />
<result column="HARMONIC_ACTIVE_POWER_12_MAX" jdbcType="FLOAT" property="harmonicActivePower12Max" />
<result column="HARMONIC_ACTIVE_POWER_12_MIN" jdbcType="FLOAT" property="harmonicActivePower12Min" />
<result column="HARMONIC_ACTIVE_POWER_12_AVG" jdbcType="FLOAT" property="harmonicActivePower12Avg" />
<result column="HARMONIC_ACTIVE_POWER_12_95" jdbcType="FLOAT" property="harmonicActivePower1295" />
<result column="HARMONIC_ACTIVE_POWER_13_MAX" jdbcType="FLOAT" property="harmonicActivePower13Max" />
<result column="HARMONIC_ACTIVE_POWER_13_MIN" jdbcType="FLOAT" property="harmonicActivePower13Min" />
<result column="HARMONIC_ACTIVE_POWER_13_AVG" jdbcType="FLOAT" property="harmonicActivePower13Avg" />
<result column="HARMONIC_ACTIVE_POWER_13_95" jdbcType="FLOAT" property="harmonicActivePower1395" />
<result column="HARMONIC_ACTIVE_POWER_14_MAX" jdbcType="FLOAT" property="harmonicActivePower14Max" />
<result column="HARMONIC_ACTIVE_POWER_14_MIN" jdbcType="FLOAT" property="harmonicActivePower14Min" />
<result column="HARMONIC_ACTIVE_POWER_14_AVG" jdbcType="FLOAT" property="harmonicActivePower14Avg" />
<result column="HARMONIC_ACTIVE_POWER_14_95" jdbcType="FLOAT" property="harmonicActivePower1495" />
<result column="HARMONIC_ACTIVE_POWER_15_MAX" jdbcType="FLOAT" property="harmonicActivePower15Max" />
<result column="HARMONIC_ACTIVE_POWER_15_MIN" jdbcType="FLOAT" property="harmonicActivePower15Min" />
<result column="HARMONIC_ACTIVE_POWER_15_AVG" jdbcType="FLOAT" property="harmonicActivePower15Avg" />
<result column="HARMONIC_ACTIVE_POWER_15_95" jdbcType="FLOAT" property="harmonicActivePower1595" />
<result column="HARMONIC_ACTIVE_POWER_16_MAX" jdbcType="FLOAT" property="harmonicActivePower16Max" />
<result column="HARMONIC_ACTIVE_POWER_16_MIN" jdbcType="FLOAT" property="harmonicActivePower16Min" />
<result column="HARMONIC_ACTIVE_POWER_16_AVG" jdbcType="FLOAT" property="harmonicActivePower16Avg" />
<result column="HARMONIC_ACTIVE_POWER_16_95" jdbcType="FLOAT" property="harmonicActivePower1695" />
<result column="HARMONIC_ACTIVE_POWER_17_MAX" jdbcType="FLOAT" property="harmonicActivePower17Max" />
<result column="HARMONIC_ACTIVE_POWER_17_MIN" jdbcType="FLOAT" property="harmonicActivePower17Min" />
<result column="HARMONIC_ACTIVE_POWER_17_AVG" jdbcType="FLOAT" property="harmonicActivePower17Avg" />
<result column="HARMONIC_ACTIVE_POWER_17_95" jdbcType="FLOAT" property="harmonicActivePower1795" />
<result column="HARMONIC_ACTIVE_POWER_18_MAX" jdbcType="FLOAT" property="harmonicActivePower18Max" />
<result column="HARMONIC_ACTIVE_POWER_18_MIN" jdbcType="FLOAT" property="harmonicActivePower18Min" />
<result column="HARMONIC_ACTIVE_POWER_18_AVG" jdbcType="FLOAT" property="harmonicActivePower18Avg" />
<result column="HARMONIC_ACTIVE_POWER_18_95" jdbcType="FLOAT" property="harmonicActivePower1895" />
<result column="HARMONIC_ACTIVE_POWER_19_MAX" jdbcType="FLOAT" property="harmonicActivePower19Max" />
<result column="HARMONIC_ACTIVE_POWER_19_MIN" jdbcType="FLOAT" property="harmonicActivePower19Min" />
<result column="HARMONIC_ACTIVE_POWER_19_AVG" jdbcType="FLOAT" property="harmonicActivePower19Avg" />
<result column="HARMONIC_ACTIVE_POWER_19_95" jdbcType="FLOAT" property="harmonicActivePower1995" />
<result column="HARMONIC_ACTIVE_POWER_20_MAX" jdbcType="FLOAT" property="harmonicActivePower20Max" />
<result column="HARMONIC_ACTIVE_POWER_20_MIN" jdbcType="FLOAT" property="harmonicActivePower20Min" />
<result column="HARMONIC_ACTIVE_POWER_20_AVG" jdbcType="FLOAT" property="harmonicActivePower20Avg" />
<result column="HARMONIC_ACTIVE_POWER_20_95" jdbcType="FLOAT" property="harmonicActivePower2095" />
<result column="HARMONIC_ACTIVE_POWER_21_MAX" jdbcType="FLOAT" property="harmonicActivePower21Max" />
<result column="HARMONIC_ACTIVE_POWER_21_MIN" jdbcType="FLOAT" property="harmonicActivePower21Min" />
<result column="HARMONIC_ACTIVE_POWER_21_AVG" jdbcType="FLOAT" property="harmonicActivePower21Avg" />
<result column="HARMONIC_ACTIVE_POWER_21_95" jdbcType="FLOAT" property="harmonicActivePower2195" />
<result column="HARMONIC_ACTIVE_POWER_22_MAX" jdbcType="FLOAT" property="harmonicActivePower22Max" />
<result column="HARMONIC_ACTIVE_POWER_22_MIN" jdbcType="FLOAT" property="harmonicActivePower22Min" />
<result column="HARMONIC_ACTIVE_POWER_22_AVG" jdbcType="FLOAT" property="harmonicActivePower22Avg" />
<result column="HARMONIC_ACTIVE_POWER_22_95" jdbcType="FLOAT" property="harmonicActivePower2295" />
<result column="HARMONIC_ACTIVE_POWER_23_MAX" jdbcType="FLOAT" property="harmonicActivePower23Max" />
<result column="HARMONIC_ACTIVE_POWER_23_MIN" jdbcType="FLOAT" property="harmonicActivePower23Min" />
<result column="HARMONIC_ACTIVE_POWER_23_AVG" jdbcType="FLOAT" property="harmonicActivePower23Avg" />
<result column="HARMONIC_ACTIVE_POWER_23_95" jdbcType="FLOAT" property="harmonicActivePower2395" />
<result column="HARMONIC_ACTIVE_POWER_24_MAX" jdbcType="FLOAT" property="harmonicActivePower24Max" />
<result column="HARMONIC_ACTIVE_POWER_24_MIN" jdbcType="FLOAT" property="harmonicActivePower24Min" />
<result column="HARMONIC_ACTIVE_POWER_24_AVG" jdbcType="FLOAT" property="harmonicActivePower24Avg" />
<result column="HARMONIC_ACTIVE_POWER_24_95" jdbcType="FLOAT" property="harmonicActivePower2495" />
<result column="HARMONIC_ACTIVE_POWER_25_MAX" jdbcType="FLOAT" property="harmonicActivePower25Max" />
<result column="HARMONIC_ACTIVE_POWER_25_MIN" jdbcType="FLOAT" property="harmonicActivePower25Min" />
<result column="HARMONIC_ACTIVE_POWER_25_AVG" jdbcType="FLOAT" property="harmonicActivePower25Avg" />
<result column="HARMONIC_ACTIVE_POWER_25_95" jdbcType="FLOAT" property="harmonicActivePower2595" />
<result column="HARMONIC_ACTIVE_POWER_26_MAX" jdbcType="FLOAT" property="harmonicActivePower26Max" />
<result column="HARMONIC_ACTIVE_POWER_26_MIN" jdbcType="FLOAT" property="harmonicActivePower26Min" />
<result column="HARMONIC_ACTIVE_POWER_26_AVG" jdbcType="FLOAT" property="harmonicActivePower26Avg" />
<result column="HARMONIC_ACTIVE_POWER_26_95" jdbcType="FLOAT" property="harmonicActivePower2695" />
<result column="HARMONIC_ACTIVE_POWER_27_MAX" jdbcType="FLOAT" property="harmonicActivePower27Max" />
<result column="HARMONIC_ACTIVE_POWER_27_MIN" jdbcType="FLOAT" property="harmonicActivePower27Min" />
<result column="HARMONIC_ACTIVE_POWER_27_AVG" jdbcType="FLOAT" property="harmonicActivePower27Avg" />
<result column="HARMONIC_ACTIVE_POWER_27_95" jdbcType="FLOAT" property="harmonicActivePower2795" />
<result column="HARMONIC_ACTIVE_POWER_28_MAX" jdbcType="FLOAT" property="harmonicActivePower28Max" />
<result column="HARMONIC_ACTIVE_POWER_28_MIN" jdbcType="FLOAT" property="harmonicActivePower28Min" />
<result column="HARMONIC_ACTIVE_POWER_28_AVG" jdbcType="FLOAT" property="harmonicActivePower28Avg" />
<result column="HARMONIC_ACTIVE_POWER_28_95" jdbcType="FLOAT" property="harmonicActivePower2895" />
<result column="HARMONIC_ACTIVE_POWER_29_MAX" jdbcType="FLOAT" property="harmonicActivePower29Max" />
<result column="HARMONIC_ACTIVE_POWER_29_MIN" jdbcType="FLOAT" property="harmonicActivePower29Min" />
<result column="HARMONIC_ACTIVE_POWER_29_AVG" jdbcType="FLOAT" property="harmonicActivePower29Avg" />
<result column="HARMONIC_ACTIVE_POWER_29_95" jdbcType="FLOAT" property="harmonicActivePower2995" />
<result column="HARMONIC_ACTIVE_POWER_30_MAX" jdbcType="FLOAT" property="harmonicActivePower30Max" />
<result column="HARMONIC_ACTIVE_POWER_30_MIN" jdbcType="FLOAT" property="harmonicActivePower30Min" />
<result column="HARMONIC_ACTIVE_POWER_30_AVG" jdbcType="FLOAT" property="harmonicActivePower30Avg" />
<result column="HARMONIC_ACTIVE_POWER_30_95" jdbcType="FLOAT" property="harmonicActivePower3095" />
<result column="HARMONIC_ACTIVE_POWER_31_MAX" jdbcType="FLOAT" property="harmonicActivePower31Max" />
<result column="HARMONIC_ACTIVE_POWER_31_MIN" jdbcType="FLOAT" property="harmonicActivePower31Min" />
<result column="HARMONIC_ACTIVE_POWER_31_AVG" jdbcType="FLOAT" property="harmonicActivePower31Avg" />
<result column="HARMONIC_ACTIVE_POWER_31_95" jdbcType="FLOAT" property="harmonicActivePower3195" />
<result column="HARMONIC_ACTIVE_POWER_32_MAX" jdbcType="FLOAT" property="harmonicActivePower32Max" />
<result column="HARMONIC_ACTIVE_POWER_32_MIN" jdbcType="FLOAT" property="harmonicActivePower32Min" />
<result column="HARMONIC_ACTIVE_POWER_32_AVG" jdbcType="FLOAT" property="harmonicActivePower32Avg" />
<result column="HARMONIC_ACTIVE_POWER_32_95" jdbcType="FLOAT" property="harmonicActivePower3295" />
<result column="HARMONIC_ACTIVE_POWER_33_MAX" jdbcType="FLOAT" property="harmonicActivePower33Max" />
<result column="HARMONIC_ACTIVE_POWER_33_MIN" jdbcType="FLOAT" property="harmonicActivePower33Min" />
<result column="HARMONIC_ACTIVE_POWER_33_AVG" jdbcType="FLOAT" property="harmonicActivePower33Avg" />
<result column="HARMONIC_ACTIVE_POWER_33_95" jdbcType="FLOAT" property="harmonicActivePower3395" />
<result column="HARMONIC_ACTIVE_POWER_34_MAX" jdbcType="FLOAT" property="harmonicActivePower34Max" />
<result column="HARMONIC_ACTIVE_POWER_34_MIN" jdbcType="FLOAT" property="harmonicActivePower34Min" />
<result column="HARMONIC_ACTIVE_POWER_34_AVG" jdbcType="FLOAT" property="harmonicActivePower34Avg" />
<result column="HARMONIC_ACTIVE_POWER_34_95" jdbcType="FLOAT" property="harmonicActivePower3495" />
<result column="HARMONIC_ACTIVE_POWER_35_MAX" jdbcType="FLOAT" property="harmonicActivePower35Max" />
<result column="HARMONIC_ACTIVE_POWER_35_MIN" jdbcType="FLOAT" property="harmonicActivePower35Min" />
<result column="HARMONIC_ACTIVE_POWER_35_AVG" jdbcType="FLOAT" property="harmonicActivePower35Avg" />
<result column="HARMONIC_ACTIVE_POWER_35_95" jdbcType="FLOAT" property="harmonicActivePower3595" />
<result column="HARMONIC_ACTIVE_POWER_36_MAX" jdbcType="FLOAT" property="harmonicActivePower36Max" />
<result column="HARMONIC_ACTIVE_POWER_36_MIN" jdbcType="FLOAT" property="harmonicActivePower36Min" />
<result column="HARMONIC_ACTIVE_POWER_36_AVG" jdbcType="FLOAT" property="harmonicActivePower36Avg" />
<result column="HARMONIC_ACTIVE_POWER_36_95" jdbcType="FLOAT" property="harmonicActivePower3695" />
<result column="HARMONIC_ACTIVE_POWER_37_MAX" jdbcType="FLOAT" property="harmonicActivePower37Max" />
<result column="HARMONIC_ACTIVE_POWER_37_MIN" jdbcType="FLOAT" property="harmonicActivePower37Min" />
<result column="HARMONIC_ACTIVE_POWER_37_AVG" jdbcType="FLOAT" property="harmonicActivePower37Avg" />
<result column="HARMONIC_ACTIVE_POWER_37_95" jdbcType="FLOAT" property="harmonicActivePower3795" />
<result column="HARMONIC_ACTIVE_POWER_38_MAX" jdbcType="FLOAT" property="harmonicActivePower38Max" />
<result column="HARMONIC_ACTIVE_POWER_38_MIN" jdbcType="FLOAT" property="harmonicActivePower38Min" />
<result column="HARMONIC_ACTIVE_POWER_38_AVG" jdbcType="FLOAT" property="harmonicActivePower38Avg" />
<result column="HARMONIC_ACTIVE_POWER_38_95" jdbcType="FLOAT" property="harmonicActivePower3895" />
<result column="HARMONIC_ACTIVE_POWER_39_MAX" jdbcType="FLOAT" property="harmonicActivePower39Max" />
<result column="HARMONIC_ACTIVE_POWER_39_MIN" jdbcType="FLOAT" property="harmonicActivePower39Min" />
<result column="HARMONIC_ACTIVE_POWER_39_AVG" jdbcType="FLOAT" property="harmonicActivePower39Avg" />
<result column="HARMONIC_ACTIVE_POWER_39_95" jdbcType="FLOAT" property="harmonicActivePower3995" />
<result column="HARMONIC_ACTIVE_POWER_40_MAX" jdbcType="FLOAT" property="harmonicActivePower40Max" />
<result column="HARMONIC_ACTIVE_POWER_40_MIN" jdbcType="FLOAT" property="harmonicActivePower40Min" />
<result column="HARMONIC_ACTIVE_POWER_40_AVG" jdbcType="FLOAT" property="harmonicActivePower40Avg" />
<result column="HARMONIC_ACTIVE_POWER_40_95" jdbcType="FLOAT" property="harmonicActivePower4095" />
<result column="HARMONIC_ACTIVE_POWER_41_MAX" jdbcType="FLOAT" property="harmonicActivePower41Max" />
<result column="HARMONIC_ACTIVE_POWER_41_MIN" jdbcType="FLOAT" property="harmonicActivePower41Min" />
<result column="HARMONIC_ACTIVE_POWER_41_AVG" jdbcType="FLOAT" property="harmonicActivePower41Avg" />
<result column="HARMONIC_ACTIVE_POWER_41_95" jdbcType="FLOAT" property="harmonicActivePower4195" />
<result column="HARMONIC_ACTIVE_POWER_42_MAX" jdbcType="FLOAT" property="harmonicActivePower42Max" />
<result column="HARMONIC_ACTIVE_POWER_42_MIN" jdbcType="FLOAT" property="harmonicActivePower42Min" />
<result column="HARMONIC_ACTIVE_POWER_42_AVG" jdbcType="FLOAT" property="harmonicActivePower42Avg" />
<result column="HARMONIC_ACTIVE_POWER_42_95" jdbcType="FLOAT" property="harmonicActivePower4295" />
<result column="HARMONIC_ACTIVE_POWER_43_MAX" jdbcType="FLOAT" property="harmonicActivePower43Max" />
<result column="HARMONIC_ACTIVE_POWER_43_MIN" jdbcType="FLOAT" property="harmonicActivePower43Min" />
<result column="HARMONIC_ACTIVE_POWER_43_AVG" jdbcType="FLOAT" property="harmonicActivePower43Avg" />
<result column="HARMONIC_ACTIVE_POWER_43_95" jdbcType="FLOAT" property="harmonicActivePower4395" />
<result column="HARMONIC_ACTIVE_POWER_44_MAX" jdbcType="FLOAT" property="harmonicActivePower44Max" />
<result column="HARMONIC_ACTIVE_POWER_44_MIN" jdbcType="FLOAT" property="harmonicActivePower44Min" />
<result column="HARMONIC_ACTIVE_POWER_44_AVG" jdbcType="FLOAT" property="harmonicActivePower44Avg" />
<result column="HARMONIC_ACTIVE_POWER_44_95" jdbcType="FLOAT" property="harmonicActivePower4495" />
<result column="HARMONIC_ACTIVE_POWER_45_MAX" jdbcType="FLOAT" property="harmonicActivePower45Max" />
<result column="HARMONIC_ACTIVE_POWER_45_MIN" jdbcType="FLOAT" property="harmonicActivePower45Min" />
<result column="HARMONIC_ACTIVE_POWER_45_AVG" jdbcType="FLOAT" property="harmonicActivePower45Avg" />
<result column="HARMONIC_ACTIVE_POWER_45_95" jdbcType="FLOAT" property="harmonicActivePower4595" />
<result column="HARMONIC_ACTIVE_POWER_46_MAX" jdbcType="FLOAT" property="harmonicActivePower46Max" />
<result column="HARMONIC_ACTIVE_POWER_46_MIN" jdbcType="FLOAT" property="harmonicActivePower46Min" />
<result column="HARMONIC_ACTIVE_POWER_46_AVG" jdbcType="FLOAT" property="harmonicActivePower46Avg" />
<result column="HARMONIC_ACTIVE_POWER_46_95" jdbcType="FLOAT" property="harmonicActivePower4695" />
<result column="HARMONIC_ACTIVE_POWER_47_MAX" jdbcType="FLOAT" property="harmonicActivePower47Max" />
<result column="HARMONIC_ACTIVE_POWER_47_MIN" jdbcType="FLOAT" property="harmonicActivePower47Min" />
<result column="HARMONIC_ACTIVE_POWER_47_AVG" jdbcType="FLOAT" property="harmonicActivePower47Avg" />
<result column="HARMONIC_ACTIVE_POWER_47_95" jdbcType="FLOAT" property="harmonicActivePower4795" />
<result column="HARMONIC_ACTIVE_POWER_48_MAX" jdbcType="FLOAT" property="harmonicActivePower48Max" />
<result column="HARMONIC_ACTIVE_POWER_48_MIN" jdbcType="FLOAT" property="harmonicActivePower48Min" />
<result column="HARMONIC_ACTIVE_POWER_48_AVG" jdbcType="FLOAT" property="harmonicActivePower48Avg" />
<result column="HARMONIC_ACTIVE_POWER_48_95" jdbcType="FLOAT" property="harmonicActivePower4895" />
<result column="HARMONIC_ACTIVE_POWER_49_MAX" jdbcType="FLOAT" property="harmonicActivePower49Max" />
<result column="HARMONIC_ACTIVE_POWER_49_MIN" jdbcType="FLOAT" property="harmonicActivePower49Min" />
<result column="HARMONIC_ACTIVE_POWER_49_AVG" jdbcType="FLOAT" property="harmonicActivePower49Avg" />
<result column="HARMONIC_ACTIVE_POWER_49_95" jdbcType="FLOAT" property="harmonicActivePower4995" />
<result column="HARMONIC_ACTIVE_POWER_50_MAX" jdbcType="FLOAT" property="harmonicActivePower50Max" />
<result column="HARMONIC_ACTIVE_POWER_50_MIN" jdbcType="FLOAT" property="harmonicActivePower50Min" />
<result column="HARMONIC_ACTIVE_POWER_50_AVG" jdbcType="FLOAT" property="harmonicActivePower50Avg" />
<result column="HARMONIC_ACTIVE_POWER_50_95" jdbcType="FLOAT" property="harmonicActivePower5095" />
</resultMap>
<sql id="Base_Column_List">
<!--@mbg.generated-->
measurement_point_id, data_date, phase, FUNDAMENTAL_RATEOFWORK_MAX, FUNDAMENTAL_RATEOFWORK_Min,
FUNDAMENTAL_RATEOFWORK_avg, FUNDAMENTAL_RATEOFWORK_95, FUNDAMENTAL_ACTIVE_POWER_MAX,
FUNDAMENTAL_ACTIVE_POWER_Min, FUNDAMENTAL_ACTIVE_POWER_avg, FUNDAMENTAL_ACTIVE_POWER_95,
HARMONIC_ACTIVE_POWER_2_MAX, HARMONIC_ACTIVE_POWER_2_MIN, HARMONIC_ACTIVE_POWER_2_AVG,
HARMONIC_ACTIVE_POWER_2_95, HARMONIC_ACTIVE_POWER_3_MAX, HARMONIC_ACTIVE_POWER_3_MIN,
HARMONIC_ACTIVE_POWER_3_AVG, HARMONIC_ACTIVE_POWER_3_95, HARMONIC_ACTIVE_POWER_4_MAX,
HARMONIC_ACTIVE_POWER_4_MIN, HARMONIC_ACTIVE_POWER_4_AVG, HARMONIC_ACTIVE_POWER_4_95,
HARMONIC_ACTIVE_POWER_5_MAX, HARMONIC_ACTIVE_POWER_5_MIN, HARMONIC_ACTIVE_POWER_5_AVG,
HARMONIC_ACTIVE_POWER_5_95, HARMONIC_ACTIVE_POWER_6_MAX, HARMONIC_ACTIVE_POWER_6_MIN,
HARMONIC_ACTIVE_POWER_6_AVG, HARMONIC_ACTIVE_POWER_6_95, HARMONIC_ACTIVE_POWER_7_MAX,
HARMONIC_ACTIVE_POWER_7_MIN, HARMONIC_ACTIVE_POWER_7_AVG, HARMONIC_ACTIVE_POWER_7_95,
HARMONIC_ACTIVE_POWER_8_MAX, HARMONIC_ACTIVE_POWER_8_MIN, HARMONIC_ACTIVE_POWER_8_AVG,
HARMONIC_ACTIVE_POWER_8_95, HARMONIC_ACTIVE_POWER_9_MAX, HARMONIC_ACTIVE_POWER_9_MIN,
HARMONIC_ACTIVE_POWER_9_AVG, HARMONIC_ACTIVE_POWER_9_95, HARMONIC_ACTIVE_POWER_10_MAX,
HARMONIC_ACTIVE_POWER_10_MIN, HARMONIC_ACTIVE_POWER_10_AVG, HARMONIC_ACTIVE_POWER_10_95,
HARMONIC_ACTIVE_POWER_11_MAX, HARMONIC_ACTIVE_POWER_11_MIN, HARMONIC_ACTIVE_POWER_11_AVG,
HARMONIC_ACTIVE_POWER_11_95, HARMONIC_ACTIVE_POWER_12_MAX, HARMONIC_ACTIVE_POWER_12_MIN,
HARMONIC_ACTIVE_POWER_12_AVG, HARMONIC_ACTIVE_POWER_12_95, HARMONIC_ACTIVE_POWER_13_MAX,
HARMONIC_ACTIVE_POWER_13_MIN, HARMONIC_ACTIVE_POWER_13_AVG, HARMONIC_ACTIVE_POWER_13_95,
HARMONIC_ACTIVE_POWER_14_MAX, HARMONIC_ACTIVE_POWER_14_MIN, HARMONIC_ACTIVE_POWER_14_AVG,
HARMONIC_ACTIVE_POWER_14_95, HARMONIC_ACTIVE_POWER_15_MAX, HARMONIC_ACTIVE_POWER_15_MIN,
HARMONIC_ACTIVE_POWER_15_AVG, HARMONIC_ACTIVE_POWER_15_95, HARMONIC_ACTIVE_POWER_16_MAX,
HARMONIC_ACTIVE_POWER_16_MIN, HARMONIC_ACTIVE_POWER_16_AVG, HARMONIC_ACTIVE_POWER_16_95,
HARMONIC_ACTIVE_POWER_17_MAX, HARMONIC_ACTIVE_POWER_17_MIN, HARMONIC_ACTIVE_POWER_17_AVG,
HARMONIC_ACTIVE_POWER_17_95, HARMONIC_ACTIVE_POWER_18_MAX, HARMONIC_ACTIVE_POWER_18_MIN,
HARMONIC_ACTIVE_POWER_18_AVG, HARMONIC_ACTIVE_POWER_18_95, HARMONIC_ACTIVE_POWER_19_MAX,
HARMONIC_ACTIVE_POWER_19_MIN, HARMONIC_ACTIVE_POWER_19_AVG, HARMONIC_ACTIVE_POWER_19_95,
HARMONIC_ACTIVE_POWER_20_MAX, HARMONIC_ACTIVE_POWER_20_MIN, HARMONIC_ACTIVE_POWER_20_AVG,
HARMONIC_ACTIVE_POWER_20_95, HARMONIC_ACTIVE_POWER_21_MAX, HARMONIC_ACTIVE_POWER_21_MIN,
HARMONIC_ACTIVE_POWER_21_AVG, HARMONIC_ACTIVE_POWER_21_95, HARMONIC_ACTIVE_POWER_22_MAX,
HARMONIC_ACTIVE_POWER_22_MIN, HARMONIC_ACTIVE_POWER_22_AVG, HARMONIC_ACTIVE_POWER_22_95,
HARMONIC_ACTIVE_POWER_23_MAX, HARMONIC_ACTIVE_POWER_23_MIN, HARMONIC_ACTIVE_POWER_23_AVG,
HARMONIC_ACTIVE_POWER_23_95, HARMONIC_ACTIVE_POWER_24_MAX, HARMONIC_ACTIVE_POWER_24_MIN,
HARMONIC_ACTIVE_POWER_24_AVG, HARMONIC_ACTIVE_POWER_24_95, HARMONIC_ACTIVE_POWER_25_MAX,
HARMONIC_ACTIVE_POWER_25_MIN, HARMONIC_ACTIVE_POWER_25_AVG, HARMONIC_ACTIVE_POWER_25_95,
HARMONIC_ACTIVE_POWER_26_MAX, HARMONIC_ACTIVE_POWER_26_MIN, HARMONIC_ACTIVE_POWER_26_AVG,
HARMONIC_ACTIVE_POWER_26_95, HARMONIC_ACTIVE_POWER_27_MAX, HARMONIC_ACTIVE_POWER_27_MIN,
HARMONIC_ACTIVE_POWER_27_AVG, HARMONIC_ACTIVE_POWER_27_95, HARMONIC_ACTIVE_POWER_28_MAX,
HARMONIC_ACTIVE_POWER_28_MIN, HARMONIC_ACTIVE_POWER_28_AVG, HARMONIC_ACTIVE_POWER_28_95,
HARMONIC_ACTIVE_POWER_29_MAX, HARMONIC_ACTIVE_POWER_29_MIN, HARMONIC_ACTIVE_POWER_29_AVG,
HARMONIC_ACTIVE_POWER_29_95, HARMONIC_ACTIVE_POWER_30_MAX, HARMONIC_ACTIVE_POWER_30_MIN,
HARMONIC_ACTIVE_POWER_30_AVG, HARMONIC_ACTIVE_POWER_30_95, HARMONIC_ACTIVE_POWER_31_MAX,
HARMONIC_ACTIVE_POWER_31_MIN, HARMONIC_ACTIVE_POWER_31_AVG, HARMONIC_ACTIVE_POWER_31_95,
HARMONIC_ACTIVE_POWER_32_MAX, HARMONIC_ACTIVE_POWER_32_MIN, HARMONIC_ACTIVE_POWER_32_AVG,
HARMONIC_ACTIVE_POWER_32_95, HARMONIC_ACTIVE_POWER_33_MAX, HARMONIC_ACTIVE_POWER_33_MIN,
HARMONIC_ACTIVE_POWER_33_AVG, HARMONIC_ACTIVE_POWER_33_95, HARMONIC_ACTIVE_POWER_34_MAX,
HARMONIC_ACTIVE_POWER_34_MIN, HARMONIC_ACTIVE_POWER_34_AVG, HARMONIC_ACTIVE_POWER_34_95,
HARMONIC_ACTIVE_POWER_35_MAX, HARMONIC_ACTIVE_POWER_35_MIN, HARMONIC_ACTIVE_POWER_35_AVG,
HARMONIC_ACTIVE_POWER_35_95, HARMONIC_ACTIVE_POWER_36_MAX, HARMONIC_ACTIVE_POWER_36_MIN,
HARMONIC_ACTIVE_POWER_36_AVG, HARMONIC_ACTIVE_POWER_36_95, HARMONIC_ACTIVE_POWER_37_MAX,
HARMONIC_ACTIVE_POWER_37_MIN, HARMONIC_ACTIVE_POWER_37_AVG, HARMONIC_ACTIVE_POWER_37_95,
HARMONIC_ACTIVE_POWER_38_MAX, HARMONIC_ACTIVE_POWER_38_MIN, HARMONIC_ACTIVE_POWER_38_AVG,
HARMONIC_ACTIVE_POWER_38_95, HARMONIC_ACTIVE_POWER_39_MAX, HARMONIC_ACTIVE_POWER_39_MIN,
HARMONIC_ACTIVE_POWER_39_AVG, HARMONIC_ACTIVE_POWER_39_95, HARMONIC_ACTIVE_POWER_40_MAX,
HARMONIC_ACTIVE_POWER_40_MIN, HARMONIC_ACTIVE_POWER_40_AVG, HARMONIC_ACTIVE_POWER_40_95,
HARMONIC_ACTIVE_POWER_41_MAX, HARMONIC_ACTIVE_POWER_41_MIN, HARMONIC_ACTIVE_POWER_41_AVG,
HARMONIC_ACTIVE_POWER_41_95, HARMONIC_ACTIVE_POWER_42_MAX, HARMONIC_ACTIVE_POWER_42_MIN,
HARMONIC_ACTIVE_POWER_42_AVG, HARMONIC_ACTIVE_POWER_42_95, HARMONIC_ACTIVE_POWER_43_MAX,
HARMONIC_ACTIVE_POWER_43_MIN, HARMONIC_ACTIVE_POWER_43_AVG, HARMONIC_ACTIVE_POWER_43_95,
HARMONIC_ACTIVE_POWER_44_MAX, HARMONIC_ACTIVE_POWER_44_MIN, HARMONIC_ACTIVE_POWER_44_AVG,
HARMONIC_ACTIVE_POWER_44_95, HARMONIC_ACTIVE_POWER_45_MAX, HARMONIC_ACTIVE_POWER_45_MIN,
HARMONIC_ACTIVE_POWER_45_AVG, HARMONIC_ACTIVE_POWER_45_95, HARMONIC_ACTIVE_POWER_46_MAX,
HARMONIC_ACTIVE_POWER_46_MIN, HARMONIC_ACTIVE_POWER_46_AVG, HARMONIC_ACTIVE_POWER_46_95,
HARMONIC_ACTIVE_POWER_47_MAX, HARMONIC_ACTIVE_POWER_47_MIN, HARMONIC_ACTIVE_POWER_47_AVG,
HARMONIC_ACTIVE_POWER_47_95, HARMONIC_ACTIVE_POWER_48_MAX, HARMONIC_ACTIVE_POWER_48_MIN,
HARMONIC_ACTIVE_POWER_48_AVG, HARMONIC_ACTIVE_POWER_48_95, HARMONIC_ACTIVE_POWER_49_MAX,
HARMONIC_ACTIVE_POWER_49_MIN, HARMONIC_ACTIVE_POWER_49_AVG, HARMONIC_ACTIVE_POWER_49_95,
HARMONIC_ACTIVE_POWER_50_MAX, HARMONIC_ACTIVE_POWER_50_MIN, HARMONIC_ACTIVE_POWER_50_AVG,
HARMONIC_ACTIVE_POWER_50_95
</sql>
</mapper>

View File

@@ -0,0 +1,286 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.njcn.prepare.harmonic.mapper.line.RMpHarmonicVRateReportDPOMapper">
<resultMap id="BaseResultMap" type="com.njcn.prepare.harmonic.pojo.po.line.RMpHarmonicVRateReportDPO">
<!--@mbg.generated-->
<!--@Table r_mp_harmonic_v_rate_report_d-->
<id column="measurement_point_id" jdbcType="VARCHAR" property="measurementPointId" />
<id column="data_date" jdbcType="DATE" property="dataDate" />
<id column="phase" jdbcType="VARCHAR" property="phase" />
<result column="voltage_harmonic_thd_max" jdbcType="FLOAT" property="voltageHarmonicThdMax" />
<result column="voltage_harmonic_thd_min" jdbcType="FLOAT" property="voltageHarmonicThdMin" />
<result column="voltage_harmonic_thd_avg" jdbcType="FLOAT" property="voltageHarmonicThdAvg" />
<result column="voltage_harmonic_thd_95" jdbcType="FLOAT" property="voltageHarmonicThd95" />
<result column="fundamental_voltage_max" jdbcType="FLOAT" property="fundamentalVoltageMax" />
<result column="fundamental_voltage_min" jdbcType="FLOAT" property="fundamentalVoltageMin" />
<result column="fundamental_voltage_avg" jdbcType="FLOAT" property="fundamentalVoltageAvg" />
<result column="fundamental_voltage_95" jdbcType="FLOAT" property="fundamentalVoltage95" />
<result column="harmonic_voltage_content_2_max" jdbcType="FLOAT" property="harmonicVoltageContent2Max" />
<result column="harmonic_voltage_content_2_min" jdbcType="FLOAT" property="harmonicVoltageContent2Min" />
<result column="harmonic_voltage_content_2_avg" jdbcType="FLOAT" property="harmonicVoltageContent2Avg" />
<result column="harmonic_voltage_content_2_95" jdbcType="FLOAT" property="harmonicVoltageContent295" />
<result column="harmonic_voltage_content_3_max" jdbcType="FLOAT" property="harmonicVoltageContent3Max" />
<result column="harmonic_voltage_content_3_min" jdbcType="FLOAT" property="harmonicVoltageContent3Min" />
<result column="harmonic_voltage_content_3_avg" jdbcType="FLOAT" property="harmonicVoltageContent3Avg" />
<result column="harmonic_voltage_content_3_95" jdbcType="FLOAT" property="harmonicVoltageContent395" />
<result column="harmonic_voltage_content_4_max" jdbcType="FLOAT" property="harmonicVoltageContent4Max" />
<result column="harmonic_voltage_content_4_min" jdbcType="FLOAT" property="harmonicVoltageContent4Min" />
<result column="harmonic_voltage_content_4_avg" jdbcType="FLOAT" property="harmonicVoltageContent4Avg" />
<result column="harmonic_voltage_content_4_95" jdbcType="FLOAT" property="harmonicVoltageContent495" />
<result column="harmonic_voltage_content_5_max" jdbcType="FLOAT" property="harmonicVoltageContent5Max" />
<result column="harmonic_voltage_content_5_min" jdbcType="FLOAT" property="harmonicVoltageContent5Min" />
<result column="harmonic_voltage_content_5_avg" jdbcType="FLOAT" property="harmonicVoltageContent5Avg" />
<result column="harmonic_voltage_content_5_95" jdbcType="FLOAT" property="harmonicVoltageContent595" />
<result column="harmonic_voltage_content_6_max" jdbcType="FLOAT" property="harmonicVoltageContent6Max" />
<result column="harmonic_voltage_content_6_min" jdbcType="FLOAT" property="harmonicVoltageContent6Min" />
<result column="harmonic_voltage_content_6_avg" jdbcType="FLOAT" property="harmonicVoltageContent6Avg" />
<result column="harmonic_voltage_content_6_95" jdbcType="FLOAT" property="harmonicVoltageContent695" />
<result column="harmonic_voltage_content_7_max" jdbcType="FLOAT" property="harmonicVoltageContent7Max" />
<result column="harmonic_voltage_content_7_min" jdbcType="FLOAT" property="harmonicVoltageContent7Min" />
<result column="harmonic_voltage_content_7_avg" jdbcType="FLOAT" property="harmonicVoltageContent7Avg" />
<result column="harmonic_voltage_content_7_95" jdbcType="FLOAT" property="harmonicVoltageContent795" />
<result column="harmonic_voltage_content_8_max" jdbcType="FLOAT" property="harmonicVoltageContent8Max" />
<result column="harmonic_voltage_content_8_min" jdbcType="FLOAT" property="harmonicVoltageContent8Min" />
<result column="harmonic_voltage_content_8_avg" jdbcType="FLOAT" property="harmonicVoltageContent8Avg" />
<result column="harmonic_voltage_content_8_95" jdbcType="FLOAT" property="harmonicVoltageContent895" />
<result column="harmonic_voltage_content_9_max" jdbcType="FLOAT" property="harmonicVoltageContent9Max" />
<result column="harmonic_voltage_content_9_min" jdbcType="FLOAT" property="harmonicVoltageContent9Min" />
<result column="harmonic_voltage_content_9_avg" jdbcType="FLOAT" property="harmonicVoltageContent9Avg" />
<result column="harmonic_voltage_content_9_95" jdbcType="FLOAT" property="harmonicVoltageContent995" />
<result column="harmonic_voltage_content_10_max" jdbcType="FLOAT" property="harmonicVoltageContent10Max" />
<result column="harmonic_voltage_content_10_min" jdbcType="FLOAT" property="harmonicVoltageContent10Min" />
<result column="harmonic_voltage_content_10_avg" jdbcType="FLOAT" property="harmonicVoltageContent10Avg" />
<result column="harmonic_voltage_content_10_95" jdbcType="FLOAT" property="harmonicVoltageContent1095" />
<result column="harmonic_voltage_content_11_max" jdbcType="FLOAT" property="harmonicVoltageContent11Max" />
<result column="harmonic_voltage_content_11_min" jdbcType="FLOAT" property="harmonicVoltageContent11Min" />
<result column="harmonic_voltage_content_11_avg" jdbcType="FLOAT" property="harmonicVoltageContent11Avg" />
<result column="harmonic_voltage_content_11_95" jdbcType="FLOAT" property="harmonicVoltageContent1195" />
<result column="harmonic_voltage_content_12_max" jdbcType="FLOAT" property="harmonicVoltageContent12Max" />
<result column="harmonic_voltage_content_12_min" jdbcType="FLOAT" property="harmonicVoltageContent12Min" />
<result column="harmonic_voltage_content_12_avg" jdbcType="FLOAT" property="harmonicVoltageContent12Avg" />
<result column="harmonic_voltage_content_12_95" jdbcType="FLOAT" property="harmonicVoltageContent1295" />
<result column="harmonic_voltage_content_13_max" jdbcType="FLOAT" property="harmonicVoltageContent13Max" />
<result column="harmonic_voltage_content_13_min" jdbcType="FLOAT" property="harmonicVoltageContent13Min" />
<result column="harmonic_voltage_content_13_avg" jdbcType="FLOAT" property="harmonicVoltageContent13Avg" />
<result column="harmonic_voltage_content_13_95" jdbcType="FLOAT" property="harmonicVoltageContent1395" />
<result column="harmonic_voltage_content_14_max" jdbcType="FLOAT" property="harmonicVoltageContent14Max" />
<result column="harmonic_voltage_content_14_min" jdbcType="FLOAT" property="harmonicVoltageContent14Min" />
<result column="harmonic_voltage_content_14_avg" jdbcType="FLOAT" property="harmonicVoltageContent14Avg" />
<result column="harmonic_voltage_content_14_95" jdbcType="FLOAT" property="harmonicVoltageContent1495" />
<result column="harmonic_voltage_content_15_max" jdbcType="FLOAT" property="harmonicVoltageContent15Max" />
<result column="harmonic_voltage_content_15_min" jdbcType="FLOAT" property="harmonicVoltageContent15Min" />
<result column="harmonic_voltage_content_15_avg" jdbcType="FLOAT" property="harmonicVoltageContent15Avg" />
<result column="harmonic_voltage_content_15_95" jdbcType="FLOAT" property="harmonicVoltageContent1595" />
<result column="harmonic_voltage_content_16_max" jdbcType="FLOAT" property="harmonicVoltageContent16Max" />
<result column="harmonic_voltage_content_16_min" jdbcType="FLOAT" property="harmonicVoltageContent16Min" />
<result column="harmonic_voltage_content_16_avg" jdbcType="FLOAT" property="harmonicVoltageContent16Avg" />
<result column="harmonic_voltage_content_16_95" jdbcType="FLOAT" property="harmonicVoltageContent1695" />
<result column="harmonic_voltage_content_17_max" jdbcType="FLOAT" property="harmonicVoltageContent17Max" />
<result column="harmonic_voltage_content_17_min" jdbcType="FLOAT" property="harmonicVoltageContent17Min" />
<result column="harmonic_voltage_content_17_avg" jdbcType="FLOAT" property="harmonicVoltageContent17Avg" />
<result column="harmonic_voltage_content_17_95" jdbcType="FLOAT" property="harmonicVoltageContent1795" />
<result column="harmonic_voltage_content_18_max" jdbcType="FLOAT" property="harmonicVoltageContent18Max" />
<result column="harmonic_voltage_content_18_min" jdbcType="FLOAT" property="harmonicVoltageContent18Min" />
<result column="harmonic_voltage_content_18_avg" jdbcType="FLOAT" property="harmonicVoltageContent18Avg" />
<result column="harmonic_voltage_content_18_95" jdbcType="FLOAT" property="harmonicVoltageContent1895" />
<result column="harmonic_voltage_content_19_max" jdbcType="FLOAT" property="harmonicVoltageContent19Max" />
<result column="harmonic_voltage_content_19_min" jdbcType="FLOAT" property="harmonicVoltageContent19Min" />
<result column="harmonic_voltage_content_19_avg" jdbcType="FLOAT" property="harmonicVoltageContent19Avg" />
<result column="harmonic_voltage_content_19_95" jdbcType="FLOAT" property="harmonicVoltageContent1995" />
<result column="harmonic_voltage_content_20_max" jdbcType="FLOAT" property="harmonicVoltageContent20Max" />
<result column="harmonic_voltage_content_20_min" jdbcType="FLOAT" property="harmonicVoltageContent20Min" />
<result column="harmonic_voltage_content_20_avg" jdbcType="FLOAT" property="harmonicVoltageContent20Avg" />
<result column="harmonic_voltage_content_20_95" jdbcType="FLOAT" property="harmonicVoltageContent2095" />
<result column="harmonic_voltage_content_21_max" jdbcType="FLOAT" property="harmonicVoltageContent21Max" />
<result column="harmonic_voltage_content_21_min" jdbcType="FLOAT" property="harmonicVoltageContent21Min" />
<result column="harmonic_voltage_content_21_avg" jdbcType="FLOAT" property="harmonicVoltageContent21Avg" />
<result column="harmonic_voltage_content_21_95" jdbcType="FLOAT" property="harmonicVoltageContent2195" />
<result column="harmonic_voltage_content_22_max" jdbcType="FLOAT" property="harmonicVoltageContent22Max" />
<result column="harmonic_voltage_content_22_min" jdbcType="FLOAT" property="harmonicVoltageContent22Min" />
<result column="harmonic_voltage_content_22_avg" jdbcType="FLOAT" property="harmonicVoltageContent22Avg" />
<result column="harmonic_voltage_content_22_95" jdbcType="FLOAT" property="harmonicVoltageContent2295" />
<result column="harmonic_voltage_content_23_max" jdbcType="FLOAT" property="harmonicVoltageContent23Max" />
<result column="harmonic_voltage_content_23_min" jdbcType="FLOAT" property="harmonicVoltageContent23Min" />
<result column="harmonic_voltage_content_23_avg" jdbcType="FLOAT" property="harmonicVoltageContent23Avg" />
<result column="harmonic_voltage_content_23_95" jdbcType="FLOAT" property="harmonicVoltageContent2395" />
<result column="harmonic_voltage_content_24_max" jdbcType="FLOAT" property="harmonicVoltageContent24Max" />
<result column="harmonic_voltage_content_24_min" jdbcType="FLOAT" property="harmonicVoltageContent24Min" />
<result column="harmonic_voltage_content_24_avg" jdbcType="FLOAT" property="harmonicVoltageContent24Avg" />
<result column="harmonic_voltage_content_24_95" jdbcType="FLOAT" property="harmonicVoltageContent2495" />
<result column="harmonic_voltage_content_25_max" jdbcType="FLOAT" property="harmonicVoltageContent25Max" />
<result column="harmonic_voltage_content_25_min" jdbcType="FLOAT" property="harmonicVoltageContent25Min" />
<result column="harmonic_voltage_content_25_avg" jdbcType="FLOAT" property="harmonicVoltageContent25Avg" />
<result column="harmonic_voltage_content_25_95" jdbcType="FLOAT" property="harmonicVoltageContent2595" />
<result column="harmonic_voltage_content_26_max" jdbcType="FLOAT" property="harmonicVoltageContent26Max" />
<result column="harmonic_voltage_content_26_min" jdbcType="FLOAT" property="harmonicVoltageContent26Min" />
<result column="harmonic_voltage_content_26_avg" jdbcType="FLOAT" property="harmonicVoltageContent26Avg" />
<result column="harmonic_voltage_content_26_95" jdbcType="FLOAT" property="harmonicVoltageContent2695" />
<result column="harmonic_voltage_content_27_max" jdbcType="FLOAT" property="harmonicVoltageContent27Max" />
<result column="harmonic_voltage_content_27_min" jdbcType="FLOAT" property="harmonicVoltageContent27Min" />
<result column="harmonic_voltage_content_27_avg" jdbcType="FLOAT" property="harmonicVoltageContent27Avg" />
<result column="harmonic_voltage_content_27_95" jdbcType="FLOAT" property="harmonicVoltageContent2795" />
<result column="harmonic_voltage_content_28_max" jdbcType="FLOAT" property="harmonicVoltageContent28Max" />
<result column="harmonic_voltage_content_28_min" jdbcType="FLOAT" property="harmonicVoltageContent28Min" />
<result column="harmonic_voltage_content_28_avg" jdbcType="FLOAT" property="harmonicVoltageContent28Avg" />
<result column="harmonic_voltage_content_28_95" jdbcType="FLOAT" property="harmonicVoltageContent2895" />
<result column="harmonic_voltage_content_29_max" jdbcType="FLOAT" property="harmonicVoltageContent29Max" />
<result column="harmonic_voltage_content_29_min" jdbcType="FLOAT" property="harmonicVoltageContent29Min" />
<result column="harmonic_voltage_content_29_avg" jdbcType="FLOAT" property="harmonicVoltageContent29Avg" />
<result column="harmonic_voltage_content_29_95" jdbcType="FLOAT" property="harmonicVoltageContent2995" />
<result column="harmonic_voltage_content_30_max" jdbcType="FLOAT" property="harmonicVoltageContent30Max" />
<result column="harmonic_voltage_content_30_min" jdbcType="FLOAT" property="harmonicVoltageContent30Min" />
<result column="harmonic_voltage_content_30_avg" jdbcType="FLOAT" property="harmonicVoltageContent30Avg" />
<result column="harmonic_voltage_content_30_95" jdbcType="FLOAT" property="harmonicVoltageContent3095" />
<result column="harmonic_voltage_content_31_max" jdbcType="FLOAT" property="harmonicVoltageContent31Max" />
<result column="harmonic_voltage_content_31_min" jdbcType="FLOAT" property="harmonicVoltageContent31Min" />
<result column="harmonic_voltage_content_31_avg" jdbcType="FLOAT" property="harmonicVoltageContent31Avg" />
<result column="harmonic_voltage_content_31_95" jdbcType="FLOAT" property="harmonicVoltageContent3195" />
<result column="harmonic_voltage_content_32_max" jdbcType="FLOAT" property="harmonicVoltageContent32Max" />
<result column="harmonic_voltage_content_32_min" jdbcType="FLOAT" property="harmonicVoltageContent32Min" />
<result column="harmonic_voltage_content_32_avg" jdbcType="FLOAT" property="harmonicVoltageContent32Avg" />
<result column="harmonic_voltage_content_32_95" jdbcType="FLOAT" property="harmonicVoltageContent3295" />
<result column="harmonic_voltage_content_33_max" jdbcType="FLOAT" property="harmonicVoltageContent33Max" />
<result column="harmonic_voltage_content_33_min" jdbcType="FLOAT" property="harmonicVoltageContent33Min" />
<result column="harmonic_voltage_content_33_avg" jdbcType="FLOAT" property="harmonicVoltageContent33Avg" />
<result column="harmonic_voltage_content_33_95" jdbcType="FLOAT" property="harmonicVoltageContent3395" />
<result column="harmonic_voltage_content_34_max" jdbcType="FLOAT" property="harmonicVoltageContent34Max" />
<result column="harmonic_voltage_content_34_min" jdbcType="FLOAT" property="harmonicVoltageContent34Min" />
<result column="harmonic_voltage_content_34_avg" jdbcType="FLOAT" property="harmonicVoltageContent34Avg" />
<result column="harmonic_voltage_content_34_95" jdbcType="FLOAT" property="harmonicVoltageContent3495" />
<result column="harmonic_voltage_content_35_max" jdbcType="FLOAT" property="harmonicVoltageContent35Max" />
<result column="harmonic_voltage_content_35_min" jdbcType="FLOAT" property="harmonicVoltageContent35Min" />
<result column="harmonic_voltage_content_35_avg" jdbcType="FLOAT" property="harmonicVoltageContent35Avg" />
<result column="harmonic_voltage_content_35_95" jdbcType="FLOAT" property="harmonicVoltageContent3595" />
<result column="harmonic_voltage_content_36_max" jdbcType="FLOAT" property="harmonicVoltageContent36Max" />
<result column="harmonic_voltage_content_36_min" jdbcType="FLOAT" property="harmonicVoltageContent36Min" />
<result column="harmonic_voltage_content_36_avg" jdbcType="FLOAT" property="harmonicVoltageContent36Avg" />
<result column="harmonic_voltage_content_36_95" jdbcType="FLOAT" property="harmonicVoltageContent3695" />
<result column="harmonic_voltage_content_37_max" jdbcType="FLOAT" property="harmonicVoltageContent37Max" />
<result column="harmonic_voltage_content_37_min" jdbcType="FLOAT" property="harmonicVoltageContent37Min" />
<result column="harmonic_voltage_content_37_avg" jdbcType="FLOAT" property="harmonicVoltageContent37Avg" />
<result column="harmonic_voltage_content_37_95" jdbcType="FLOAT" property="harmonicVoltageContent3795" />
<result column="harmonic_voltage_content_38_max" jdbcType="FLOAT" property="harmonicVoltageContent38Max" />
<result column="harmonic_voltage_content_38_min" jdbcType="FLOAT" property="harmonicVoltageContent38Min" />
<result column="harmonic_voltage_content_38_avg" jdbcType="FLOAT" property="harmonicVoltageContent38Avg" />
<result column="harmonic_voltage_content_38_95" jdbcType="FLOAT" property="harmonicVoltageContent3895" />
<result column="harmonic_voltage_content_39_max" jdbcType="FLOAT" property="harmonicVoltageContent39Max" />
<result column="harmonic_voltage_content_39_min" jdbcType="FLOAT" property="harmonicVoltageContent39Min" />
<result column="harmonic_voltage_content_39_avg" jdbcType="FLOAT" property="harmonicVoltageContent39Avg" />
<result column="harmonic_voltage_content_39_95" jdbcType="FLOAT" property="harmonicVoltageContent3995" />
<result column="harmonic_voltage_content_40_max" jdbcType="FLOAT" property="harmonicVoltageContent40Max" />
<result column="harmonic_voltage_content_40_min" jdbcType="FLOAT" property="harmonicVoltageContent40Min" />
<result column="harmonic_voltage_content_40_avg" jdbcType="FLOAT" property="harmonicVoltageContent40Avg" />
<result column="harmonic_voltage_content_40_95" jdbcType="FLOAT" property="harmonicVoltageContent4095" />
<result column="harmonic_voltage_content_41_max" jdbcType="FLOAT" property="harmonicVoltageContent41Max" />
<result column="harmonic_voltage_content_41_min" jdbcType="FLOAT" property="harmonicVoltageContent41Min" />
<result column="harmonic_voltage_content_41_avg" jdbcType="FLOAT" property="harmonicVoltageContent41Avg" />
<result column="harmonic_voltage_content_41_95" jdbcType="FLOAT" property="harmonicVoltageContent4195" />
<result column="harmonic_voltage_content_42_max" jdbcType="FLOAT" property="harmonicVoltageContent42Max" />
<result column="harmonic_voltage_content_42_min" jdbcType="FLOAT" property="harmonicVoltageContent42Min" />
<result column="harmonic_voltage_content_42_avg" jdbcType="FLOAT" property="harmonicVoltageContent42Avg" />
<result column="harmonic_voltage_content_42_95" jdbcType="FLOAT" property="harmonicVoltageContent4295" />
<result column="harmonic_voltage_content_43_max" jdbcType="FLOAT" property="harmonicVoltageContent43Max" />
<result column="harmonic_voltage_content_43_min" jdbcType="FLOAT" property="harmonicVoltageContent43Min" />
<result column="harmonic_voltage_content_43_avg" jdbcType="FLOAT" property="harmonicVoltageContent43Avg" />
<result column="harmonic_voltage_content_43_95" jdbcType="FLOAT" property="harmonicVoltageContent4395" />
<result column="harmonic_voltage_content_44_max" jdbcType="FLOAT" property="harmonicVoltageContent44Max" />
<result column="harmonic_voltage_content_44_min" jdbcType="FLOAT" property="harmonicVoltageContent44Min" />
<result column="harmonic_voltage_content_44_avg" jdbcType="FLOAT" property="harmonicVoltageContent44Avg" />
<result column="harmonic_voltage_content_44_95" jdbcType="FLOAT" property="harmonicVoltageContent4495" />
<result column="harmonic_voltage_content_45_max" jdbcType="FLOAT" property="harmonicVoltageContent45Max" />
<result column="harmonic_voltage_content_45_min" jdbcType="FLOAT" property="harmonicVoltageContent45Min" />
<result column="harmonic_voltage_content_45_avg" jdbcType="FLOAT" property="harmonicVoltageContent45Avg" />
<result column="harmonic_voltage_content_45_95" jdbcType="FLOAT" property="harmonicVoltageContent4595" />
<result column="harmonic_voltage_content_46_max" jdbcType="FLOAT" property="harmonicVoltageContent46Max" />
<result column="harmonic_voltage_content_46_min" jdbcType="FLOAT" property="harmonicVoltageContent46Min" />
<result column="harmonic_voltage_content_46_avg" jdbcType="FLOAT" property="harmonicVoltageContent46Avg" />
<result column="harmonic_voltage_content_46_95" jdbcType="FLOAT" property="harmonicVoltageContent4695" />
<result column="harmonic_voltage_content_47_max" jdbcType="FLOAT" property="harmonicVoltageContent47Max" />
<result column="harmonic_voltage_content_47_min" jdbcType="FLOAT" property="harmonicVoltageContent47Min" />
<result column="harmonic_voltage_content_47_avg" jdbcType="FLOAT" property="harmonicVoltageContent47Avg" />
<result column="harmonic_voltage_content_47_95" jdbcType="FLOAT" property="harmonicVoltageContent4795" />
<result column="harmonic_voltage_content_48_max" jdbcType="FLOAT" property="harmonicVoltageContent48Max" />
<result column="harmonic_voltage_content_48_min" jdbcType="FLOAT" property="harmonicVoltageContent48Min" />
<result column="harmonic_voltage_content_48_avg" jdbcType="FLOAT" property="harmonicVoltageContent48Avg" />
<result column="harmonic_voltage_content_48_95" jdbcType="FLOAT" property="harmonicVoltageContent4895" />
<result column="harmonic_voltage_content_49_max" jdbcType="FLOAT" property="harmonicVoltageContent49Max" />
<result column="harmonic_voltage_content_49_min" jdbcType="FLOAT" property="harmonicVoltageContent49Min" />
<result column="harmonic_voltage_content_49_avg" jdbcType="FLOAT" property="harmonicVoltageContent49Avg" />
<result column="harmonic_voltage_content_49_95" jdbcType="FLOAT" property="harmonicVoltageContent4995" />
<result column="harmonic_voltage_content_50_max" jdbcType="FLOAT" property="harmonicVoltageContent50Max" />
<result column="harmonic_voltage_content_50_min" jdbcType="FLOAT" property="harmonicVoltageContent50Min" />
<result column="harmonic_voltage_content_50_avg" jdbcType="FLOAT" property="harmonicVoltageContent50Avg" />
<result column="harmonic_voltage_content_50_95" jdbcType="FLOAT" property="harmonicVoltageContent5095" />
</resultMap>
<sql id="Base_Column_List">
<!--@mbg.generated-->
measurement_point_id, data_date, phase, voltage_harmonic_thd_max, voltage_harmonic_thd_min,
voltage_harmonic_thd_avg, voltage_harmonic_thd_95, fundamental_voltage_max, fundamental_voltage_min,
fundamental_voltage_avg, fundamental_voltage_95, harmonic_voltage_content_2_max,
harmonic_voltage_content_2_min, harmonic_voltage_content_2_avg, harmonic_voltage_content_2_95,
harmonic_voltage_content_3_max, harmonic_voltage_content_3_min, harmonic_voltage_content_3_avg,
harmonic_voltage_content_3_95, harmonic_voltage_content_4_max, harmonic_voltage_content_4_min,
harmonic_voltage_content_4_avg, harmonic_voltage_content_4_95, harmonic_voltage_content_5_max,
harmonic_voltage_content_5_min, harmonic_voltage_content_5_avg, harmonic_voltage_content_5_95,
harmonic_voltage_content_6_max, harmonic_voltage_content_6_min, harmonic_voltage_content_6_avg,
harmonic_voltage_content_6_95, harmonic_voltage_content_7_max, harmonic_voltage_content_7_min,
harmonic_voltage_content_7_avg, harmonic_voltage_content_7_95, harmonic_voltage_content_8_max,
harmonic_voltage_content_8_min, harmonic_voltage_content_8_avg, harmonic_voltage_content_8_95,
harmonic_voltage_content_9_max, harmonic_voltage_content_9_min, harmonic_voltage_content_9_avg,
harmonic_voltage_content_9_95, harmonic_voltage_content_10_max, harmonic_voltage_content_10_min,
harmonic_voltage_content_10_avg, harmonic_voltage_content_10_95, harmonic_voltage_content_11_max,
harmonic_voltage_content_11_min, harmonic_voltage_content_11_avg, harmonic_voltage_content_11_95,
harmonic_voltage_content_12_max, harmonic_voltage_content_12_min, harmonic_voltage_content_12_avg,
harmonic_voltage_content_12_95, harmonic_voltage_content_13_max, harmonic_voltage_content_13_min,
harmonic_voltage_content_13_avg, harmonic_voltage_content_13_95, harmonic_voltage_content_14_max,
harmonic_voltage_content_14_min, harmonic_voltage_content_14_avg, harmonic_voltage_content_14_95,
harmonic_voltage_content_15_max, harmonic_voltage_content_15_min, harmonic_voltage_content_15_avg,
harmonic_voltage_content_15_95, harmonic_voltage_content_16_max, harmonic_voltage_content_16_min,
harmonic_voltage_content_16_avg, harmonic_voltage_content_16_95, harmonic_voltage_content_17_max,
harmonic_voltage_content_17_min, harmonic_voltage_content_17_avg, harmonic_voltage_content_17_95,
harmonic_voltage_content_18_max, harmonic_voltage_content_18_min, harmonic_voltage_content_18_avg,
harmonic_voltage_content_18_95, harmonic_voltage_content_19_max, harmonic_voltage_content_19_min,
harmonic_voltage_content_19_avg, harmonic_voltage_content_19_95, harmonic_voltage_content_20_max,
harmonic_voltage_content_20_min, harmonic_voltage_content_20_avg, harmonic_voltage_content_20_95,
harmonic_voltage_content_21_max, harmonic_voltage_content_21_min, harmonic_voltage_content_21_avg,
harmonic_voltage_content_21_95, harmonic_voltage_content_22_max, harmonic_voltage_content_22_min,
harmonic_voltage_content_22_avg, harmonic_voltage_content_22_95, harmonic_voltage_content_23_max,
harmonic_voltage_content_23_min, harmonic_voltage_content_23_avg, harmonic_voltage_content_23_95,
harmonic_voltage_content_24_max, harmonic_voltage_content_24_min, harmonic_voltage_content_24_avg,
harmonic_voltage_content_24_95, harmonic_voltage_content_25_max, harmonic_voltage_content_25_min,
harmonic_voltage_content_25_avg, harmonic_voltage_content_25_95, harmonic_voltage_content_26_max,
harmonic_voltage_content_26_min, harmonic_voltage_content_26_avg, harmonic_voltage_content_26_95,
harmonic_voltage_content_27_max, harmonic_voltage_content_27_min, harmonic_voltage_content_27_avg,
harmonic_voltage_content_27_95, harmonic_voltage_content_28_max, harmonic_voltage_content_28_min,
harmonic_voltage_content_28_avg, harmonic_voltage_content_28_95, harmonic_voltage_content_29_max,
harmonic_voltage_content_29_min, harmonic_voltage_content_29_avg, harmonic_voltage_content_29_95,
harmonic_voltage_content_30_max, harmonic_voltage_content_30_min, harmonic_voltage_content_30_avg,
harmonic_voltage_content_30_95, harmonic_voltage_content_31_max, harmonic_voltage_content_31_min,
harmonic_voltage_content_31_avg, harmonic_voltage_content_31_95, harmonic_voltage_content_32_max,
harmonic_voltage_content_32_min, harmonic_voltage_content_32_avg, harmonic_voltage_content_32_95,
harmonic_voltage_content_33_max, harmonic_voltage_content_33_min, harmonic_voltage_content_33_avg,
harmonic_voltage_content_33_95, harmonic_voltage_content_34_max, harmonic_voltage_content_34_min,
harmonic_voltage_content_34_avg, harmonic_voltage_content_34_95, harmonic_voltage_content_35_max,
harmonic_voltage_content_35_min, harmonic_voltage_content_35_avg, harmonic_voltage_content_35_95,
harmonic_voltage_content_36_max, harmonic_voltage_content_36_min, harmonic_voltage_content_36_avg,
harmonic_voltage_content_36_95, harmonic_voltage_content_37_max, harmonic_voltage_content_37_min,
harmonic_voltage_content_37_avg, harmonic_voltage_content_37_95, harmonic_voltage_content_38_max,
harmonic_voltage_content_38_min, harmonic_voltage_content_38_avg, harmonic_voltage_content_38_95,
harmonic_voltage_content_39_max, harmonic_voltage_content_39_min, harmonic_voltage_content_39_avg,
harmonic_voltage_content_39_95, harmonic_voltage_content_40_max, harmonic_voltage_content_40_min,
harmonic_voltage_content_40_avg, harmonic_voltage_content_40_95, harmonic_voltage_content_41_max,
harmonic_voltage_content_41_min, harmonic_voltage_content_41_avg, harmonic_voltage_content_41_95,
harmonic_voltage_content_42_max, harmonic_voltage_content_42_min, harmonic_voltage_content_42_avg,
harmonic_voltage_content_42_95, harmonic_voltage_content_43_max, harmonic_voltage_content_43_min,
harmonic_voltage_content_43_avg, harmonic_voltage_content_43_95, harmonic_voltage_content_44_max,
harmonic_voltage_content_44_min, harmonic_voltage_content_44_avg, harmonic_voltage_content_44_95,
harmonic_voltage_content_45_max, harmonic_voltage_content_45_min, harmonic_voltage_content_45_avg,
harmonic_voltage_content_45_95, harmonic_voltage_content_46_max, harmonic_voltage_content_46_min,
harmonic_voltage_content_46_avg, harmonic_voltage_content_46_95, harmonic_voltage_content_47_max,
harmonic_voltage_content_47_min, harmonic_voltage_content_47_avg, harmonic_voltage_content_47_95,
harmonic_voltage_content_48_max, harmonic_voltage_content_48_min, harmonic_voltage_content_48_avg,
harmonic_voltage_content_48_95, harmonic_voltage_content_49_max, harmonic_voltage_content_49_min,
harmonic_voltage_content_49_avg, harmonic_voltage_content_49_95, harmonic_voltage_content_50_max,
harmonic_voltage_content_50_min, harmonic_voltage_content_50_avg, harmonic_voltage_content_50_95
</sql>
</mapper>

View File

@@ -0,0 +1,315 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.njcn.prepare.harmonic.mapper.line.RMpInharmonicIMagReportDPOMapper">
<resultMap id="BaseResultMap" type="com.njcn.prepare.harmonic.pojo.po.line.RMpInharmonicIMagReportDPO">
<!--@mbg.generated-->
<!--@Table r_mp_inharmonic_i_mag_report_d-->
<id column="measurement_point_id" jdbcType="VARCHAR" property="measurementPointId" />
<id column="data_date" jdbcType="DATE" property="dataDate" />
<id column="phase" jdbcType="VARCHAR" property="phase" />
<result column="simple_harmonic_current_effective_1_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective1Max" />
<result column="simple_harmonic_current_effective_1_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective1Min" />
<result column="simple_harmonic_current_effective_1_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective1Avg" />
<result column="simple_harmonic_current_effective_1_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective1Cp95" />
<result column="simple_harmonic_current_effective_2_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective2Max" />
<result column="simple_harmonic_current_effective_2_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective2Min" />
<result column="simple_harmonic_current_effective_2_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective2Avg" />
<result column="simple_harmonic_current_effective_2_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective2Cp95" />
<result column="simple_harmonic_current_effective_3_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective3Max" />
<result column="simple_harmonic_current_effective_3_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective3Min" />
<result column="simple_harmonic_current_effective_3_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective3Avg" />
<result column="simple_harmonic_current_effective_3_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective3Cp95" />
<result column="simple_harmonic_current_effective_4_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective4Max" />
<result column="simple_harmonic_current_effective_4_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective4Min" />
<result column="simple_harmonic_current_effective_4_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective4Avg" />
<result column="simple_harmonic_current_effective_4_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective4Cp95" />
<result column="simple_harmonic_current_effective_5_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective5Max" />
<result column="simple_harmonic_current_effective_5_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective5Min" />
<result column="simple_harmonic_current_effective_5_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective5Avg" />
<result column="simple_harmonic_current_effective_5_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective5Cp95" />
<result column="simple_harmonic_current_effective_6_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective6Max" />
<result column="simple_harmonic_current_effective_6_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective6Min" />
<result column="simple_harmonic_current_effective_6_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective6Avg" />
<result column="simple_harmonic_current_effective_6_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective6Cp95" />
<result column="simple_harmonic_current_effective_7_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective7Max" />
<result column="simple_harmonic_current_effective_7_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective7Min" />
<result column="simple_harmonic_current_effective_7_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective7Avg" />
<result column="simple_harmonic_current_effective_7_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective7Cp95" />
<result column="simple_harmonic_current_effective_8_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective8Max" />
<result column="simple_harmonic_current_effective_8_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective8Min" />
<result column="simple_harmonic_current_effective_8_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective8Avg" />
<result column="simple_harmonic_current_effective_8_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective8Cp95" />
<result column="simple_harmonic_current_effective_9_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective9Max" />
<result column="simple_harmonic_current_effective_9_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective9Min" />
<result column="simple_harmonic_current_effective_9_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective9Avg" />
<result column="simple_harmonic_current_effective_9_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective9Cp95" />
<result column="simple_harmonic_current_effective_10_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective10Max" />
<result column="simple_harmonic_current_effective_10_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective10Min" />
<result column="simple_harmonic_current_effective_10_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective10Avg" />
<result column="simple_harmonic_current_effective_10_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective10Cp95" />
<result column="simple_harmonic_current_effective_11_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective11Max" />
<result column="simple_harmonic_current_effective_11_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective11Min" />
<result column="simple_harmonic_current_effective_11_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective11Avg" />
<result column="simple_harmonic_current_effective_11_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective11Cp95" />
<result column="simple_harmonic_current_effective_12_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective12Max" />
<result column="simple_harmonic_current_effective_12_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective12Min" />
<result column="simple_harmonic_current_effective_12_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective12Avg" />
<result column="simple_harmonic_current_effective_12_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective12Cp95" />
<result column="simple_harmonic_current_effective_13_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective13Max" />
<result column="simple_harmonic_current_effective_13_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective13Min" />
<result column="simple_harmonic_current_effective_13_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective13Avg" />
<result column="simple_harmonic_current_effective_13_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective13Cp95" />
<result column="simple_harmonic_current_effective_14_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective14Max" />
<result column="simple_harmonic_current_effective_14_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective14Min" />
<result column="simple_harmonic_current_effective_14_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective14Avg" />
<result column="simple_harmonic_current_effective_14_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective14Cp95" />
<result column="simple_harmonic_current_effective_15_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective15Max" />
<result column="simple_harmonic_current_effective_15_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective15Min" />
<result column="simple_harmonic_current_effective_15_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective15Avg" />
<result column="simple_harmonic_current_effective_15_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective15Cp95" />
<result column="simple_harmonic_current_effective_16_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective16Max" />
<result column="simple_harmonic_current_effective_16_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective16Min" />
<result column="simple_harmonic_current_effective_16_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective16Avg" />
<result column="simple_harmonic_current_effective_16_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective16Cp95" />
<result column="simple_harmonic_current_effective_17_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective17Max" />
<result column="simple_harmonic_current_effective_17_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective17Min" />
<result column="simple_harmonic_current_effective_17_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective17Avg" />
<result column="simple_harmonic_current_effective_17_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective17Cp95" />
<result column="simple_harmonic_current_effective_18_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective18Max" />
<result column="simple_harmonic_current_effective_18_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective18Min" />
<result column="simple_harmonic_current_effective_18_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective18Avg" />
<result column="simple_harmonic_current_effective_18_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective18Cp95" />
<result column="simple_harmonic_current_effective_19_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective19Max" />
<result column="simple_harmonic_current_effective_19_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective19Min" />
<result column="simple_harmonic_current_effective_19_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective19Avg" />
<result column="simple_harmonic_current_effective_19_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective19Cp95" />
<result column="simple_harmonic_current_effective_20_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective20Max" />
<result column="simple_harmonic_current_effective_20_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective20Min" />
<result column="simple_harmonic_current_effective_20_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective20Avg" />
<result column="simple_harmonic_current_effective_20_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective20Cp95" />
<result column="simple_harmonic_current_effective_21_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective21Max" />
<result column="simple_harmonic_current_effective_21_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective21Min" />
<result column="simple_harmonic_current_effective_21_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective21Avg" />
<result column="simple_harmonic_current_effective_21_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective21Cp95" />
<result column="simple_harmonic_current_effective_22_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective22Max" />
<result column="simple_harmonic_current_effective_22_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective22Min" />
<result column="simple_harmonic_current_effective_22_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective22Avg" />
<result column="simple_harmonic_current_effective_22_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective22Cp95" />
<result column="simple_harmonic_current_effective_23_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective23Max" />
<result column="simple_harmonic_current_effective_23_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective23Min" />
<result column="simple_harmonic_current_effective_23_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective23Avg" />
<result column="simple_harmonic_current_effective_23_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective23Cp95" />
<result column="simple_harmonic_current_effective_24_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective24Max" />
<result column="simple_harmonic_current_effective_24_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective24Min" />
<result column="simple_harmonic_current_effective_24_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective24Avg" />
<result column="simple_harmonic_current_effective_24_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective24Cp95" />
<result column="simple_harmonic_current_effective_25_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective25Max" />
<result column="simple_harmonic_current_effective_25_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective25Min" />
<result column="simple_harmonic_current_effective_25_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective25Avg" />
<result column="simple_harmonic_current_effective_25_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective25Cp95" />
<result column="simple_harmonic_current_effective_26_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective26Max" />
<result column="simple_harmonic_current_effective_26_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective26Min" />
<result column="simple_harmonic_current_effective_26_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective26Avg" />
<result column="simple_harmonic_current_effective_26_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective26Cp95" />
<result column="simple_harmonic_current_effective_27_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective27Max" />
<result column="simple_harmonic_current_effective_27_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective27Min" />
<result column="simple_harmonic_current_effective_27_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective27Avg" />
<result column="simple_harmonic_current_effective_27_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective27Cp95" />
<result column="simple_harmonic_current_effective_28_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective28Max" />
<result column="simple_harmonic_current_effective_28_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective28Min" />
<result column="simple_harmonic_current_effective_28_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective28Avg" />
<result column="simple_harmonic_current_effective_28_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective28Cp95" />
<result column="simple_harmonic_current_effective_29_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective29Max" />
<result column="simple_harmonic_current_effective_29_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective29Min" />
<result column="simple_harmonic_current_effective_29_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective29Avg" />
<result column="simple_harmonic_current_effective_29_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective29Cp95" />
<result column="simple_harmonic_current_effective_30_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective30Max" />
<result column="simple_harmonic_current_effective_30_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective30Min" />
<result column="simple_harmonic_current_effective_30_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective30Avg" />
<result column="simple_harmonic_current_effective_30_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective30Cp95" />
<result column="simple_harmonic_current_effective_31_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective31Max" />
<result column="simple_harmonic_current_effective_31_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective31Min" />
<result column="simple_harmonic_current_effective_31_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective31Avg" />
<result column="simple_harmonic_current_effective_31_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective31Cp95" />
<result column="simple_harmonic_current_effective_32_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective32Max" />
<result column="simple_harmonic_current_effective_32_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective32Min" />
<result column="simple_harmonic_current_effective_32_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective32Avg" />
<result column="simple_harmonic_current_effective_32_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective32Cp95" />
<result column="simple_harmonic_current_effective_33_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective33Max" />
<result column="simple_harmonic_current_effective_33_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective33Min" />
<result column="simple_harmonic_current_effective_33_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective33Avg" />
<result column="simple_harmonic_current_effective_33_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective33Cp95" />
<result column="simple_harmonic_current_effective_34_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective34Max" />
<result column="simple_harmonic_current_effective_34_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective34Min" />
<result column="simple_harmonic_current_effective_34_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective34Avg" />
<result column="simple_harmonic_current_effective_34_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective34Cp95" />
<result column="simple_harmonic_current_effective_35_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective35Max" />
<result column="simple_harmonic_current_effective_35_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective35Min" />
<result column="simple_harmonic_current_effective_35_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective35Avg" />
<result column="simple_harmonic_current_effective_35_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective35Cp95" />
<result column="simple_harmonic_current_effective_36_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective36Max" />
<result column="simple_harmonic_current_effective_36_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective36Min" />
<result column="simple_harmonic_current_effective_36_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective36Avg" />
<result column="simple_harmonic_current_effective_36_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective36Cp95" />
<result column="simple_harmonic_current_effective_37_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective37Max" />
<result column="simple_harmonic_current_effective_37_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective37Min" />
<result column="simple_harmonic_current_effective_37_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective37Avg" />
<result column="simple_harmonic_current_effective_37_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective37Cp95" />
<result column="simple_harmonic_current_effective_38_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective38Max" />
<result column="simple_harmonic_current_effective_38_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective38Min" />
<result column="simple_harmonic_current_effective_38_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective38Avg" />
<result column="simple_harmonic_current_effective_38_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective38Cp95" />
<result column="simple_harmonic_current_effective_39_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective39Max" />
<result column="simple_harmonic_current_effective_39_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective39Min" />
<result column="simple_harmonic_current_effective_39_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective39Avg" />
<result column="simple_harmonic_current_effective_39_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective39Cp95" />
<result column="simple_harmonic_current_effective_40_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective40Max" />
<result column="simple_harmonic_current_effective_40_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective40Min" />
<result column="simple_harmonic_current_effective_40_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective40Avg" />
<result column="simple_harmonic_current_effective_40_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective40Cp95" />
<result column="simple_harmonic_current_effective_41_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective41Max" />
<result column="simple_harmonic_current_effective_41_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective41Min" />
<result column="simple_harmonic_current_effective_41_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective41Avg" />
<result column="simple_harmonic_current_effective_41_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective41Cp95" />
<result column="simple_harmonic_current_effective_42_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective42Max" />
<result column="simple_harmonic_current_effective_42_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective42Min" />
<result column="simple_harmonic_current_effective_42_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective42Avg" />
<result column="simple_harmonic_current_effective_42_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective42Cp95" />
<result column="simple_harmonic_current_effective_43_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective43Max" />
<result column="simple_harmonic_current_effective_43_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective43Min" />
<result column="simple_harmonic_current_effective_43_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective43Avg" />
<result column="simple_harmonic_current_effective_43_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective43Cp95" />
<result column="simple_harmonic_current_effective_44_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective44Max" />
<result column="simple_harmonic_current_effective_44_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective44Min" />
<result column="simple_harmonic_current_effective_44_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective44Avg" />
<result column="simple_harmonic_current_effective_44_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective44Cp95" />
<result column="simple_harmonic_current_effective_45_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective45Max" />
<result column="simple_harmonic_current_effective_45_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective45Min" />
<result column="simple_harmonic_current_effective_45_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective45Avg" />
<result column="simple_harmonic_current_effective_45_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective45Cp95" />
<result column="simple_harmonic_current_effective_46_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective46Max" />
<result column="simple_harmonic_current_effective_46_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective46Min" />
<result column="simple_harmonic_current_effective_46_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective46Avg" />
<result column="simple_harmonic_current_effective_46_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective46Cp95" />
<result column="simple_harmonic_current_effective_47_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective47Max" />
<result column="simple_harmonic_current_effective_47_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective47Min" />
<result column="simple_harmonic_current_effective_47_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective47Avg" />
<result column="simple_harmonic_current_effective_47_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective47Cp95" />
<result column="simple_harmonic_current_effective_48_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective48Max" />
<result column="simple_harmonic_current_effective_48_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective48Min" />
<result column="simple_harmonic_current_effective_48_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective48Avg" />
<result column="simple_harmonic_current_effective_48_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective48Cp95" />
<result column="simple_harmonic_current_effective_49_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective49Max" />
<result column="simple_harmonic_current_effective_49_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective49Min" />
<result column="simple_harmonic_current_effective_49_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective49Avg" />
<result column="simple_harmonic_current_effective_49_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective49Cp95" />
<result column="simple_harmonic_current_effective_50_max" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective50Max" />
<result column="simple_harmonic_current_effective_50_min" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective50Min" />
<result column="simple_harmonic_current_effective_50_avg" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective50Avg" />
<result column="simple_harmonic_current_effective_50_cp95" jdbcType="FLOAT" property="simpleHarmonicCurrentEffective50Cp95" />
</resultMap>
<sql id="Base_Column_List">
<!--@mbg.generated-->
measurement_point_id, data_date, phase, simple_harmonic_current_effective_1_max,
simple_harmonic_current_effective_1_min, simple_harmonic_current_effective_1_avg,
simple_harmonic_current_effective_1_cp95, simple_harmonic_current_effective_2_max,
simple_harmonic_current_effective_2_min, simple_harmonic_current_effective_2_avg,
simple_harmonic_current_effective_2_cp95, simple_harmonic_current_effective_3_max,
simple_harmonic_current_effective_3_min, simple_harmonic_current_effective_3_avg,
simple_harmonic_current_effective_3_cp95, simple_harmonic_current_effective_4_max,
simple_harmonic_current_effective_4_min, simple_harmonic_current_effective_4_avg,
simple_harmonic_current_effective_4_cp95, simple_harmonic_current_effective_5_max,
simple_harmonic_current_effective_5_min, simple_harmonic_current_effective_5_avg,
simple_harmonic_current_effective_5_cp95, simple_harmonic_current_effective_6_max,
simple_harmonic_current_effective_6_min, simple_harmonic_current_effective_6_avg,
simple_harmonic_current_effective_6_cp95, simple_harmonic_current_effective_7_max,
simple_harmonic_current_effective_7_min, simple_harmonic_current_effective_7_avg,
simple_harmonic_current_effective_7_cp95, simple_harmonic_current_effective_8_max,
simple_harmonic_current_effective_8_min, simple_harmonic_current_effective_8_avg,
simple_harmonic_current_effective_8_cp95, simple_harmonic_current_effective_9_max,
simple_harmonic_current_effective_9_min, simple_harmonic_current_effective_9_avg,
simple_harmonic_current_effective_9_cp95, simple_harmonic_current_effective_10_max,
simple_harmonic_current_effective_10_min, simple_harmonic_current_effective_10_avg,
simple_harmonic_current_effective_10_cp95, simple_harmonic_current_effective_11_max,
simple_harmonic_current_effective_11_min, simple_harmonic_current_effective_11_avg,
simple_harmonic_current_effective_11_cp95, simple_harmonic_current_effective_12_max,
simple_harmonic_current_effective_12_min, simple_harmonic_current_effective_12_avg,
simple_harmonic_current_effective_12_cp95, simple_harmonic_current_effective_13_max,
simple_harmonic_current_effective_13_min, simple_harmonic_current_effective_13_avg,
simple_harmonic_current_effective_13_cp95, simple_harmonic_current_effective_14_max,
simple_harmonic_current_effective_14_min, simple_harmonic_current_effective_14_avg,
simple_harmonic_current_effective_14_cp95, simple_harmonic_current_effective_15_max,
simple_harmonic_current_effective_15_min, simple_harmonic_current_effective_15_avg,
simple_harmonic_current_effective_15_cp95, simple_harmonic_current_effective_16_max,
simple_harmonic_current_effective_16_min, simple_harmonic_current_effective_16_avg,
simple_harmonic_current_effective_16_cp95, simple_harmonic_current_effective_17_max,
simple_harmonic_current_effective_17_min, simple_harmonic_current_effective_17_avg,
simple_harmonic_current_effective_17_cp95, simple_harmonic_current_effective_18_max,
simple_harmonic_current_effective_18_min, simple_harmonic_current_effective_18_avg,
simple_harmonic_current_effective_18_cp95, simple_harmonic_current_effective_19_max,
simple_harmonic_current_effective_19_min, simple_harmonic_current_effective_19_avg,
simple_harmonic_current_effective_19_cp95, simple_harmonic_current_effective_20_max,
simple_harmonic_current_effective_20_min, simple_harmonic_current_effective_20_avg,
simple_harmonic_current_effective_20_cp95, simple_harmonic_current_effective_21_max,
simple_harmonic_current_effective_21_min, simple_harmonic_current_effective_21_avg,
simple_harmonic_current_effective_21_cp95, simple_harmonic_current_effective_22_max,
simple_harmonic_current_effective_22_min, simple_harmonic_current_effective_22_avg,
simple_harmonic_current_effective_22_cp95, simple_harmonic_current_effective_23_max,
simple_harmonic_current_effective_23_min, simple_harmonic_current_effective_23_avg,
simple_harmonic_current_effective_23_cp95, simple_harmonic_current_effective_24_max,
simple_harmonic_current_effective_24_min, simple_harmonic_current_effective_24_avg,
simple_harmonic_current_effective_24_cp95, simple_harmonic_current_effective_25_max,
simple_harmonic_current_effective_25_min, simple_harmonic_current_effective_25_avg,
simple_harmonic_current_effective_25_cp95, simple_harmonic_current_effective_26_max,
simple_harmonic_current_effective_26_min, simple_harmonic_current_effective_26_avg,
simple_harmonic_current_effective_26_cp95, simple_harmonic_current_effective_27_max,
simple_harmonic_current_effective_27_min, simple_harmonic_current_effective_27_avg,
simple_harmonic_current_effective_27_cp95, simple_harmonic_current_effective_28_max,
simple_harmonic_current_effective_28_min, simple_harmonic_current_effective_28_avg,
simple_harmonic_current_effective_28_cp95, simple_harmonic_current_effective_29_max,
simple_harmonic_current_effective_29_min, simple_harmonic_current_effective_29_avg,
simple_harmonic_current_effective_29_cp95, simple_harmonic_current_effective_30_max,
simple_harmonic_current_effective_30_min, simple_harmonic_current_effective_30_avg,
simple_harmonic_current_effective_30_cp95, simple_harmonic_current_effective_31_max,
simple_harmonic_current_effective_31_min, simple_harmonic_current_effective_31_avg,
simple_harmonic_current_effective_31_cp95, simple_harmonic_current_effective_32_max,
simple_harmonic_current_effective_32_min, simple_harmonic_current_effective_32_avg,
simple_harmonic_current_effective_32_cp95, simple_harmonic_current_effective_33_max,
simple_harmonic_current_effective_33_min, simple_harmonic_current_effective_33_avg,
simple_harmonic_current_effective_33_cp95, simple_harmonic_current_effective_34_max,
simple_harmonic_current_effective_34_min, simple_harmonic_current_effective_34_avg,
simple_harmonic_current_effective_34_cp95, simple_harmonic_current_effective_35_max,
simple_harmonic_current_effective_35_min, simple_harmonic_current_effective_35_avg,
simple_harmonic_current_effective_35_cp95, simple_harmonic_current_effective_36_max,
simple_harmonic_current_effective_36_min, simple_harmonic_current_effective_36_avg,
simple_harmonic_current_effective_36_cp95, simple_harmonic_current_effective_37_max,
simple_harmonic_current_effective_37_min, simple_harmonic_current_effective_37_avg,
simple_harmonic_current_effective_37_cp95, simple_harmonic_current_effective_38_max,
simple_harmonic_current_effective_38_min, simple_harmonic_current_effective_38_avg,
simple_harmonic_current_effective_38_cp95, simple_harmonic_current_effective_39_max,
simple_harmonic_current_effective_39_min, simple_harmonic_current_effective_39_avg,
simple_harmonic_current_effective_39_cp95, simple_harmonic_current_effective_40_max,
simple_harmonic_current_effective_40_min, simple_harmonic_current_effective_40_avg,
simple_harmonic_current_effective_40_cp95, simple_harmonic_current_effective_41_max,
simple_harmonic_current_effective_41_min, simple_harmonic_current_effective_41_avg,
simple_harmonic_current_effective_41_cp95, simple_harmonic_current_effective_42_max,
simple_harmonic_current_effective_42_min, simple_harmonic_current_effective_42_avg,
simple_harmonic_current_effective_42_cp95, simple_harmonic_current_effective_43_max,
simple_harmonic_current_effective_43_min, simple_harmonic_current_effective_43_avg,
simple_harmonic_current_effective_43_cp95, simple_harmonic_current_effective_44_max,
simple_harmonic_current_effective_44_min, simple_harmonic_current_effective_44_avg,
simple_harmonic_current_effective_44_cp95, simple_harmonic_current_effective_45_max,
simple_harmonic_current_effective_45_min, simple_harmonic_current_effective_45_avg,
simple_harmonic_current_effective_45_cp95, simple_harmonic_current_effective_46_max,
simple_harmonic_current_effective_46_min, simple_harmonic_current_effective_46_avg,
simple_harmonic_current_effective_46_cp95, simple_harmonic_current_effective_47_max,
simple_harmonic_current_effective_47_min, simple_harmonic_current_effective_47_avg,
simple_harmonic_current_effective_47_cp95, simple_harmonic_current_effective_48_max,
simple_harmonic_current_effective_48_min, simple_harmonic_current_effective_48_avg,
simple_harmonic_current_effective_48_cp95, simple_harmonic_current_effective_49_max,
simple_harmonic_current_effective_49_min, simple_harmonic_current_effective_49_avg,
simple_harmonic_current_effective_49_cp95, simple_harmonic_current_effective_50_max,
simple_harmonic_current_effective_50_min, simple_harmonic_current_effective_50_avg,
simple_harmonic_current_effective_50_cp95
</sql>
</mapper>

View File

@@ -0,0 +1,250 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.njcn.prepare.harmonic.mapper.line.RMpInharmonicIRateReportDPOMapper">
<resultMap id="BaseResultMap" type="com.njcn.prepare.harmonic.pojo.po.line.RMpInharmonicIRateReportDPO">
<!--@mbg.generated-->
<!--@Table r_mp_inharmonic_i_rate_report_d-->
<id column="measurement_point_id" jdbcType="VARCHAR" property="measurementPointId" />
<id column="data_date" jdbcType="DATE" property="dataDate" />
<id column="phase" jdbcType="VARCHAR" property="phase" />
<result column="inharm_i_2_max" jdbcType="FLOAT" property="inharmI2Max" />
<result column="inharm_i_2_min" jdbcType="FLOAT" property="inharmI2Min" />
<result column="inharm_i_2_avg" jdbcType="FLOAT" property="inharmI2Avg" />
<result column="inharm_i_2_cp95" jdbcType="FLOAT" property="inharmI2Cp95" />
<result column="inharm_i_3_max" jdbcType="FLOAT" property="inharmI3Max" />
<result column="inharm_i_3_min" jdbcType="FLOAT" property="inharmI3Min" />
<result column="inharm_i_3_avg" jdbcType="FLOAT" property="inharmI3Avg" />
<result column="inharm_i_3_cp95" jdbcType="FLOAT" property="inharmI3Cp95" />
<result column="inharm_i_4_max" jdbcType="FLOAT" property="inharmI4Max" />
<result column="inharm_i_4_min" jdbcType="FLOAT" property="inharmI4Min" />
<result column="inharm_i_4_avg" jdbcType="FLOAT" property="inharmI4Avg" />
<result column="inharm_i_4_cp95" jdbcType="FLOAT" property="inharmI4Cp95" />
<result column="inharm_i_5_max" jdbcType="FLOAT" property="inharmI5Max" />
<result column="inharm_i_5_min" jdbcType="FLOAT" property="inharmI5Min" />
<result column="inharm_i_5_avg" jdbcType="FLOAT" property="inharmI5Avg" />
<result column="inharm_i_5_cp95" jdbcType="FLOAT" property="inharmI5Cp95" />
<result column="inharm_i_6_max" jdbcType="FLOAT" property="inharmI6Max" />
<result column="inharm_i_6_min" jdbcType="FLOAT" property="inharmI6Min" />
<result column="inharm_i_6_avg" jdbcType="FLOAT" property="inharmI6Avg" />
<result column="inharm_i_6_cp95" jdbcType="FLOAT" property="inharmI6Cp95" />
<result column="inharm_i_7_max" jdbcType="FLOAT" property="inharmI7Max" />
<result column="inharm_i_7_min" jdbcType="FLOAT" property="inharmI7Min" />
<result column="inharm_i_7_avg" jdbcType="FLOAT" property="inharmI7Avg" />
<result column="inharm_i_7_cp95" jdbcType="FLOAT" property="inharmI7Cp95" />
<result column="inharm_i_8_max" jdbcType="FLOAT" property="inharmI8Max" />
<result column="inharm_i_8_min" jdbcType="FLOAT" property="inharmI8Min" />
<result column="inharm_i_8_avg" jdbcType="FLOAT" property="inharmI8Avg" />
<result column="inharm_i_8_cp95" jdbcType="FLOAT" property="inharmI8Cp95" />
<result column="inharm_i_9_max" jdbcType="FLOAT" property="inharmI9Max" />
<result column="inharm_i_9_min" jdbcType="FLOAT" property="inharmI9Min" />
<result column="inharm_i_9_avg" jdbcType="FLOAT" property="inharmI9Avg" />
<result column="inharm_i_9_cp95" jdbcType="FLOAT" property="inharmI9Cp95" />
<result column="inharm_i_10_max" jdbcType="FLOAT" property="inharmI10Max" />
<result column="inharm_i_10_min" jdbcType="FLOAT" property="inharmI10Min" />
<result column="inharm_i_10_avg" jdbcType="FLOAT" property="inharmI10Avg" />
<result column="inharm_i_10_cp95" jdbcType="FLOAT" property="inharmI10Cp95" />
<result column="inharm_i_11_max" jdbcType="FLOAT" property="inharmI11Max" />
<result column="inharm_i_11_min" jdbcType="FLOAT" property="inharmI11Min" />
<result column="inharm_i_11_avg" jdbcType="FLOAT" property="inharmI11Avg" />
<result column="inharm_i_11_cp95" jdbcType="FLOAT" property="inharmI11Cp95" />
<result column="inharm_i_12_max" jdbcType="FLOAT" property="inharmI12Max" />
<result column="inharm_i_12_min" jdbcType="FLOAT" property="inharmI12Min" />
<result column="inharm_i_12_avg" jdbcType="FLOAT" property="inharmI12Avg" />
<result column="inharm_i_12_cp95" jdbcType="FLOAT" property="inharmI12Cp95" />
<result column="inharm_i_13_max" jdbcType="FLOAT" property="inharmI13Max" />
<result column="inharm_i_13_min" jdbcType="FLOAT" property="inharmI13Min" />
<result column="inharm_i_13_avg" jdbcType="FLOAT" property="inharmI13Avg" />
<result column="inharm_i_13_cp95" jdbcType="FLOAT" property="inharmI13Cp95" />
<result column="inharm_i_14_max" jdbcType="FLOAT" property="inharmI14Max" />
<result column="inharm_i_14_min" jdbcType="FLOAT" property="inharmI14Min" />
<result column="inharm_i_14_avg" jdbcType="FLOAT" property="inharmI14Avg" />
<result column="inharm_i_14_cp95" jdbcType="FLOAT" property="inharmI14Cp95" />
<result column="inharm_i_15_max" jdbcType="FLOAT" property="inharmI15Max" />
<result column="inharm_i_15_min" jdbcType="FLOAT" property="inharmI15Min" />
<result column="inharm_i_15_avg" jdbcType="FLOAT" property="inharmI15Avg" />
<result column="inharm_i_15_cp95" jdbcType="FLOAT" property="inharmI15Cp95" />
<result column="inharm_i_16_max" jdbcType="FLOAT" property="inharmI16Max" />
<result column="inharm_i_16_min" jdbcType="FLOAT" property="inharmI16Min" />
<result column="inharm_i_16_avg" jdbcType="FLOAT" property="inharmI16Avg" />
<result column="inharm_i_16_cp95" jdbcType="FLOAT" property="inharmI16Cp95" />
<result column="inharm_i_17_max" jdbcType="FLOAT" property="inharmI17Max" />
<result column="inharm_i_17_min" jdbcType="FLOAT" property="inharmI17Min" />
<result column="inharm_i_17_avg" jdbcType="FLOAT" property="inharmI17Avg" />
<result column="inharm_i_17_cp95" jdbcType="FLOAT" property="inharmI17Cp95" />
<result column="inharm_i_18_max" jdbcType="FLOAT" property="inharmI18Max" />
<result column="inharm_i_18_min" jdbcType="FLOAT" property="inharmI18Min" />
<result column="inharm_i_18_avg" jdbcType="FLOAT" property="inharmI18Avg" />
<result column="inharm_i_18_cp95" jdbcType="FLOAT" property="inharmI18Cp95" />
<result column="inharm_i_19_max" jdbcType="FLOAT" property="inharmI19Max" />
<result column="inharm_i_19_min" jdbcType="FLOAT" property="inharmI19Min" />
<result column="inharm_i_19_avg" jdbcType="FLOAT" property="inharmI19Avg" />
<result column="inharm_i_19_cp95" jdbcType="FLOAT" property="inharmI19Cp95" />
<result column="inharm_i_20_max" jdbcType="FLOAT" property="inharmI20Max" />
<result column="inharm_i_20_min" jdbcType="FLOAT" property="inharmI20Min" />
<result column="inharm_i_20_avg" jdbcType="FLOAT" property="inharmI20Avg" />
<result column="inharm_i_20_cp95" jdbcType="FLOAT" property="inharmI20Cp95" />
<result column="inharm_i_21_max" jdbcType="FLOAT" property="inharmI21Max" />
<result column="inharm_i_21_min" jdbcType="FLOAT" property="inharmI21Min" />
<result column="inharm_i_21_avg" jdbcType="FLOAT" property="inharmI21Avg" />
<result column="inharm_i_21_cp95" jdbcType="FLOAT" property="inharmI21Cp95" />
<result column="inharm_i_22_max" jdbcType="FLOAT" property="inharmI22Max" />
<result column="inharm_i_22_min" jdbcType="FLOAT" property="inharmI22Min" />
<result column="inharm_i_22_avg" jdbcType="FLOAT" property="inharmI22Avg" />
<result column="inharm_i_22_cp95" jdbcType="FLOAT" property="inharmI22Cp95" />
<result column="inharm_i_23_max" jdbcType="FLOAT" property="inharmI23Max" />
<result column="inharm_i_23_min" jdbcType="FLOAT" property="inharmI23Min" />
<result column="inharm_i_23_avg" jdbcType="FLOAT" property="inharmI23Avg" />
<result column="inharm_i_23_cp95" jdbcType="FLOAT" property="inharmI23Cp95" />
<result column="inharm_i_24_max" jdbcType="FLOAT" property="inharmI24Max" />
<result column="inharm_i_24_min" jdbcType="FLOAT" property="inharmI24Min" />
<result column="inharm_i_24_avg" jdbcType="FLOAT" property="inharmI24Avg" />
<result column="inharm_i_24_cp95" jdbcType="FLOAT" property="inharmI24Cp95" />
<result column="inharm_i_25_max" jdbcType="FLOAT" property="inharmI25Max" />
<result column="inharm_i_25_min" jdbcType="FLOAT" property="inharmI25Min" />
<result column="inharm_i_25_avg" jdbcType="FLOAT" property="inharmI25Avg" />
<result column="inharm_i_25_cp95" jdbcType="FLOAT" property="inharmI25Cp95" />
<result column="inharm_i_26_max" jdbcType="FLOAT" property="inharmI26Max" />
<result column="inharm_i_26_min" jdbcType="FLOAT" property="inharmI26Min" />
<result column="inharm_i_26_avg" jdbcType="FLOAT" property="inharmI26Avg" />
<result column="inharm_i_26_cp95" jdbcType="FLOAT" property="inharmI26Cp95" />
<result column="inharm_i_27_max" jdbcType="FLOAT" property="inharmI27Max" />
<result column="inharm_i_27_min" jdbcType="FLOAT" property="inharmI27Min" />
<result column="inharm_i_27_avg" jdbcType="FLOAT" property="inharmI27Avg" />
<result column="inharm_i_27_cp95" jdbcType="FLOAT" property="inharmI27Cp95" />
<result column="inharm_i_28_max" jdbcType="FLOAT" property="inharmI28Max" />
<result column="inharm_i_28_min" jdbcType="FLOAT" property="inharmI28Min" />
<result column="inharm_i_28_avg" jdbcType="FLOAT" property="inharmI28Avg" />
<result column="inharm_i_28_cp95" jdbcType="FLOAT" property="inharmI28Cp95" />
<result column="inharm_i_29_max" jdbcType="FLOAT" property="inharmI29Max" />
<result column="inharm_i_29_min" jdbcType="FLOAT" property="inharmI29Min" />
<result column="inharm_i_29_avg" jdbcType="FLOAT" property="inharmI29Avg" />
<result column="inharm_i_29_cp95" jdbcType="FLOAT" property="inharmI29Cp95" />
<result column="inharm_i_30_max" jdbcType="FLOAT" property="inharmI30Max" />
<result column="inharm_i_30_min" jdbcType="FLOAT" property="inharmI30Min" />
<result column="inharm_i_30_avg" jdbcType="FLOAT" property="inharmI30Avg" />
<result column="inharm_i_30_cp95" jdbcType="FLOAT" property="inharmI30Cp95" />
<result column="inharm_i_31_max" jdbcType="FLOAT" property="inharmI31Max" />
<result column="inharm_i_31_min" jdbcType="FLOAT" property="inharmI31Min" />
<result column="inharm_i_31_avg" jdbcType="FLOAT" property="inharmI31Avg" />
<result column="inharm_i_31_cp95" jdbcType="FLOAT" property="inharmI31Cp95" />
<result column="inharm_i_32_max" jdbcType="FLOAT" property="inharmI32Max" />
<result column="inharm_i_32_min" jdbcType="FLOAT" property="inharmI32Min" />
<result column="inharm_i_32_avg" jdbcType="FLOAT" property="inharmI32Avg" />
<result column="inharm_i_32_cp95" jdbcType="FLOAT" property="inharmI32Cp95" />
<result column="inharm_i_33_max" jdbcType="FLOAT" property="inharmI33Max" />
<result column="inharm_i_33_min" jdbcType="FLOAT" property="inharmI33Min" />
<result column="inharm_i_33_avg" jdbcType="FLOAT" property="inharmI33Avg" />
<result column="inharm_i_33_cp95" jdbcType="FLOAT" property="inharmI33Cp95" />
<result column="inharm_i_34_max" jdbcType="FLOAT" property="inharmI34Max" />
<result column="inharm_i_34_min" jdbcType="FLOAT" property="inharmI34Min" />
<result column="inharm_i_34_avg" jdbcType="FLOAT" property="inharmI34Avg" />
<result column="inharm_i_34_cp95" jdbcType="FLOAT" property="inharmI34Cp95" />
<result column="inharm_i_35_max" jdbcType="FLOAT" property="inharmI35Max" />
<result column="inharm_i_35_min" jdbcType="FLOAT" property="inharmI35Min" />
<result column="inharm_i_35_avg" jdbcType="FLOAT" property="inharmI35Avg" />
<result column="inharm_i_35_cp95" jdbcType="FLOAT" property="inharmI35Cp95" />
<result column="inharm_i_36_max" jdbcType="FLOAT" property="inharmI36Max" />
<result column="inharm_i_36_min" jdbcType="FLOAT" property="inharmI36Min" />
<result column="inharm_i_36_avg" jdbcType="FLOAT" property="inharmI36Avg" />
<result column="inharm_i_36_cp95" jdbcType="FLOAT" property="inharmI36Cp95" />
<result column="inharm_i_37_max" jdbcType="FLOAT" property="inharmI37Max" />
<result column="inharm_i_37_min" jdbcType="FLOAT" property="inharmI37Min" />
<result column="inharm_i_37_avg" jdbcType="FLOAT" property="inharmI37Avg" />
<result column="inharm_i_37_cp95" jdbcType="FLOAT" property="inharmI37Cp95" />
<result column="inharm_i_38_max" jdbcType="FLOAT" property="inharmI38Max" />
<result column="inharm_i_38_min" jdbcType="FLOAT" property="inharmI38Min" />
<result column="inharm_i_38_avg" jdbcType="FLOAT" property="inharmI38Avg" />
<result column="inharm_i_38_cp95" jdbcType="FLOAT" property="inharmI38Cp95" />
<result column="inharm_i_39_max" jdbcType="FLOAT" property="inharmI39Max" />
<result column="inharm_i_39_min" jdbcType="FLOAT" property="inharmI39Min" />
<result column="inharm_i_39_avg" jdbcType="FLOAT" property="inharmI39Avg" />
<result column="inharm_i_39_cp95" jdbcType="FLOAT" property="inharmI39Cp95" />
<result column="inharm_i_40_max" jdbcType="FLOAT" property="inharmI40Max" />
<result column="inharm_i_40_min" jdbcType="FLOAT" property="inharmI40Min" />
<result column="inharm_i_40_avg" jdbcType="FLOAT" property="inharmI40Avg" />
<result column="inharm_i_40_cp95" jdbcType="FLOAT" property="inharmI40Cp95" />
<result column="inharm_i_41_max" jdbcType="FLOAT" property="inharmI41Max" />
<result column="inharm_i_41_min" jdbcType="FLOAT" property="inharmI41Min" />
<result column="inharm_i_41_avg" jdbcType="FLOAT" property="inharmI41Avg" />
<result column="inharm_i_41_cp95" jdbcType="FLOAT" property="inharmI41Cp95" />
<result column="inharm_i_42_max" jdbcType="FLOAT" property="inharmI42Max" />
<result column="inharm_i_42_min" jdbcType="FLOAT" property="inharmI42Min" />
<result column="inharm_i_42_avg" jdbcType="FLOAT" property="inharmI42Avg" />
<result column="inharm_i_42_cp95" jdbcType="FLOAT" property="inharmI42Cp95" />
<result column="inharm_i_43_max" jdbcType="FLOAT" property="inharmI43Max" />
<result column="inharm_i_43_min" jdbcType="FLOAT" property="inharmI43Min" />
<result column="inharm_i_43_avg" jdbcType="FLOAT" property="inharmI43Avg" />
<result column="inharm_i_43_cp95" jdbcType="FLOAT" property="inharmI43Cp95" />
<result column="inharm_i_44_max" jdbcType="FLOAT" property="inharmI44Max" />
<result column="inharm_i_44_min" jdbcType="FLOAT" property="inharmI44Min" />
<result column="inharm_i_44_avg" jdbcType="FLOAT" property="inharmI44Avg" />
<result column="inharm_i_44_cp95" jdbcType="FLOAT" property="inharmI44Cp95" />
<result column="inharm_i_45_max" jdbcType="FLOAT" property="inharmI45Max" />
<result column="inharm_i_45_min" jdbcType="FLOAT" property="inharmI45Min" />
<result column="inharm_i_45_avg" jdbcType="FLOAT" property="inharmI45Avg" />
<result column="inharm_i_45_cp95" jdbcType="FLOAT" property="inharmI45Cp95" />
<result column="inharm_i_46_max" jdbcType="FLOAT" property="inharmI46Max" />
<result column="inharm_i_46_min" jdbcType="FLOAT" property="inharmI46Min" />
<result column="inharm_i_46_avg" jdbcType="FLOAT" property="inharmI46Avg" />
<result column="inharm_i_46_cp95" jdbcType="FLOAT" property="inharmI46Cp95" />
<result column="inharm_i_47_max" jdbcType="FLOAT" property="inharmI47Max" />
<result column="inharm_i_47_min" jdbcType="FLOAT" property="inharmI47Min" />
<result column="inharm_i_47_avg" jdbcType="FLOAT" property="inharmI47Avg" />
<result column="inharm_i_47_cp95" jdbcType="FLOAT" property="inharmI47Cp95" />
<result column="inharm_i_48_max" jdbcType="FLOAT" property="inharmI48Max" />
<result column="inharm_i_48_min" jdbcType="FLOAT" property="inharmI48Min" />
<result column="inharm_i_48_avg" jdbcType="FLOAT" property="inharmI48Avg" />
<result column="inharm_i_48_cp95" jdbcType="FLOAT" property="inharmI48Cp95" />
<result column="inharm_i_49_max" jdbcType="FLOAT" property="inharmI49Max" />
<result column="inharm_i_49_min" jdbcType="FLOAT" property="inharmI49Min" />
<result column="inharm_i_49_avg" jdbcType="FLOAT" property="inharmI49Avg" />
<result column="inharm_i_49_cp95" jdbcType="FLOAT" property="inharmI49Cp95" />
<result column="inharm_i_50_max" jdbcType="FLOAT" property="inharmI50Max" />
<result column="inharm_i_50_min" jdbcType="FLOAT" property="inharmI50Min" />
<result column="inharm_i_50_avg" jdbcType="FLOAT" property="inharmI50Avg" />
<result column="inharm_i_50_cp95" jdbcType="FLOAT" property="inharmI50Cp95" />
</resultMap>
<sql id="Base_Column_List">
<!--@mbg.generated-->
measurement_point_id, data_date, phase, inharm_i_2_max, inharm_i_2_min, inharm_i_2_avg,
inharm_i_2_cp95, inharm_i_3_max, inharm_i_3_min, inharm_i_3_avg, inharm_i_3_cp95,
inharm_i_4_max, inharm_i_4_min, inharm_i_4_avg, inharm_i_4_cp95, inharm_i_5_max,
inharm_i_5_min, inharm_i_5_avg, inharm_i_5_cp95, inharm_i_6_max, inharm_i_6_min,
inharm_i_6_avg, inharm_i_6_cp95, inharm_i_7_max, inharm_i_7_min, inharm_i_7_avg,
inharm_i_7_cp95, inharm_i_8_max, inharm_i_8_min, inharm_i_8_avg, inharm_i_8_cp95,
inharm_i_9_max, inharm_i_9_min, inharm_i_9_avg, inharm_i_9_cp95, inharm_i_10_max,
inharm_i_10_min, inharm_i_10_avg, inharm_i_10_cp95, inharm_i_11_max, inharm_i_11_min,
inharm_i_11_avg, inharm_i_11_cp95, inharm_i_12_max, inharm_i_12_min, inharm_i_12_avg,
inharm_i_12_cp95, inharm_i_13_max, inharm_i_13_min, inharm_i_13_avg, inharm_i_13_cp95,
inharm_i_14_max, inharm_i_14_min, inharm_i_14_avg, inharm_i_14_cp95, inharm_i_15_max,
inharm_i_15_min, inharm_i_15_avg, inharm_i_15_cp95, inharm_i_16_max, inharm_i_16_min,
inharm_i_16_avg, inharm_i_16_cp95, inharm_i_17_max, inharm_i_17_min, inharm_i_17_avg,
inharm_i_17_cp95, inharm_i_18_max, inharm_i_18_min, inharm_i_18_avg, inharm_i_18_cp95,
inharm_i_19_max, inharm_i_19_min, inharm_i_19_avg, inharm_i_19_cp95, inharm_i_20_max,
inharm_i_20_min, inharm_i_20_avg, inharm_i_20_cp95, inharm_i_21_max, inharm_i_21_min,
inharm_i_21_avg, inharm_i_21_cp95, inharm_i_22_max, inharm_i_22_min, inharm_i_22_avg,
inharm_i_22_cp95, inharm_i_23_max, inharm_i_23_min, inharm_i_23_avg, inharm_i_23_cp95,
inharm_i_24_max, inharm_i_24_min, inharm_i_24_avg, inharm_i_24_cp95, inharm_i_25_max,
inharm_i_25_min, inharm_i_25_avg, inharm_i_25_cp95, inharm_i_26_max, inharm_i_26_min,
inharm_i_26_avg, inharm_i_26_cp95, inharm_i_27_max, inharm_i_27_min, inharm_i_27_avg,
inharm_i_27_cp95, inharm_i_28_max, inharm_i_28_min, inharm_i_28_avg, inharm_i_28_cp95,
inharm_i_29_max, inharm_i_29_min, inharm_i_29_avg, inharm_i_29_cp95, inharm_i_30_max,
inharm_i_30_min, inharm_i_30_avg, inharm_i_30_cp95, inharm_i_31_max, inharm_i_31_min,
inharm_i_31_avg, inharm_i_31_cp95, inharm_i_32_max, inharm_i_32_min, inharm_i_32_avg,
inharm_i_32_cp95, inharm_i_33_max, inharm_i_33_min, inharm_i_33_avg, inharm_i_33_cp95,
inharm_i_34_max, inharm_i_34_min, inharm_i_34_avg, inharm_i_34_cp95, inharm_i_35_max,
inharm_i_35_min, inharm_i_35_avg, inharm_i_35_cp95, inharm_i_36_max, inharm_i_36_min,
inharm_i_36_avg, inharm_i_36_cp95, inharm_i_37_max, inharm_i_37_min, inharm_i_37_avg,
inharm_i_37_cp95, inharm_i_38_max, inharm_i_38_min, inharm_i_38_avg, inharm_i_38_cp95,
inharm_i_39_max, inharm_i_39_min, inharm_i_39_avg, inharm_i_39_cp95, inharm_i_40_max,
inharm_i_40_min, inharm_i_40_avg, inharm_i_40_cp95, inharm_i_41_max, inharm_i_41_min,
inharm_i_41_avg, inharm_i_41_cp95, inharm_i_42_max, inharm_i_42_min, inharm_i_42_avg,
inharm_i_42_cp95, inharm_i_43_max, inharm_i_43_min, inharm_i_43_avg, inharm_i_43_cp95,
inharm_i_44_max, inharm_i_44_min, inharm_i_44_avg, inharm_i_44_cp95, inharm_i_45_max,
inharm_i_45_min, inharm_i_45_avg, inharm_i_45_cp95, inharm_i_46_max, inharm_i_46_min,
inharm_i_46_avg, inharm_i_46_cp95, inharm_i_47_max, inharm_i_47_min, inharm_i_47_avg,
inharm_i_47_cp95, inharm_i_48_max, inharm_i_48_min, inharm_i_48_avg, inharm_i_48_cp95,
inharm_i_49_max, inharm_i_49_min, inharm_i_49_avg, inharm_i_49_cp95, inharm_i_50_max,
inharm_i_50_min, inharm_i_50_avg, inharm_i_50_cp95
</sql>
</mapper>

View File

@@ -0,0 +1,281 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.njcn.prepare.harmonic.mapper.line.RMpInharmonicVRateReportDPOMapper">
<resultMap id="BaseResultMap" type="com.njcn.prepare.harmonic.pojo.po.line.RMpInharmonicVRateReportDPO">
<!--@mbg.generated-->
<!--@Table r_mp_inharmonic_v_rate_report_d-->
<id column="measurement_point_id" jdbcType="VARCHAR" property="measurementPointId" />
<id column="data_date" jdbcType="DATE" property="dataDate" />
<id column="phase" jdbcType="VARCHAR" property="phase" />
<result column="centre_harmonic_voltage_content1_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent1Max" />
<result column="centre_harmonic_voltage_content1_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent1Min" />
<result column="centre_harmonic_voltage_content1_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent1Avg" />
<result column="centre_harmonic_voltage_content1_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent1Cp95" />
<result column="centre_harmonic_voltage_content2_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent2Max" />
<result column="centre_harmonic_voltage_content2_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent2Min" />
<result column="centre_harmonic_voltage_content2_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent2Avg" />
<result column="centre_harmonic_voltage_content2_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent2Cp95" />
<result column="centre_harmonic_voltage_content3_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent3Max" />
<result column="centre_harmonic_voltage_content3_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent3Min" />
<result column="centre_harmonic_voltage_content3_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent3Avg" />
<result column="centre_harmonic_voltage_content3_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent3Cp95" />
<result column="centre_harmonic_voltage_content4_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent4Max" />
<result column="centre_harmonic_voltage_content4_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent4Min" />
<result column="centre_harmonic_voltage_content4_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent4Avg" />
<result column="centre_harmonic_voltage_content4_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent4Cp95" />
<result column="centre_harmonic_voltage_content5_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent5Max" />
<result column="centre_harmonic_voltage_content5_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent5Min" />
<result column="centre_harmonic_voltage_content5_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent5Avg" />
<result column="centre_harmonic_voltage_content5_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent5Cp95" />
<result column="centre_harmonic_voltage_content6_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent6Max" />
<result column="centre_harmonic_voltage_content6_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent6Min" />
<result column="centre_harmonic_voltage_content6_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent6Avg" />
<result column="centre_harmonic_voltage_content6_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent6Cp95" />
<result column="centre_harmonic_voltage_content7_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent7Max" />
<result column="centre_harmonic_voltage_content7_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent7Min" />
<result column="centre_harmonic_voltage_content7_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent7Avg" />
<result column="centre_harmonic_voltage_content7_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent7Cp95" />
<result column="centre_harmonic_voltage_content8_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent8Max" />
<result column="centre_harmonic_voltage_content8_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent8Min" />
<result column="centre_harmonic_voltage_content8_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent8Avg" />
<result column="centre_harmonic_voltage_content8_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent8Cp95" />
<result column="centre_harmonic_voltage_content9_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent9Max" />
<result column="centre_harmonic_voltage_content9_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent9Min" />
<result column="centre_harmonic_voltage_content9_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent9Avg" />
<result column="centre_harmonic_voltage_content9_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent9Cp95" />
<result column="centre_harmonic_voltage_content10_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent10Max" />
<result column="centre_harmonic_voltage_content10_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent10Min" />
<result column="centre_harmonic_voltage_content10_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent10Avg" />
<result column="centre_harmonic_voltage_content10_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent10Cp95" />
<result column="centre_harmonic_voltage_content11_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent11Max" />
<result column="centre_harmonic_voltage_content11_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent11Min" />
<result column="centre_harmonic_voltage_content11_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent11Avg" />
<result column="centre_harmonic_voltage_content11_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent11Cp95" />
<result column="centre_harmonic_voltage_content12_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent12Max" />
<result column="centre_harmonic_voltage_content12_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent12Min" />
<result column="centre_harmonic_voltage_content12_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent12Avg" />
<result column="centre_harmonic_voltage_content12_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent12Cp95" />
<result column="centre_harmonic_voltage_content13_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent13Max" />
<result column="centre_harmonic_voltage_content13_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent13Min" />
<result column="centre_harmonic_voltage_content13_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent13Avg" />
<result column="centre_harmonic_voltage_content13_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent13Cp95" />
<result column="centre_harmonic_voltage_content14_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent14Max" />
<result column="centre_harmonic_voltage_content14_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent14Min" />
<result column="centre_harmonic_voltage_content14_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent14Avg" />
<result column="centre_harmonic_voltage_content14_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent14Cp95" />
<result column="centre_harmonic_voltage_content15_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent15Max" />
<result column="centre_harmonic_voltage_content15_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent15Min" />
<result column="centre_harmonic_voltage_content15_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent15Avg" />
<result column="centre_harmonic_voltage_content15_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent15Cp95" />
<result column="centre_harmonic_voltage_content16_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent16Max" />
<result column="centre_harmonic_voltage_content16_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent16Min" />
<result column="centre_harmonic_voltage_content16_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent16Avg" />
<result column="centre_harmonic_voltage_content16_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent16Cp95" />
<result column="centre_harmonic_voltage_content17_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent17Max" />
<result column="centre_harmonic_voltage_content17_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent17Min" />
<result column="centre_harmonic_voltage_content17_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent17Avg" />
<result column="centre_harmonic_voltage_content17_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent17Cp95" />
<result column="centre_harmonic_voltage_content18_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent18Max" />
<result column="centre_harmonic_voltage_content18_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent18Min" />
<result column="centre_harmonic_voltage_content18_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent18Avg" />
<result column="centre_harmonic_voltage_content18_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent18Cp95" />
<result column="centre_harmonic_voltage_content19_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent19Max" />
<result column="centre_harmonic_voltage_content19_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent19Min" />
<result column="centre_harmonic_voltage_content19_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent19Avg" />
<result column="centre_harmonic_voltage_content19_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent19Cp95" />
<result column="centre_harmonic_voltage_content20_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent20Max" />
<result column="centre_harmonic_voltage_content20_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent20Min" />
<result column="centre_harmonic_voltage_content20_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent20Avg" />
<result column="centre_harmonic_voltage_content20_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent20Cp95" />
<result column="centre_harmonic_voltage_content21_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent21Max" />
<result column="centre_harmonic_voltage_content21_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent21Min" />
<result column="centre_harmonic_voltage_content21_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent21Avg" />
<result column="centre_harmonic_voltage_content21_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent21Cp95" />
<result column="centre_harmonic_voltage_content22_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent22Max" />
<result column="centre_harmonic_voltage_content22_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent22Min" />
<result column="centre_harmonic_voltage_content22_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent22Avg" />
<result column="centre_harmonic_voltage_content22_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent22Cp95" />
<result column="centre_harmonic_voltage_content23_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent23Max" />
<result column="centre_harmonic_voltage_content23_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent23Min" />
<result column="centre_harmonic_voltage_content23_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent23Avg" />
<result column="centre_harmonic_voltage_content23_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent23Cp95" />
<result column="centre_harmonic_voltage_content24_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent24Max" />
<result column="centre_harmonic_voltage_content24_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent24Min" />
<result column="centre_harmonic_voltage_content24_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent24Avg" />
<result column="centre_harmonic_voltage_content24_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent24Cp95" />
<result column="centre_harmonic_voltage_content25_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent25Max" />
<result column="centre_harmonic_voltage_content25_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent25Min" />
<result column="centre_harmonic_voltage_content25_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent25Avg" />
<result column="centre_harmonic_voltage_content25_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent25Cp95" />
<result column="centre_harmonic_voltage_content26_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent26Max" />
<result column="centre_harmonic_voltage_content26_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent26Min" />
<result column="centre_harmonic_voltage_content26_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent26Avg" />
<result column="centre_harmonic_voltage_content26_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent26Cp95" />
<result column="centre_harmonic_voltage_content27_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent27Max" />
<result column="centre_harmonic_voltage_content27_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent27Min" />
<result column="centre_harmonic_voltage_content27_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent27Avg" />
<result column="centre_harmonic_voltage_content27_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent27Cp95" />
<result column="centre_harmonic_voltage_content28_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent28Max" />
<result column="centre_harmonic_voltage_content28_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent28Min" />
<result column="centre_harmonic_voltage_content28_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent28Avg" />
<result column="centre_harmonic_voltage_content28_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent28Cp95" />
<result column="centre_harmonic_voltage_content29_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent29Max" />
<result column="centre_harmonic_voltage_content29_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent29Min" />
<result column="centre_harmonic_voltage_content29_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent29Avg" />
<result column="centre_harmonic_voltage_content29_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent29Cp95" />
<result column="centre_harmonic_voltage_content30_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent30Max" />
<result column="centre_harmonic_voltage_content30_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent30Min" />
<result column="centre_harmonic_voltage_content30_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent30Avg" />
<result column="centre_harmonic_voltage_content30_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent30Cp95" />
<result column="centre_harmonic_voltage_content31_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent31Max" />
<result column="centre_harmonic_voltage_content31_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent31Min" />
<result column="centre_harmonic_voltage_content31_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent31Avg" />
<result column="centre_harmonic_voltage_content31_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent31Cp95" />
<result column="centre_harmonic_voltage_content32_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent32Max" />
<result column="centre_harmonic_voltage_content32_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent32Min" />
<result column="centre_harmonic_voltage_content32_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent32Avg" />
<result column="centre_harmonic_voltage_content32_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent32Cp95" />
<result column="centre_harmonic_voltage_content33_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent33Max" />
<result column="centre_harmonic_voltage_content33_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent33Min" />
<result column="centre_harmonic_voltage_content33_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent33Avg" />
<result column="centre_harmonic_voltage_content33_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent33Cp95" />
<result column="centre_harmonic_voltage_content34_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent34Max" />
<result column="centre_harmonic_voltage_content34_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent34Min" />
<result column="centre_harmonic_voltage_content34_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent34Avg" />
<result column="centre_harmonic_voltage_content34_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent34Cp95" />
<result column="centre_harmonic_voltage_content35_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent35Max" />
<result column="centre_harmonic_voltage_content35_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent35Min" />
<result column="centre_harmonic_voltage_content35_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent35Avg" />
<result column="centre_harmonic_voltage_content35_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent35Cp95" />
<result column="centre_harmonic_voltage_content36_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent36Max" />
<result column="centre_harmonic_voltage_content36_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent36Min" />
<result column="centre_harmonic_voltage_content36_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent36Avg" />
<result column="centre_harmonic_voltage_content36_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent36Cp95" />
<result column="centre_harmonic_voltage_content37_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent37Max" />
<result column="centre_harmonic_voltage_content37_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent37Min" />
<result column="centre_harmonic_voltage_content37_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent37Avg" />
<result column="centre_harmonic_voltage_content37_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent37Cp95" />
<result column="centre_harmonic_voltage_content38_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent38Max" />
<result column="centre_harmonic_voltage_content38_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent38Min" />
<result column="centre_harmonic_voltage_content38_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent38Avg" />
<result column="centre_harmonic_voltage_content38_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent38Cp95" />
<result column="centre_harmonic_voltage_content39_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent39Max" />
<result column="centre_harmonic_voltage_content39_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent39Min" />
<result column="centre_harmonic_voltage_content39_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent39Avg" />
<result column="centre_harmonic_voltage_content39_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent39Cp95" />
<result column="centre_harmonic_voltage_content40_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent40Max" />
<result column="centre_harmonic_voltage_content40_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent40Min" />
<result column="centre_harmonic_voltage_content40_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent40Avg" />
<result column="centre_harmonic_voltage_content40_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent40Cp95" />
<result column="centre_harmonic_voltage_content41_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent41Max" />
<result column="centre_harmonic_voltage_content41_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent41Min" />
<result column="centre_harmonic_voltage_content41_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent41Avg" />
<result column="centre_harmonic_voltage_content41_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent41Cp95" />
<result column="centre_harmonic_voltage_content42_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent42Max" />
<result column="centre_harmonic_voltage_content42_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent42Min" />
<result column="centre_harmonic_voltage_content42_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent42Avg" />
<result column="centre_harmonic_voltage_content42_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent42Cp95" />
<result column="centre_harmonic_voltage_content43_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent43Max" />
<result column="centre_harmonic_voltage_content43_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent43Min" />
<result column="centre_harmonic_voltage_content43_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent43Avg" />
<result column="centre_harmonic_voltage_content43_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent43Cp95" />
<result column="centre_harmonic_voltage_content44_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent44Max" />
<result column="centre_harmonic_voltage_content44_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent44Min" />
<result column="centre_harmonic_voltage_content44_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent44Avg" />
<result column="centre_harmonic_voltage_content44_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent44Cp95" />
<result column="centre_harmonic_voltage_content45_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent45Max" />
<result column="centre_harmonic_voltage_content45_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent45Min" />
<result column="centre_harmonic_voltage_content45_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent45Avg" />
<result column="centre_harmonic_voltage_content45_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent45Cp95" />
<result column="centre_harmonic_voltage_content46_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent46Max" />
<result column="centre_harmonic_voltage_content46_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent46Min" />
<result column="centre_harmonic_voltage_content46_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent46Avg" />
<result column="centre_harmonic_voltage_content46_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent46Cp95" />
<result column="centre_harmonic_voltage_content47_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent47Max" />
<result column="centre_harmonic_voltage_content47_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent47Min" />
<result column="centre_harmonic_voltage_content47_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent47Avg" />
<result column="centre_harmonic_voltage_content47_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent47Cp95" />
<result column="centre_harmonic_voltage_content48_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent48Max" />
<result column="centre_harmonic_voltage_content48_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent48Min" />
<result column="centre_harmonic_voltage_content48_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent48Avg" />
<result column="centre_harmonic_voltage_content48_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent48Cp95" />
<result column="centre_harmonic_voltage_content49_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent49Max" />
<result column="centre_harmonic_voltage_content49_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent49Min" />
<result column="centre_harmonic_voltage_content49_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent49Avg" />
<result column="centre_harmonic_voltage_content49_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent49Cp95" />
<result column="centre_harmonic_voltage_content50_max" jdbcType="FLOAT" property="centreHarmonicVoltageContent50Max" />
<result column="centre_harmonic_voltage_content50_min" jdbcType="FLOAT" property="centreHarmonicVoltageContent50Min" />
<result column="centre_harmonic_voltage_content50_avg" jdbcType="FLOAT" property="centreHarmonicVoltageContent50Avg" />
<result column="centre_harmonic_voltage_content50_cp95" jdbcType="FLOAT" property="centreHarmonicVoltageContent50Cp95" />
</resultMap>
<sql id="Base_Column_List">
<!--@mbg.generated-->
measurement_point_id, data_date, phase, centre_harmonic_voltage_content1_max, centre_harmonic_voltage_content1_min,
centre_harmonic_voltage_content1_avg, centre_harmonic_voltage_content1_cp95, centre_harmonic_voltage_content2_max,
centre_harmonic_voltage_content2_min, centre_harmonic_voltage_content2_avg, centre_harmonic_voltage_content2_cp95,
centre_harmonic_voltage_content3_max, centre_harmonic_voltage_content3_min, centre_harmonic_voltage_content3_avg,
centre_harmonic_voltage_content3_cp95, centre_harmonic_voltage_content4_max, centre_harmonic_voltage_content4_min,
centre_harmonic_voltage_content4_avg, centre_harmonic_voltage_content4_cp95, centre_harmonic_voltage_content5_max,
centre_harmonic_voltage_content5_min, centre_harmonic_voltage_content5_avg, centre_harmonic_voltage_content5_cp95,
centre_harmonic_voltage_content6_max, centre_harmonic_voltage_content6_min, centre_harmonic_voltage_content6_avg,
centre_harmonic_voltage_content6_cp95, centre_harmonic_voltage_content7_max, centre_harmonic_voltage_content7_min,
centre_harmonic_voltage_content7_avg, centre_harmonic_voltage_content7_cp95, centre_harmonic_voltage_content8_max,
centre_harmonic_voltage_content8_min, centre_harmonic_voltage_content8_avg, centre_harmonic_voltage_content8_cp95,
centre_harmonic_voltage_content9_max, centre_harmonic_voltage_content9_min, centre_harmonic_voltage_content9_avg,
centre_harmonic_voltage_content9_cp95, centre_harmonic_voltage_content10_max, centre_harmonic_voltage_content10_min,
centre_harmonic_voltage_content10_avg, centre_harmonic_voltage_content10_cp95, centre_harmonic_voltage_content11_max,
centre_harmonic_voltage_content11_min, centre_harmonic_voltage_content11_avg, centre_harmonic_voltage_content11_cp95,
centre_harmonic_voltage_content12_max, centre_harmonic_voltage_content12_min, centre_harmonic_voltage_content12_avg,
centre_harmonic_voltage_content12_cp95, centre_harmonic_voltage_content13_max, centre_harmonic_voltage_content13_min,
centre_harmonic_voltage_content13_avg, centre_harmonic_voltage_content13_cp95, centre_harmonic_voltage_content14_max,
centre_harmonic_voltage_content14_min, centre_harmonic_voltage_content14_avg, centre_harmonic_voltage_content14_cp95,
centre_harmonic_voltage_content15_max, centre_harmonic_voltage_content15_min, centre_harmonic_voltage_content15_avg,
centre_harmonic_voltage_content15_cp95, centre_harmonic_voltage_content16_max, centre_harmonic_voltage_content16_min,
centre_harmonic_voltage_content16_avg, centre_harmonic_voltage_content16_cp95, centre_harmonic_voltage_content17_max,
centre_harmonic_voltage_content17_min, centre_harmonic_voltage_content17_avg, centre_harmonic_voltage_content17_cp95,
centre_harmonic_voltage_content18_max, centre_harmonic_voltage_content18_min, centre_harmonic_voltage_content18_avg,
centre_harmonic_voltage_content18_cp95, centre_harmonic_voltage_content19_max, centre_harmonic_voltage_content19_min,
centre_harmonic_voltage_content19_avg, centre_harmonic_voltage_content19_cp95, centre_harmonic_voltage_content20_max,
centre_harmonic_voltage_content20_min, centre_harmonic_voltage_content20_avg, centre_harmonic_voltage_content20_cp95,
centre_harmonic_voltage_content21_max, centre_harmonic_voltage_content21_min, centre_harmonic_voltage_content21_avg,
centre_harmonic_voltage_content21_cp95, centre_harmonic_voltage_content22_max, centre_harmonic_voltage_content22_min,
centre_harmonic_voltage_content22_avg, centre_harmonic_voltage_content22_cp95, centre_harmonic_voltage_content23_max,
centre_harmonic_voltage_content23_min, centre_harmonic_voltage_content23_avg, centre_harmonic_voltage_content23_cp95,
centre_harmonic_voltage_content24_max, centre_harmonic_voltage_content24_min, centre_harmonic_voltage_content24_avg,
centre_harmonic_voltage_content24_cp95, centre_harmonic_voltage_content25_max, centre_harmonic_voltage_content25_min,
centre_harmonic_voltage_content25_avg, centre_harmonic_voltage_content25_cp95, centre_harmonic_voltage_content26_max,
centre_harmonic_voltage_content26_min, centre_harmonic_voltage_content26_avg, centre_harmonic_voltage_content26_cp95,
centre_harmonic_voltage_content27_max, centre_harmonic_voltage_content27_min, centre_harmonic_voltage_content27_avg,
centre_harmonic_voltage_content27_cp95, centre_harmonic_voltage_content28_max, centre_harmonic_voltage_content28_min,
centre_harmonic_voltage_content28_avg, centre_harmonic_voltage_content28_cp95, centre_harmonic_voltage_content29_max,
centre_harmonic_voltage_content29_min, centre_harmonic_voltage_content29_avg, centre_harmonic_voltage_content29_cp95,
centre_harmonic_voltage_content30_max, centre_harmonic_voltage_content30_min, centre_harmonic_voltage_content30_avg,
centre_harmonic_voltage_content30_cp95, centre_harmonic_voltage_content31_max, centre_harmonic_voltage_content31_min,
centre_harmonic_voltage_content31_avg, centre_harmonic_voltage_content31_cp95, centre_harmonic_voltage_content32_max,
centre_harmonic_voltage_content32_min, centre_harmonic_voltage_content32_avg, centre_harmonic_voltage_content32_cp95,
centre_harmonic_voltage_content33_max, centre_harmonic_voltage_content33_min, centre_harmonic_voltage_content33_avg,
centre_harmonic_voltage_content33_cp95, centre_harmonic_voltage_content34_max, centre_harmonic_voltage_content34_min,
centre_harmonic_voltage_content34_avg, centre_harmonic_voltage_content34_cp95, centre_harmonic_voltage_content35_max,
centre_harmonic_voltage_content35_min, centre_harmonic_voltage_content35_avg, centre_harmonic_voltage_content35_cp95,
centre_harmonic_voltage_content36_max, centre_harmonic_voltage_content36_min, centre_harmonic_voltage_content36_avg,
centre_harmonic_voltage_content36_cp95, centre_harmonic_voltage_content37_max, centre_harmonic_voltage_content37_min,
centre_harmonic_voltage_content37_avg, centre_harmonic_voltage_content37_cp95, centre_harmonic_voltage_content38_max,
centre_harmonic_voltage_content38_min, centre_harmonic_voltage_content38_avg, centre_harmonic_voltage_content38_cp95,
centre_harmonic_voltage_content39_max, centre_harmonic_voltage_content39_min, centre_harmonic_voltage_content39_avg,
centre_harmonic_voltage_content39_cp95, centre_harmonic_voltage_content40_max, centre_harmonic_voltage_content40_min,
centre_harmonic_voltage_content40_avg, centre_harmonic_voltage_content40_cp95, centre_harmonic_voltage_content41_max,
centre_harmonic_voltage_content41_min, centre_harmonic_voltage_content41_avg, centre_harmonic_voltage_content41_cp95,
centre_harmonic_voltage_content42_max, centre_harmonic_voltage_content42_min, centre_harmonic_voltage_content42_avg,
centre_harmonic_voltage_content42_cp95, centre_harmonic_voltage_content43_max, centre_harmonic_voltage_content43_min,
centre_harmonic_voltage_content43_avg, centre_harmonic_voltage_content43_cp95, centre_harmonic_voltage_content44_max,
centre_harmonic_voltage_content44_min, centre_harmonic_voltage_content44_avg, centre_harmonic_voltage_content44_cp95,
centre_harmonic_voltage_content45_max, centre_harmonic_voltage_content45_min, centre_harmonic_voltage_content45_avg,
centre_harmonic_voltage_content45_cp95, centre_harmonic_voltage_content46_max, centre_harmonic_voltage_content46_min,
centre_harmonic_voltage_content46_avg, centre_harmonic_voltage_content46_cp95, centre_harmonic_voltage_content47_max,
centre_harmonic_voltage_content47_min, centre_harmonic_voltage_content47_avg, centre_harmonic_voltage_content47_cp95,
centre_harmonic_voltage_content48_max, centre_harmonic_voltage_content48_min, centre_harmonic_voltage_content48_avg,
centre_harmonic_voltage_content48_cp95, centre_harmonic_voltage_content49_max, centre_harmonic_voltage_content49_min,
centre_harmonic_voltage_content49_avg, centre_harmonic_voltage_content49_cp95, centre_harmonic_voltage_content50_max,
centre_harmonic_voltage_content50_min, centre_harmonic_voltage_content50_avg, centre_harmonic_voltage_content50_cp95
</sql>
</mapper>

View File

@@ -0,0 +1,65 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.njcn.prepare.harmonic.mapper.line.RMpMeasurePhaseReportDPOMapper">
<resultMap id="BaseResultMap" type="com.njcn.prepare.harmonic.pojo.po.line.RMpMeasurePhaseReportDPO">
<!--@mbg.generated-->
<!--@Table r_mp_measure_phase_report_d-->
<id column="measurement_point_id" jdbcType="VARCHAR" property="measurementPointId" />
<id column="data_date" jdbcType="DATE" property="dataDate" />
<id column="phase" jdbcType="VARCHAR" property="phase" />
<result column="phase_voltage_effective_max" jdbcType="FLOAT" property="phaseVoltageEffectiveMax" />
<result column="phase_voltage_effective_min" jdbcType="FLOAT" property="phaseVoltageEffectiveMin" />
<result column="phase_voltage_effective_avg" jdbcType="FLOAT" property="phaseVoltageEffectiveAvg" />
<result column="phase_voltage_effective_95" jdbcType="FLOAT" property="phaseVoltageEffective95" />
<result column="line_voltage_effective_max" jdbcType="FLOAT" property="lineVoltageEffectiveMax" />
<result column="line_voltage_effective_min" jdbcType="FLOAT" property="lineVoltageEffectiveMin" />
<result column="line_voltage_effective_avg" jdbcType="FLOAT" property="lineVoltageEffectiveAvg" />
<result column="line_voltage_effective_95" jdbcType="FLOAT" property="lineVoltageEffective95" />
<result column="v_de_up_max" jdbcType="FLOAT" property="vDeUpMax" />
<result column="v_de_up_min" jdbcType="FLOAT" property="vDeUpMin" />
<result column="v_de_up_avg" jdbcType="FLOAT" property="vDeUpAvg" />
<result column="v_de_up_95" jdbcType="FLOAT" property="vDeUp95" />
<result column="v_de_low_max" jdbcType="FLOAT" property="vDeLowMax" />
<result column="v_de_low_min" jdbcType="FLOAT" property="vDeLowMin" />
<result column="v_de_low_avg" jdbcType="FLOAT" property="vDeLowAvg" />
<result column="v_de_low_95" jdbcType="FLOAT" property="vDeLow95" />
<result column="current_effective_max" jdbcType="FLOAT" property="currentEffectiveMax" />
<result column="current_effective_min" jdbcType="FLOAT" property="currentEffectiveMin" />
<result column="current_effective_avg" jdbcType="FLOAT" property="currentEffectiveAvg" />
<result column="current_effective_95" jdbcType="FLOAT" property="currentEffective95" />
<result column="sp_active_power_max" jdbcType="FLOAT" property="spActivePowerMax" />
<result column="sp_active_power_min" jdbcType="FLOAT" property="spActivePowerMin" />
<result column="sp_active_power_avg" jdbcType="FLOAT" property="spActivePowerAvg" />
<result column="sp_active_power_95" jdbcType="FLOAT" property="spActivePower95" />
<result column="sp_reactive_power_max" jdbcType="FLOAT" property="spReactivePowerMax" />
<result column="sp_reactive_power_min" jdbcType="FLOAT" property="spReactivePowerMin" />
<result column="sp_reactive_power_avg" jdbcType="FLOAT" property="spReactivePowerAvg" />
<result column="sp_reactive_power_95" jdbcType="FLOAT" property="spReactivePower95" />
<result column="sp_apparent_power_max" jdbcType="FLOAT" property="spApparentPowerMax" />
<result column="sp_apparent_power_min" jdbcType="FLOAT" property="spApparentPowerMin" />
<result column="sp_apparent_power_avg" jdbcType="FLOAT" property="spApparentPowerAvg" />
<result column="sp_apparent_power_95" jdbcType="FLOAT" property="spApparentPower95" />
<result column="sp_power_factor_max" jdbcType="FLOAT" property="spPowerFactorMax" />
<result column="sp_power_factor_min" jdbcType="FLOAT" property="spPowerFactorMin" />
<result column="sp_power_factor_avg" jdbcType="FLOAT" property="spPowerFactorAvg" />
<result column="sp_power_factor_95" jdbcType="FLOAT" property="spPowerFactor95" />
<result column="sp_fundamental_power_factor_max" jdbcType="FLOAT" property="spFundamentalPowerFactorMax" />
<result column="sp_fundamental_power_factor_min" jdbcType="FLOAT" property="spFundamentalPowerFactorMin" />
<result column="sp_fundamental_power_factor_avg" jdbcType="FLOAT" property="spFundamentalPowerFactorAvg" />
<result column="sp_fundamental_power_factor_95" jdbcType="FLOAT" property="spFundamentalPowerFactor95" />
</resultMap>
<sql id="Base_Column_List">
<!--@mbg.generated-->
measurement_point_id, data_date, phase, phase_voltage_effective_max, phase_voltage_effective_min,
phase_voltage_effective_avg, phase_voltage_effective_95, line_voltage_effective_max,
line_voltage_effective_min, line_voltage_effective_avg, line_voltage_effective_95,
v_de_up_max, v_de_up_min, v_de_up_avg, v_de_up_95, v_de_low_max, v_de_low_min, v_de_low_avg,
v_de_low_95, current_effective_max, current_effective_min, current_effective_avg,
current_effective_95, sp_active_power_max, sp_active_power_min, sp_active_power_avg,
sp_active_power_95, sp_reactive_power_max, sp_reactive_power_min, sp_reactive_power_avg,
sp_reactive_power_95, sp_apparent_power_max, sp_apparent_power_min, sp_apparent_power_avg,
sp_apparent_power_95, sp_power_factor_max, sp_power_factor_min, sp_power_factor_avg,
sp_power_factor_95, sp_fundamental_power_factor_max, sp_fundamental_power_factor_min,
sp_fundamental_power_factor_avg, sp_fundamental_power_factor_95
</sql>
</mapper>

View File

@@ -0,0 +1,135 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.njcn.prepare.harmonic.mapper.line.RMpMeasureReportDPOMapper">
<resultMap id="BaseResultMap" type="com.njcn.prepare.harmonic.pojo.po.line.RMpMeasureReportDPO">
<!--@mbg.generated-->
<!--@Table r_mp_measure_report_d-->
<id column="measurement_point_id" jdbcType="VARCHAR" property="measurementPointId" />
<id column="data_date" jdbcType="DATE" property="dataDate" />
<result column="frequency_max" jdbcType="FLOAT" property="frequencyMax" />
<result column="frequency_min" jdbcType="FLOAT" property="frequencyMin" />
<result column="frequency_avg" jdbcType="FLOAT" property="frequencyAvg" />
<result column="frequency_95" jdbcType="FLOAT" property="frequency95" />
<result column="frequency_deviation_max" jdbcType="FLOAT" property="frequencyDeviationMax" />
<result column="frequency_deviation_min" jdbcType="FLOAT" property="frequencyDeviationMin" />
<result column="frequency_deviation_avg" jdbcType="FLOAT" property="frequencyDeviationAvg" />
<result column="frequency_deviation_95" jdbcType="FLOAT" property="frequencyDeviation95" />
<result column="total_active_power_max" jdbcType="FLOAT" property="totalActivePowerMax" />
<result column="total_active_power_min" jdbcType="FLOAT" property="totalActivePowerMin" />
<result column="total_active_power_avg" jdbcType="FLOAT" property="totalActivePowerAvg" />
<result column="total_active_power_95" jdbcType="FLOAT" property="totalActivePower95" />
<result column="total_reactive_power_max" jdbcType="FLOAT" property="totalReactivePowerMax" />
<result column="total_reactive_power_min" jdbcType="FLOAT" property="totalReactivePowerMin" />
<result column="total_reactive_power_avg" jdbcType="FLOAT" property="totalReactivePowerAvg" />
<result column="total_reactive_power_95" jdbcType="FLOAT" property="totalReactivePower95" />
<result column="total_apparent_power_max" jdbcType="FLOAT" property="totalApparentPowerMax" />
<result column="total_apparent_power_min" jdbcType="FLOAT" property="totalApparentPowerMin" />
<result column="total_apparent_power_avg" jdbcType="FLOAT" property="totalApparentPowerAvg" />
<result column="total_apparent_power_95" jdbcType="FLOAT" property="totalApparentPower95" />
<result column="tp_power_factor_max" jdbcType="FLOAT" property="tpPowerFactorMax" />
<result column="tp_power_factor_min" jdbcType="FLOAT" property="tpPowerFactorMin" />
<result column="tp_power_factor_avg" jdbcType="FLOAT" property="tpPowerFactorAvg" />
<result column="tp_power_factor_95" jdbcType="FLOAT" property="tpPowerFactor95" />
<result column="fundamental_power_factor_max" jdbcType="FLOAT" property="fundamentalPowerFactorMax" />
<result column="fundamental_power_factor_min" jdbcType="FLOAT" property="fundamentalPowerFactorMin" />
<result column="fundamental_power_factor_avg" jdbcType="FLOAT" property="fundamentalPowerFactorAvg" />
<result column="fundamental_power_factor_95" jdbcType="FLOAT" property="fundamentalPowerFactor95" />
<result column="positive_sequence_voltage_max" jdbcType="FLOAT" property="positiveSequenceVoltageMax" />
<result column="positive_sequence_voltage_min" jdbcType="FLOAT" property="positiveSequenceVoltageMin" />
<result column="positive_sequence_voltage_avg" jdbcType="FLOAT" property="positiveSequenceVoltageAvg" />
<result column="positive_sequence_voltage_95" jdbcType="FLOAT" property="positiveSequenceVoltage95" />
<result column="negative_sequence_voltage_max" jdbcType="FLOAT" property="negativeSequenceVoltageMax" />
<result column="negative_sequence_voltage_min" jdbcType="FLOAT" property="negativeSequenceVoltageMin" />
<result column="negative_sequence_voltage_avg" jdbcType="FLOAT" property="negativeSequenceVoltageAvg" />
<result column="negative_sequence_voltage_95" jdbcType="FLOAT" property="negativeSequenceVoltage95" />
<result column="zero_sequence_voltage_max" jdbcType="FLOAT" property="zeroSequenceVoltageMax" />
<result column="zero_sequence_voltage_min" jdbcType="FLOAT" property="zeroSequenceVoltageMin" />
<result column="zero_sequence_voltage_avg" jdbcType="FLOAT" property="zeroSequenceVoltageAvg" />
<result column="zero_sequence_voltage_95" jdbcType="FLOAT" property="zeroSequenceVoltage95" />
<result column="negative_sequence_voltage_unbalance_max" jdbcType="FLOAT" property="negativeSequenceVoltageUnbalanceMax" />
<result column="negative_sequence_voltage_unbalance_min" jdbcType="FLOAT" property="negativeSequenceVoltageUnbalanceMin" />
<result column="negative_sequence_voltage_unbalance_avg" jdbcType="FLOAT" property="negativeSequenceVoltageUnbalanceAvg" />
<result column="negative_sequence_voltage_unbalance_95" jdbcType="FLOAT" property="negativeSequenceVoltageUnbalance95" />
<result column="zero_sequence_voltage_unbalance_max" jdbcType="FLOAT" property="zeroSequenceVoltageUnbalanceMax" />
<result column="zero_sequence_voltage_unbalance_min" jdbcType="FLOAT" property="zeroSequenceVoltageUnbalanceMin" />
<result column="zero_sequence_voltage_unbalance_avg" jdbcType="FLOAT" property="zeroSequenceVoltageUnbalanceAvg" />
<result column="zero_sequence_voltage_unbalance_95" jdbcType="FLOAT" property="zeroSequenceVoltageUnbalance95" />
<result column="positive_sequence_current_max" jdbcType="FLOAT" property="positiveSequenceCurrentMax" />
<result column="positive_sequence_current_min" jdbcType="FLOAT" property="positiveSequenceCurrentMin" />
<result column="positive_sequence_current_avg" jdbcType="FLOAT" property="positiveSequenceCurrentAvg" />
<result column="positive_sequence_current_95" jdbcType="FLOAT" property="positiveSequenceCurrent95" />
<result column="negative_sequence_current_max" jdbcType="FLOAT" property="negativeSequenceCurrentMax" />
<result column="negative_sequence_current_min" jdbcType="FLOAT" property="negativeSequenceCurrentMin" />
<result column="negative_sequence_current_avg" jdbcType="FLOAT" property="negativeSequenceCurrentAvg" />
<result column="negative_sequence_current_95" jdbcType="FLOAT" property="negativeSequenceCurrent95" />
<result column="zero_sequence_current_max" jdbcType="FLOAT" property="zeroSequenceCurrentMax" />
<result column="zero_sequence_current_min" jdbcType="FLOAT" property="zeroSequenceCurrentMin" />
<result column="zero_sequence_current_avg" jdbcType="FLOAT" property="zeroSequenceCurrentAvg" />
<result column="zero_sequence_current_95" jdbcType="FLOAT" property="zeroSequenceCurrent95" />
<result column="negative_sequence_current_unbalance_max" jdbcType="FLOAT" property="negativeSequenceCurrentUnbalanceMax" />
<result column="negative_sequence_current_unbalance_min" jdbcType="FLOAT" property="negativeSequenceCurrentUnbalanceMin" />
<result column="negative_sequence_current_unbalance_avg" jdbcType="FLOAT" property="negativeSequenceCurrentUnbalanceAvg" />
<result column="negative_sequence_current_unbalance_95" jdbcType="FLOAT" property="negativeSequenceCurrentUnbalance95" />
<result column="zero_sequence_current_imbalance_max" jdbcType="FLOAT" property="zeroSequenceCurrentImbalanceMax" />
<result column="zero_sequence_current_imbalance_min" jdbcType="FLOAT" property="zeroSequenceCurrentImbalanceMin" />
<result column="zero_sequence_current_imbalance_avg" jdbcType="FLOAT" property="zeroSequenceCurrentImbalanceAvg" />
<result column="zero_sequence_current_imbalance_95" jdbcType="FLOAT" property="zeroSequenceCurrentImbalance95" />
<result column="equivalent_apparent_power_max" jdbcType="FLOAT" property="equivalentApparentPowerMax" />
<result column="equivalent_apparent_power_min" jdbcType="FLOAT" property="equivalentApparentPowerMin" />
<result column="equivalent_apparent_power_avg" jdbcType="FLOAT" property="equivalentApparentPowerAvg" />
<result column="equivalent_apparent_power_95" jdbcType="FLOAT" property="equivalentApparentPower95" />
<result column="equivalent_power_factor_max" jdbcType="FLOAT" property="equivalentPowerFactorMax" />
<result column="equivalent_power_factor_min" jdbcType="FLOAT" property="equivalentPowerFactorMin" />
<result column="equivalent_power_factor_avg" jdbcType="FLOAT" property="equivalentPowerFactorAvg" />
<result column="equivalent_power_factor_95" jdbcType="FLOAT" property="equivalentPowerFactor95" />
<result column="fundamental_wave_rateo_max" jdbcType="FLOAT" property="fundamentalWaveRateoMax" />
<result column="fundamental_wave_rateo_min" jdbcType="FLOAT" property="fundamentalWaveRateoMin" />
<result column="fundamental_wave_rateo_avg" jdbcType="FLOAT" property="fundamentalWaveRateoAvg" />
<result column="fundamental_wave_rateo_95" jdbcType="FLOAT" property="fundamentalWaveRateo95" />
<result column="fundamental_wave_apparent_max" jdbcType="FLOAT" property="fundamentalWaveApparentMax" />
<result column="fundamental_wave_apparent_min" jdbcType="FLOAT" property="fundamentalWaveApparentMin" />
<result column="fundamental_wave_apparent_avg" jdbcType="FLOAT" property="fundamentalWaveApparentAvg" />
<result column="fundamental_wave_apparent_95" jdbcType="FLOAT" property="fundamentalWaveApparent95" />
<result column="nonfundamental_wave_rateo_max" jdbcType="FLOAT" property="nonfundamentalWaveRateoMax" />
<result column="nonfundamental_wave_rateo_min" jdbcType="FLOAT" property="nonfundamentalWaveRateoMin" />
<result column="nonfundamental_wave_rateo_avg" jdbcType="FLOAT" property="nonfundamentalWaveRateoAvg" />
<result column="nonfundamental_wave_rateo_95" jdbcType="FLOAT" property="nonfundamentalWaveRateo95" />
<result column="unbalanced_apparent_power_max" jdbcType="FLOAT" property="unbalancedApparentPowerMax" />
<result column="unbalanced_apparent_power_min" jdbcType="FLOAT" property="unbalancedApparentPowerMin" />
<result column="unbalanced_apparent_power_avg" jdbcType="FLOAT" property="unbalancedApparentPowerAvg" />
<result column="unbalanced_apparent_power_95" jdbcType="FLOAT" property="unbalancedApparentPower95" />
</resultMap>
<sql id="Base_Column_List">
<!--@mbg.generated-->
measurement_point_id, data_date, frequency_max, frequency_min, frequency_avg, frequency_95,
frequency_deviation_max, frequency_deviation_min, frequency_deviation_avg, frequency_deviation_95,
total_active_power_max, total_active_power_min, total_active_power_avg, total_active_power_95,
total_reactive_power_max, total_reactive_power_min, total_reactive_power_avg, total_reactive_power_95,
total_apparent_power_max, total_apparent_power_min, total_apparent_power_avg, total_apparent_power_95,
tp_power_factor_max, tp_power_factor_min, tp_power_factor_avg, tp_power_factor_95,
fundamental_power_factor_max, fundamental_power_factor_min, fundamental_power_factor_avg,
fundamental_power_factor_95, positive_sequence_voltage_max, positive_sequence_voltage_min,
positive_sequence_voltage_avg, positive_sequence_voltage_95, negative_sequence_voltage_max,
negative_sequence_voltage_min, negative_sequence_voltage_avg, negative_sequence_voltage_95,
zero_sequence_voltage_max, zero_sequence_voltage_min, zero_sequence_voltage_avg,
zero_sequence_voltage_95, negative_sequence_voltage_unbalance_max, negative_sequence_voltage_unbalance_min,
negative_sequence_voltage_unbalance_avg, negative_sequence_voltage_unbalance_95,
zero_sequence_voltage_unbalance_max, zero_sequence_voltage_unbalance_min, zero_sequence_voltage_unbalance_avg,
zero_sequence_voltage_unbalance_95, positive_sequence_current_max, positive_sequence_current_min,
positive_sequence_current_avg, positive_sequence_current_95, negative_sequence_current_max,
negative_sequence_current_min, negative_sequence_current_avg, negative_sequence_current_95,
zero_sequence_current_max, zero_sequence_current_min, zero_sequence_current_avg,
zero_sequence_current_95, negative_sequence_current_unbalance_max, negative_sequence_current_unbalance_min,
negative_sequence_current_unbalance_avg, negative_sequence_current_unbalance_95,
zero_sequence_current_imbalance_max, zero_sequence_current_imbalance_min, zero_sequence_current_imbalance_avg,
zero_sequence_current_imbalance_95, equivalent_apparent_power_max, equivalent_apparent_power_min,
equivalent_apparent_power_avg, equivalent_apparent_power_95, equivalent_power_factor_max,
equivalent_power_factor_min, equivalent_power_factor_avg, equivalent_power_factor_95,
fundamental_wave_rateo_max, fundamental_wave_rateo_min, fundamental_wave_rateo_avg,
fundamental_wave_rateo_95, fundamental_wave_apparent_max, fundamental_wave_apparent_min,
fundamental_wave_apparent_avg, fundamental_wave_apparent_95, nonfundamental_wave_rateo_max,
nonfundamental_wave_rateo_min, nonfundamental_wave_rateo_avg, nonfundamental_wave_rateo_95,
unbalanced_apparent_power_max, unbalanced_apparent_power_min, unbalanced_apparent_power_avg,
unbalanced_apparent_power_95
</sql>
</mapper>

View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.njcn.prepare.harmonic.mapper.line.RMpPltReportDPOMapper">
<resultMap id="BaseResultMap" type="com.njcn.prepare.harmonic.pojo.po.line.RMpPltReportDPO">
<!--@mbg.generated-->
<!--@Table r_mp_plt_report_d-->
<id column="measurement_point_id" jdbcType="VARCHAR" property="measurementPointId" />
<id column="data_date" jdbcType="DATE" property="dataDate" />
<id column="phase" jdbcType="VARCHAR" property="phase" />
<result column="long_time_flashing_max" jdbcType="FLOAT" property="longTimeFlashingMax" />
<result column="long_time_flashing_min" jdbcType="FLOAT" property="longTimeFlashingMin" />
<result column="long_time_flashing_avg" jdbcType="FLOAT" property="longTimeFlashingAvg" />
<result column="long_time_flashing_95" jdbcType="FLOAT" property="longTimeFlashing95" />
</resultMap>
<sql id="Base_Column_List">
<!--@mbg.generated-->
measurement_point_id, data_date, phase, long_time_flashing_max, long_time_flashing_min,
long_time_flashing_avg, long_time_flashing_95
</sql>
</mapper>

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.njcn.prepare.harmonic.mapper.line.RMpPollutionDMapper">
<insert id="insertPollution">
INSERT INTO r_mp_pollution_d ( line_Id, data_date, freq_dev, v_dev, v_unbalance,
v_all, plt, i_all, i_neg, v_inharm) VALUES
( #{item.lineId}, #{item.dataDate}, #{item.freqDev}, #{item.vDev}, #{item.vUnbalance},
#{item.vAll}, #{item.plt}, #{item.iAll}, #{item.iNeg}, #{item.vInharm} )
ON DUPLICATE KEY UPDATE freq_dev = #{item.freqDev}, v_dev = #{item.vDev}, v_unbalance = #{item.vUnbalance},
v_all = #{item.vAll}, plt = #{item.plt}, i_all = #{item.iAll}, i_neg = #{item.iNeg}, v_inharm = #{item.vInharm}
</insert>
</mapper>

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.njcn.prepare.harmonic.mapper.line.RStatPollutionOrgDMapper">
<insert id="insertPollution">
INSERT INTO r_stat_pollution_org_d ( org_id, data_date, pollution_type, `value`) VALUES
( #{item.orgId}, #{item.dataDate}, #{item.pollutionType}, #{item.value} )
ON DUPLICATE KEY UPDATE `value` = #{item.value}
</insert>
</mapper>

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.njcn.prepare.harmonic.mapper.line.RStatPollutionOrgMMapper">
<insert id="insertPollution">
INSERT INTO r_stat_pollution_org_m ( org_id, data_date, pollution_type, `value`) VALUES
( #{item.orgId}, #{item.dataDate}, #{item.pollutionType}, #{item.value} )
ON DUPLICATE KEY UPDATE `value` = #{item.value}
</insert>
</mapper>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.njcn.prepare.harmonic.mapper.line.RStatPollutionOrgQMapper">
<insert id="insertPollution">
INSERT INTO r_stat_pollution_org_q ( org_id, data_date, pollution_type, `value`) VALUES
( #{item.orgId}, #{item.dataDate}, #{item.pollutionType}, #{item.value} )
ON DUPLICATE KEY UPDATE `value` = #{item.value}
</insert>
</mapper>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.njcn.prepare.harmonic.mapper.line.RStatPollutionOrgYMapper">
<insert id="insertPollution">
INSERT INTO r_stat_pollution_org_y ( org_id, data_date, pollution_type, `value`) VALUES
( #{item.orgId}, #{item.dataDate}, #{item.pollutionType}, #{item.value} )
ON DUPLICATE KEY UPDATE `value` = #{item.value}
</insert>
</mapper>

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.njcn.prepare.harmonic.mapper.line.RStatPollutionSubstationDMapper">
<insert id="insertPollution">
INSERT INTO r_stat_pollution_substation_d ( substation_id, data_date, pollution_type, `value`) VALUES
( #{item.substationId}, #{item.dataDate}, #{item.pollutionType}, #{item.value} )
ON DUPLICATE KEY UPDATE `value` = #{item.value}
</insert>
</mapper>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.njcn.prepare.harmonic.mapper.line.RStatPollutionSubstationMMapper">
<insert id="insertPollution">
INSERT INTO r_stat_pollution_substation_m ( substation_id, data_date, pollution_type, `value`) VALUES
( #{item.substationId}, #{item.dataDate}, #{item.pollutionType}, #{item.value} )
ON DUPLICATE KEY UPDATE `value` = #{item.value}
</insert>
</mapper>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.njcn.prepare.harmonic.mapper.line.RStatPollutionSubstationQMapper">
<insert id="insertPollution">
INSERT INTO r_stat_pollution_substation_q ( substation_id, data_date, pollution_type, `value`) VALUES
( #{item.substationId}, #{item.dataDate}, #{item.pollutionType}, #{item.value} )
ON DUPLICATE KEY UPDATE `value` = #{item.value}
</insert>
</mapper>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.njcn.prepare.harmonic.mapper.line.RStatPollutionSubstationYMapper">
<insert id="insertPollution">
INSERT INTO r_stat_pollution_substation_y ( substation_id, data_date, pollution_type, `value`) VALUES
( #{item.substationId}, #{item.dataDate}, #{item.pollutionType}, #{item.value} )
ON DUPLICATE KEY UPDATE `value` = #{item.value}
</insert>
</mapper>

View File

@@ -0,0 +1,9 @@
package com.njcn.prepare.harmonic.mapper.substion;
/**
* @author denghuajun
* @version 1.0.0
* @date 2022年10月17日 20:16
*/
public interface subMapper {
}

View File

@@ -0,0 +1,9 @@
package com.njcn.prepare.harmonic.mapper.voltage;
/**
* @author denghuajun
* @version 1.0.0
* @date 2022年10月17日 20:16
*/
public interface VoltageMapper {
}

View File

@@ -0,0 +1,9 @@
package com.njcn.prepare.harmonic.pojo.dto;
/**
* @author denghuajun
* @version 1.0.0
* @date 2022年10月17日 20:17
*/
public class LineDTO {
}

View File

@@ -0,0 +1,18 @@
package com.njcn.prepare.harmonic.pojo.dto;
import lombok.Data;
/**
* @author xiaoyao
* @version 1.0.0
* @createTime 2022/10/27 10:56
*/
@Data
public class OnLineRateDTO {
private Integer onLineMinute;
private Integer offLineMinute;
private Double rate = 0.0;
}

View File

@@ -0,0 +1,54 @@
package com.njcn.prepare.harmonic.pojo.dto;
import lombok.Data;
@Data
public class PollutionDTO {
/**
* 监测点id
*/
private String lineId;
/**
* 频率偏差污染值
*/
private Double freqDev = 0.0;
/**
* 电压偏差污染值
*/
private Double vDev = 0.0;
/**
* 三相电压不平衡度污染值
*/
private Double vUnbalance = 0.0;
/**
* 谐波电压污染值
*/
private Double vAll = 0.0;
/**
* 长时电压闪变污染值
*/
private Double plt = 0.0;
/**
* 谐波电流污染值
*/
private Double iAll = 0.0;
/**
* 负序电流污染值
*/
private Double iNeg = 0.0;
/**
* 间谐波电压含有率污染值
*/
private Double vInharm = 0.0;
}

View File

@@ -0,0 +1,30 @@
package com.njcn.prepare.harmonic.pojo.param;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;
import java.util.List;
/**
* Description:
* 接口文档访问地址http://serverIP:port/swagger-ui.html
* Date: 2022/10/19 11:41【需求编号】
*
* @author clam
* @version V1.0.0
*/
@Data
@ApiOperation ("LimitRateHanlderParam")
public class LimitRateHanlderParam {
@ApiModelProperty(name = "lineIds",value = "监测点索引集合")
private List<String> lineIds;
@ApiModelProperty(name = "startTime",value = "处理数据开始时间")
private String startTime;
@ApiModelProperty(name = "endTime",value = "处理数据结束时间")
private String endTime;
}

View File

@@ -0,0 +1,29 @@
package com.njcn.prepare.harmonic.pojo.param;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;
/**
* @author qijian
* Date: 2022/10/20 11:41
* @version V1.0.0
*/
@Data
public class LineParam {
@ApiModelProperty(name = "lineIds",value = "监测点索引集合")
private List<String> lineIds;
@ApiModelProperty(name = "type",value = "报表类型")
@NotNull(message = "报表类型不可为空")
private Integer type;
@ApiModelProperty(name = "dataDate",value = "报表时间")
@NotBlank(message = "报表时间不可为空")
private String dataDate;
}

View File

@@ -0,0 +1,245 @@
package com.njcn.prepare.harmonic.pojo.po;
import cn.hutool.core.date.DateTime;
import lombok.Data;
import org.influxdb.annotation.Column;
import org.influxdb.annotation.Measurement;
import java.time.Instant;
/**
* 告警数据表
*
* @author denghuajun
* @version 1.0.0
* @date 2022/10/18 10:20
*/
@Data
@Measurement(name = "r_mp_surplus_abnormal_d")
public class AbnormalPO {
@Column(name = "Time_Id")
private DateTime timeId;
@Column(name = "Id")
private String id;
@Column(name = "Phasic_Type")
private String phasicType;
@Column(name="Value_Type")
private String valueType;
@Column(name = "Voltage_Dev")
private Float voltageDev;
@Column(name = "Uvoltage_Dev")
private Float uvoltageDev;
@Column(name = "Flicker")
private Float flickerAllTime;
@Column(name = "Freq")
private Float freqDev;
@Column(name = "Ubalance")
private Float uBalance;
@Column(name = "Uaberrance")
private Float uAberrance;
@Column(name = "I_Neg")
private Float iNeg;
@Column(name = "Uharm_2")
private Float uHarm2;
@Column(name = "Uharm_3")
private Float uHarm3;
@Column(name = "Uharm_4")
private Float uHarm4;
@Column(name = "Uharm_5")
private Float uHarm5;
@Column(name = "Uharm_6")
private Float uHarm6;
@Column(name = "Uharm_7")
private Float uHarm7;
@Column(name = "Uharm_8")
private Float uHarm8;
@Column(name = "Uharm_9")
private Float uHarm9;
@Column(name = "Uharm_10")
private Float uHarm10;
@Column(name = "Uharm_11")
private Float uHarm11;
@Column(name = "Uharm_12")
private Float uHarm12;
@Column(name = "Uharm_13")
private Float uHarm13;
@Column(name = "Uharm_14")
private Float uHarm14;
@Column(name = "Uharm_15")
private Float uHarm15;
@Column(name = "Uharm_16")
private Float uHarm16;
@Column(name = "Uharm_17")
private Float uHarm17;
@Column(name = "Uharm_18")
private Float uHarm18;
@Column(name = "Uharm_19")
private Float uHarm19;
@Column(name = "Uharm_20")
private Float uHarm20;
@Column(name = "Uharm_21")
private Float uHarm21;
@Column(name = "Uharm_22")
private Float uHarm22;
@Column(name = "Uharm_23")
private Float uHarm23;
@Column(name = "Uharm_24")
private Float uHarm24;
@Column(name = "Uharm_25")
private Float uHarm25;
@Column(name = "Iharm_2")
private Float iHarm2;
@Column(name = "Iharm_3")
private Float iHarm3;
@Column(name = "Iharm_4")
private Float iHarm4;
@Column(name = "Iharm_5")
private Float iHarm5;
@Column(name = "Iharm_6")
private Float iHarm6;
@Column(name = "Iharm_7")
private Float iHarm7;
@Column(name = "Iharm_8")
private Float iHarm8;
@Column(name = "Iharm_9")
private Float iHarm9;
@Column(name = "Iharm_10")
private Float iHarm10;
@Column(name = "Iharm_11")
private Float iHarm11;
@Column(name = "Iharm_12")
private Float iHarm12;
@Column(name = "Iharm_13")
private Float iHarm13;
@Column(name = "Iharm_14")
private Float iHarm14;
@Column(name = "Iharm_15")
private Float iHarm15;
@Column(name = "Iharm_16")
private Float iHarm16;
@Column(name = "Iharm_17")
private Float iHarm17;
@Column(name = "Iharm_18")
private Float iHarm18;
@Column(name = "Iharm_19")
private Float iHarm19;
@Column(name = "Iharm_20")
private Float iHarm20;
@Column(name = "Iharm_21")
private Float iHarm21;
@Column(name = "Iharm_22")
private Float iHarm22;
@Column(name = "Iharm_23")
private Float iHarm23;
@Column(name = "Iharm_24")
private Float iHarm24;
@Column(name = "Iharm_25")
private Float iHarm25;
@Column(name = "Inuharm_1")
private Float inuHarm1;
@Column(name = "Inuharm_2")
private Float inuHarm2;
@Column(name = "Inuharm_3")
private Float inuHarm3;
@Column(name = "Inuharm_4")
private Float inuHarm4;
@Column(name = "Inuharm_5")
private Float inuHarm5;
@Column(name = "Inuharm_6")
private Float inuHarm6;
@Column(name = "Inuharm_7")
private Float inuHarm7;
@Column(name = "Inuharm_8")
private Float inuHarm8;
@Column(name = "Inuharm_9")
private Float inuHarm9;
@Column(name = "Inuharm_10")
private Float inuHarm10;
@Column(name = "Inuharm_11")
private Float inuHarm11;
@Column(name = "Inuharm_12")
private Float inuHarm12;
@Column(name = "Inuharm_13")
private Float inuHarm13;
@Column(name = "Inuharm_14")
private Float inuHarm14;
@Column(name = "Inuharm_15")
private Float inuHarm15;
@Column(name = "Inuharm_16")
private Float inuHarm16;
}

View File

@@ -0,0 +1,43 @@
package com.njcn.prepare.harmonic.pojo.po;
import lombok.Data;
import org.influxdb.annotation.Column;
import org.influxdb.annotation.Measurement;
import java.time.Instant;
/**
* 类的介绍:
*
* @author xuyang
* @version 1.0.0
* @createTime 2022/5/11 16:08
*/
@Data
@Measurement(name = "data_flicker")
public class DataFlickerPO {
@Column(name = "time")
private Instant time;
@Column(name = "line_id")
private String lineId;
@Column(name = "phasic_type")
private String phaseType;
@Column(name = "quality_flag")
private String qualityFlag;
@Column(name = "value_type")
private String valueType;
@Column(name = "fluc")
private Double fluc;
@Column(name = "plt")
private Double plt;
@Column(name = "pst")
private Double pst;
}

View File

@@ -0,0 +1,41 @@
package com.njcn.prepare.harmonic.pojo.po;
import lombok.Data;
import org.influxdb.annotation.Column;
import org.influxdb.annotation.Measurement;
import java.time.Instant;
/**
* 类的介绍:
*
* @author xuyang
* @version 1.0.0
* @createTime 2022/5/11 16:33
*/
@Data
@Measurement(name = "data_fluc")
public class DataFlucPO {
@Column(name = "time")
private Instant time;
@Column(name = "line_id")
private String lineId;
@Column(name = "phasic_type")
private String phaseType;
@Column(name = "quality_flag")
private String qualityFlag;
@Column(name = "value_type")
private String valueType;
@Column(name = "fluc")
private Double fluc;
@Column(name = "fluccf")
private Double fluccf;
}

View File

@@ -0,0 +1,185 @@
package com.njcn.prepare.harmonic.pojo.po;
import lombok.Data;
import org.influxdb.annotation.Column;
import org.influxdb.annotation.Measurement;
import java.time.Instant;
/**
* 类的介绍:
*
* @author xuyang
* @version 1.0.0
* @createTime 2022/5/12 9:13
*/
@Data
@Measurement(name = "data_harmphasic_i")
public class DataHarmPhasicIPO {
@Column(name = "time")
private Instant time;
@Column(name = "line_id")
private String lineId;
@Column(name = "phasic_type")
private String phaseType;
@Column(name = "quality_flag")
private String qualityFlag;
@Column(name = "value_type")
private String valueType;
@Column(name = "i_1")
private Double i1;
@Column(name = "i_2")
private Double i2;
@Column(name = "i_3")
private Double i3;
@Column(name = "i_4")
private Double i4;
@Column(name = "i_5")
private Double i5;
@Column(name = "i_6")
private Double i6;
@Column(name = "i_7")
private Double i7;
@Column(name = "i_8")
private Double i8;
@Column(name = "i_9")
private Double i9;
@Column(name = "i_10")
private Double i10;
@Column(name = "i_11")
private Double i11;
@Column(name = "i_12")
private Double i12;
@Column(name = "i_13")
private Double i13;
@Column(name = "i_14")
private Double i14;
@Column(name = "i_15")
private Double i15;
@Column(name = "i_16")
private Double i16;
@Column(name = "i_17")
private Double i17;
@Column(name = "i_18")
private Double i18;
@Column(name = "i_19")
private Double i19;
@Column(name = "i_20")
private Double i20;
@Column(name = "i_21")
private Double i21;
@Column(name = "i_22")
private Double i22;
@Column(name = "i_23")
private Double i23;
@Column(name = "i_24")
private Double i24;
@Column(name = "i_25")
private Double i25;
@Column(name = "i_26")
private Double i26;
@Column(name = "i_27")
private Double i27;
@Column(name = "i_28")
private Double i28;
@Column(name = "i_29")
private Double i29;
@Column(name = "i_30")
private Double i30;
@Column(name = "i_31")
private Double i31;
@Column(name = "i_32")
private Double i32;
@Column(name = "i_33")
private Double i33;
@Column(name = "i_34")
private Double i34;
@Column(name = "i_35")
private Double i35;
@Column(name = "i_36")
private Double i36;
@Column(name = "i_37")
private Double i37;
@Column(name = "i_38")
private Double i38;
@Column(name = "i_39")
private Double i39;
@Column(name = "i_40")
private Double i40;
@Column(name = "i_41")
private Double i41;
@Column(name = "i_42")
private Double i42;
@Column(name = "i_43")
private Double i43;
@Column(name = "i_44")
private Double i44;
@Column(name = "i_45")
private Double i45;
@Column(name = "i_46")
private Double i46;
@Column(name = "i_47")
private Double i47;
@Column(name = "i_48")
private Double i48;
@Column(name = "i_49")
private Double i49;
@Column(name = "i_50")
private Double i50;
}

View File

@@ -0,0 +1,185 @@
package com.njcn.prepare.harmonic.pojo.po;
import lombok.Data;
import org.influxdb.annotation.Column;
import org.influxdb.annotation.Measurement;
import java.time.Instant;
/**
* 类的介绍:
*
* @author xuyang
* @version 1.0.0
* @createTime 2022/5/12 9:13
*/
@Data
@Measurement(name = "data_harmphasic_v")
public class DataHarmPhasicVPO {
@Column(name = "time")
private Instant time;
@Column(name = "line_id")
private String lineId;
@Column(name = "phasic_type")
private String phaseType;
@Column(name = "quality_flag")
private String qualityFlag;
@Column(name = "value_type")
private String valueType;
@Column(name = "v_1")
private Double v1;
@Column(name = "v_2")
private Double v2;
@Column(name = "v_3")
private Double v3;
@Column(name = "v_4")
private Double v4;
@Column(name = "v_5")
private Double v5;
@Column(name = "v_6")
private Double v6;
@Column(name = "v_7")
private Double v7;
@Column(name = "v_8")
private Double v8;
@Column(name = "v_9")
private Double v9;
@Column(name = "v_10")
private Double v10;
@Column(name = "v_11")
private Double v11;
@Column(name = "v_12")
private Double v12;
@Column(name = "v_13")
private Double v13;
@Column(name = "v_14")
private Double v14;
@Column(name = "v_15")
private Double v15;
@Column(name = "v_16")
private Double v16;
@Column(name = "v_17")
private Double v17;
@Column(name = "v_18")
private Double v18;
@Column(name = "v_19")
private Double v19;
@Column(name = "v_20")
private Double v20;
@Column(name = "v_21")
private Double v21;
@Column(name = "v_22")
private Double v22;
@Column(name = "v_23")
private Double v23;
@Column(name = "v_24")
private Double v24;
@Column(name = "v_25")
private Double v25;
@Column(name = "v_26")
private Double v26;
@Column(name = "v_27")
private Double v27;
@Column(name = "v_28")
private Double v28;
@Column(name = "v_29")
private Double v29;
@Column(name = "v_30")
private Double v30;
@Column(name = "v_31")
private Double v31;
@Column(name = "v_32")
private Double v32;
@Column(name = "v_33")
private Double v33;
@Column(name = "v_34")
private Double v34;
@Column(name = "v_35")
private Double v35;
@Column(name = "v_36")
private Double v36;
@Column(name = "v_37")
private Double v37;
@Column(name = "v_38")
private Double v38;
@Column(name = "v_39")
private Double v39;
@Column(name = "v_40")
private Double v40;
@Column(name = "v_41")
private Double v41;
@Column(name = "v_42")
private Double v42;
@Column(name = "v_43")
private Double v43;
@Column(name = "v_44")
private Double v44;
@Column(name = "v_45")
private Double v45;
@Column(name = "v_46")
private Double v46;
@Column(name = "v_47")
private Double v47;
@Column(name = "v_48")
private Double v48;
@Column(name = "v_49")
private Double v49;
@Column(name = "v_50")
private Double v50;
}

View File

@@ -0,0 +1,193 @@
package com.njcn.prepare.harmonic.pojo.po;
import lombok.Data;
import org.influxdb.annotation.Column;
import org.influxdb.annotation.Measurement;
import java.time.Instant;
/**
* 类的介绍:
*
* @author xuyang
* @version 1.0.0
* @createTime 2022/5/12 9:13
*/
@Data
@Measurement(name = "data_harmpower_p")
public class DataHarmPowerPPO {
@Column(name = "time")
private Instant time;
@Column(name = "line_id")
private String lineId;
@Column(name = "phasic_type")
private String phaseType;
@Column(name = "quality_flag")
private String qualityFlag;
@Column(name = "value_type")
private String valueType;
@Column(name = "df")
private Double df;
@Column(name = "pf")
private Double pf;
@Column(name = "p")
private Double p;
@Column(name = "p_1")
private Double p1;
@Column(name = "p_2")
private Double p2;
@Column(name = "p_3")
private Double p3;
@Column(name = "p_4")
private Double p4;
@Column(name = "p_5")
private Double p5;
@Column(name = "p_6")
private Double p6;
@Column(name = "p_7")
private Double p7;
@Column(name = "p_8")
private Double p8;
@Column(name = "p_9")
private Double p9;
@Column(name = "p_10")
private Double p10;
@Column(name = "p_11")
private Double p11;
@Column(name = "p_12")
private Double p12;
@Column(name = "p_13")
private Double p13;
@Column(name = "p_14")
private Double p14;
@Column(name = "p_15")
private Double p15;
@Column(name = "p_16")
private Double p16;
@Column(name = "p_17")
private Double p17;
@Column(name = "p_18")
private Double p18;
@Column(name = "p_19")
private Double p19;
@Column(name = "p_20")
private Double p20;
@Column(name = "p_21")
private Double p21;
@Column(name = "p_22")
private Double p22;
@Column(name = "p_23")
private Double p23;
@Column(name = "p_24")
private Double p24;
@Column(name = "p_25")
private Double p25;
@Column(name = "p_26")
private Double p26;
@Column(name = "p_27")
private Double p27;
@Column(name = "p_28")
private Double p28;
@Column(name = "p_29")
private Double p29;
@Column(name = "p_30")
private Double p30;
@Column(name = "p_31")
private Double p31;
@Column(name = "p_32")
private Double p32;
@Column(name = "p_33")
private Double p33;
@Column(name = "p_34")
private Double p34;
@Column(name = "p_35")
private Double p35;
@Column(name = "p_36")
private Double p36;
@Column(name = "p_37")
private Double p37;
@Column(name = "p_38")
private Double p38;
@Column(name = "p_39")
private Double p39;
@Column(name = "p_40")
private Double p40;
@Column(name = "p_41")
private Double p41;
@Column(name = "p_42")
private Double p42;
@Column(name = "p_43")
private Double p43;
@Column(name = "p_44")
private Double p44;
@Column(name = "p_45")
private Double p45;
@Column(name = "p_46")
private Double p46;
@Column(name = "p_47")
private Double p47;
@Column(name = "p_48")
private Double p48;
@Column(name = "p_49")
private Double p49;
@Column(name = "p_50")
private Double p50;
}

View File

@@ -0,0 +1,188 @@
package com.njcn.prepare.harmonic.pojo.po;
import lombok.Data;
import org.influxdb.annotation.Column;
import org.influxdb.annotation.Measurement;
import java.time.Instant;
/**
* 类的介绍:
*
* @author xuyang
* @version 1.0.0
* @createTime 2022/5/12 9:13
*/
@Data
@Measurement(name = "data_harmpower_q")
public class DataHarmPowerQPO {
@Column(name = "time")
private Instant time;
@Column(name = "line_id")
private String lineId;
@Column(name = "phasic_type")
private String phaseType;
@Column(name = "quality_flag")
private String qualityFlag;
@Column(name = "value_type")
private String valueType;
@Column(name = "q")
private Double q;
@Column(name = "q_1")
private Double q1;
@Column(name = "q_2")
private Double q2;
@Column(name = "q_3")
private Double q3;
@Column(name = "q_4")
private Double q4;
@Column(name = "q_5")
private Double q5;
@Column(name = "q_6")
private Double q6;
@Column(name = "q_7")
private Double q7;
@Column(name = "q_8")
private Double q8;
@Column(name = "q_9")
private Double q9;
@Column(name = "q_10")
private Double q10;
@Column(name = "q_11")
private Double q11;
@Column(name = "q_12")
private Double q12;
@Column(name = "q_13")
private Double q13;
@Column(name = "q_14")
private Double q14;
@Column(name = "q_15")
private Double q15;
@Column(name = "q_16")
private Double q16;
@Column(name = "q_17")
private Double q17;
@Column(name = "q_18")
private Double q18;
@Column(name = "q_19")
private Double q19;
@Column(name = "q_20")
private Double q20;
@Column(name = "q_21")
private Double q21;
@Column(name = "q_22")
private Double q22;
@Column(name = "q_23")
private Double q23;
@Column(name = "q_24")
private Double q24;
@Column(name = "q_25")
private Double q25;
@Column(name = "q_26")
private Double q26;
@Column(name = "q_27")
private Double q27;
@Column(name = "q_28")
private Double q28;
@Column(name = "q_29")
private Double q29;
@Column(name = "q_30")
private Double q30;
@Column(name = "q_31")
private Double q31;
@Column(name = "q_32")
private Double q32;
@Column(name = "q_33")
private Double q33;
@Column(name = "q_34")
private Double q34;
@Column(name = "q_35")
private Double q35;
@Column(name = "q_36")
private Double q36;
@Column(name = "q_37")
private Double q37;
@Column(name = "q_38")
private Double q38;
@Column(name = "q_39")
private Double q39;
@Column(name = "q_40")
private Double q40;
@Column(name = "q_41")
private Double q41;
@Column(name = "q_42")
private Double q42;
@Column(name = "q_43")
private Double q43;
@Column(name = "q_44")
private Double q44;
@Column(name = "q_45")
private Double q45;
@Column(name = "q_46")
private Double q46;
@Column(name = "q_47")
private Double q47;
@Column(name = "q_48")
private Double q48;
@Column(name = "q_49")
private Double q49;
@Column(name = "q_50")
private Double q50;
}

View File

@@ -0,0 +1,188 @@
package com.njcn.prepare.harmonic.pojo.po;
import lombok.Data;
import org.influxdb.annotation.Column;
import org.influxdb.annotation.Measurement;
import java.time.Instant;
/**
* 类的介绍:
*
* @author xuyang
* @version 1.0.0
* @createTime 2022/5/12 9:13
*/
@Data
@Measurement(name = "data_harmpower_s")
public class DataHarmPowerSPO {
@Column(name = "time")
private Instant time;
@Column(name = "line_id")
private String lineId;
@Column(name = "phasic_type")
private String phaseType;
@Column(name = "quality_flag")
private String qualityFlag;
@Column(name = "value_type")
private String valueType;
@Column(name = "s")
private Double s;
@Column(name = "s_1")
private Double s1;
@Column(name = "s_2")
private Double s2;
@Column(name = "s_3")
private Double s3;
@Column(name = "s_4")
private Double s4;
@Column(name = "s_5")
private Double s5;
@Column(name = "s_6")
private Double s6;
@Column(name = "s_7")
private Double s7;
@Column(name = "s_8")
private Double s8;
@Column(name = "s_9")
private Double s9;
@Column(name = "s_10")
private Double s10;
@Column(name = "s_11")
private Double s11;
@Column(name = "s_12")
private Double s12;
@Column(name = "s_13")
private Double s13;
@Column(name = "s_14")
private Double s14;
@Column(name = "s_15")
private Double s15;
@Column(name = "s_16")
private Double s16;
@Column(name = "s_17")
private Double s17;
@Column(name = "s_18")
private Double s18;
@Column(name = "s_19")
private Double s19;
@Column(name = "s_20")
private Double s20;
@Column(name = "s_21")
private Double s21;
@Column(name = "s_22")
private Double s22;
@Column(name = "s_23")
private Double s23;
@Column(name = "s_24")
private Double s24;
@Column(name = "s_25")
private Double s25;
@Column(name = "s_26")
private Double s26;
@Column(name = "s_27")
private Double s27;
@Column(name = "s_28")
private Double s28;
@Column(name = "s_29")
private Double s29;
@Column(name = "s_30")
private Double s30;
@Column(name = "s_31")
private Double s31;
@Column(name = "s_32")
private Double s32;
@Column(name = "s_33")
private Double s33;
@Column(name = "s_34")
private Double s34;
@Column(name = "s_35")
private Double s35;
@Column(name = "s_36")
private Double s36;
@Column(name = "s_37")
private Double s37;
@Column(name = "s_38")
private Double s38;
@Column(name = "s_39")
private Double s39;
@Column(name = "s_40")
private Double s40;
@Column(name = "s_41")
private Double s41;
@Column(name = "s_42")
private Double s42;
@Column(name = "s_43")
private Double s43;
@Column(name = "s_44")
private Double s44;
@Column(name = "s_45")
private Double s45;
@Column(name = "s_46")
private Double s46;
@Column(name = "s_47")
private Double s47;
@Column(name = "s_48")
private Double s48;
@Column(name = "s_49")
private Double s49;
@Column(name = "s_50")
private Double s50;
}

Some files were not shown because too many files have changed in this diff Show More