报表功能开发
This commit is contained in:
@@ -5,6 +5,7 @@ import org.mybatis.spring.annotation.MapperScan;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.cloud.openfeign.EnableFeignClients;
|
||||
import org.springframework.context.annotation.DependsOn;
|
||||
|
||||
|
||||
/**
|
||||
@@ -13,6 +14,7 @@ import org.springframework.cloud.openfeign.EnableFeignClients;
|
||||
* @date 2021年12月09日 20:59
|
||||
*/
|
||||
@Slf4j
|
||||
@DependsOn("proxyMapperRegister")
|
||||
@MapperScan("com.njcn.**.mapper")
|
||||
@EnableFeignClients(basePackages = "com.njcn")
|
||||
@SpringBootApplication(scanBasePackages = "com.njcn")
|
||||
|
||||
@@ -0,0 +1,335 @@
|
||||
package com.njcn.csreport.controller;
|
||||
|
||||
|
||||
import cn.hutool.extra.spring.SpringUtil;
|
||||
import com.github.jeffreyning.mybatisplus.service.IMppService;
|
||||
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.csdevice.api.CsLedgerFeignClient;
|
||||
import com.njcn.csdevice.pojo.dto.LineParamDTO;
|
||||
import com.njcn.csdevice.pojo.po.CsLedger;
|
||||
import com.njcn.csreport.enums.ReportTableEnum;
|
||||
import com.njcn.csreport.pojo.po.RStatDataVD;
|
||||
import com.njcn.csreport.service.RStatDataVDService;
|
||||
import com.njcn.influx.imapper.day.ReportMapper;
|
||||
|
||||
import com.njcn.influx.pojo.constant.InfluxDBTableConstant;
|
||||
import com.njcn.influx.pojo.po.cs.PqdData;
|
||||
import com.njcn.influx.query.InfluxQueryWrapper;
|
||||
import com.njcn.system.api.DicDataFeignClient;
|
||||
import com.njcn.system.api.EpdFeignClient;
|
||||
import com.njcn.system.enums.DicDataEnum;
|
||||
import com.njcn.system.pojo.po.DictData;
|
||||
import com.njcn.system.pojo.po.EleEpdPqd;
|
||||
import com.njcn.system.pojo.vo.EleEpdPqdListVO;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import java.lang.reflect.Field;
|
||||
import java.time.LocalDate;
|
||||
import java.time.LocalDateTime;
|
||||
import java.time.format.DateTimeFormatter;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Objects;
|
||||
import java.util.stream.Collectors;
|
||||
import java.util.stream.Stream;
|
||||
|
||||
/**
|
||||
* Description:
|
||||
* Date: 2024/9/12 10:24【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
@Slf4j
|
||||
@RestController
|
||||
@RequestMapping("/test")
|
||||
@Api(tags = "测试")
|
||||
@AllArgsConstructor
|
||||
public class TestController {
|
||||
private final CsLedgerFeignClient csLedgerFeignClient;
|
||||
private final DicDataFeignClient dicDataFeignClient;
|
||||
private final EpdFeignClient epdFeignClient;
|
||||
private final ReportMapper reportMapper;
|
||||
private final RStatDataVDService rStatDataVDService;
|
||||
|
||||
private final static String SERVICE_PACKAGE_PREFIX = "com.njcn.csreport.service.";
|
||||
private final static String ENTITY_PACKAGE_PREFIX = "com.njcn.csreport.pojo.po.";
|
||||
private final static String SERVICE_SUFFIX = "Service";
|
||||
|
||||
@OperateInfo(info = LogEnum.BUSINESS_COMMON)
|
||||
@GetMapping("/test")
|
||||
@ApiOperation("报表测试")
|
||||
public HttpResult<Integer> queryEvent() throws ClassNotFoundException {
|
||||
|
||||
// 获取当前日期
|
||||
LocalDate today = LocalDate.now().minusDays(3);
|
||||
// 计算前一天的日期
|
||||
LocalDate yesterday = today.minusDays(1);
|
||||
// 获取前一天的开始时间(00:00:00)
|
||||
LocalDateTime startOfYesterday = yesterday.atStartOfDay();
|
||||
// 获取前一天的结束时间(23:59:59)
|
||||
LocalDateTime endOfYesterday = yesterday.plusDays(1).atStartOfDay().minusSeconds(1);
|
||||
|
||||
// 定义时间格式
|
||||
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");
|
||||
|
||||
// 格式化时间为字符串
|
||||
String startTime = startOfYesterday.format(formatter);
|
||||
String endTime = endOfYesterday.format(formatter);
|
||||
// String startTime ="2024-07-31 00:00:00";
|
||||
// String endTime ="2024-09-20 23:00:00";
|
||||
List<CsLedger> data = csLedgerFeignClient.queryLine(new LineParamDTO()).getData();
|
||||
List<String> lineIndex = data.stream().map(CsLedger::getId).collect(Collectors.toList());
|
||||
// List<String> lineIndex = Stream.of("00B78D016AB32","00B78D016AB51").collect(Collectors.toList());
|
||||
|
||||
//查询电能质量数据指标
|
||||
DictData pqd = dicDataFeignClient.getDicDataByCode(DicDataEnum.PQD.getCode()).getData();
|
||||
List<DictData> tableNameList = dicDataFeignClient.getDicDataByTypeCode("Data_Day").getData();
|
||||
Map<String, String> tableMap = tableNameList.stream().collect(Collectors.toMap(DictData::getId, DictData::getCode, (code, code2) -> code));
|
||||
|
||||
|
||||
List<EleEpdPqdListVO> eleEpdPqdListVOList = epdFeignClient.selectAll().getData();
|
||||
EleEpdPqdListVO eleEpdPqdListVO = eleEpdPqdListVOList.stream().filter(temp -> Objects.equals(temp.getDataType(), pqd.getId())).collect(Collectors.toList()).get(0);
|
||||
|
||||
|
||||
Map<String, List<EleEpdPqd>> eleEpdMap = eleEpdPqdListVO.getEleEpdPqdVOS().stream().filter(temp -> StringUtils.isNotEmpty(temp.getOtherName())
|
||||
&& StringUtils.isNotEmpty(temp.getResourcesId()))
|
||||
.collect(Collectors.groupingBy(EleEpdPqd::getResourcesId));//不能全表表分组查,根据映射的
|
||||
|
||||
for (Map.Entry<String, List<EleEpdPqd>> entry : eleEpdMap.entrySet()) {
|
||||
String k = entry.getKey();
|
||||
List<EleEpdPqd> v = entry.getValue();
|
||||
String tableName = tableMap.get(k);
|
||||
List result = new ArrayList<>();
|
||||
Class clazz = Class.forName(ENTITY_PACKAGE_PREFIX + ReportTableEnum.getEntityName(tableName));
|
||||
IMppService bean = (IMppService) SpringUtil.getBean(Class.forName(SERVICE_PACKAGE_PREFIX+ReportTableEnum.getEntityName(tableName)+SERVICE_SUFFIX));
|
||||
|
||||
//由于epd配置表A,B,C三项对应指标一样,这里做去重处理,由于功率表功率,和三项总功率都对应P只是项别不一一样因此,M相要和,A,B,C相分开计算
|
||||
Map<String, Map<String, List<EleEpdPqd>>> collect = v.stream().collect(Collectors.groupingBy(EleEpdPqd::getPhase, Collectors.groupingBy(EleEpdPqd::getName)));
|
||||
|
||||
collect.forEach((tempPhase,byNameMap)->{
|
||||
//最小值
|
||||
InfluxQueryWrapper influxQueryWrapperMin = new InfluxQueryWrapper(PqdData.class, clazz);
|
||||
influxQueryWrapperMin.regular(PqdData::getLineId, lineIndex).eq(InfluxDBTableConstant.VALUE_TYPE, "min").eq(InfluxDBTableConstant.PHASIC_TYPE,tempPhase).eq(InfluxDBTableConstant.IS_ABNORMAL, 0);
|
||||
|
||||
|
||||
byNameMap.forEach((name, eleEpdPqdList) -> {
|
||||
EleEpdPqd tempEleEpdPqd = eleEpdPqdList.get(0);
|
||||
if (Objects.nonNull(tempEleEpdPqd.getHarmStart()) && Objects.nonNull(tempEleEpdPqd.getHarmEnd())) {
|
||||
//0-49转成1-50
|
||||
if(tempEleEpdPqd.getHarmStart()==0){
|
||||
tempEleEpdPqd.setHarmStart(tempEleEpdPqd.getHarmStart()+1);
|
||||
tempEleEpdPqd.setHarmEnd(tempEleEpdPqd.getHarmEnd()+1);
|
||||
}
|
||||
for (int i = tempEleEpdPqd.getHarmStart(); i < tempEleEpdPqd.getHarmEnd() + 1; i++) {
|
||||
influxQueryWrapperMin.min(tempEleEpdPqd.getName() + "_" + i, tempEleEpdPqd.getOtherName() + "_" + i);
|
||||
}
|
||||
} else {
|
||||
influxQueryWrapperMin.min(tempEleEpdPqd.getName(), tempEleEpdPqd.getOtherName());
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
influxQueryWrapperMin.groupBy(InfluxDBTableConstant.LINE_ID)
|
||||
.groupBy(InfluxDBTableConstant.PHASIC_TYPE)
|
||||
.groupBy(InfluxDBTableConstant.VALUE_TYPE)
|
||||
.between(InfluxDBTableConstant.TIME, startTime, endTime);
|
||||
List list1 = reportMapper.selectByQueryWrapper(influxQueryWrapperMin);
|
||||
|
||||
|
||||
//最大值
|
||||
InfluxQueryWrapper influxQueryWrapperMax = new InfluxQueryWrapper(PqdData.class, clazz);
|
||||
influxQueryWrapperMax.regular(PqdData::getLineId, lineIndex).eq(InfluxDBTableConstant.VALUE_TYPE, "max").eq(InfluxDBTableConstant.PHASIC_TYPE,tempPhase).eq(InfluxDBTableConstant.IS_ABNORMAL, 0);
|
||||
|
||||
|
||||
byNameMap.forEach((name, eleEpdPqdList) -> {
|
||||
EleEpdPqd tempEleEpdPqd = eleEpdPqdList.get(0);
|
||||
if (Objects.nonNull(tempEleEpdPqd.getHarmStart()) && Objects.nonNull(tempEleEpdPqd.getHarmEnd())) {
|
||||
//0-49转成1-50
|
||||
if(tempEleEpdPqd.getHarmStart()==0){
|
||||
tempEleEpdPqd.setHarmStart(tempEleEpdPqd.getHarmStart()+1);
|
||||
tempEleEpdPqd.setHarmEnd(tempEleEpdPqd.getHarmEnd()+1);
|
||||
}
|
||||
for (int i = tempEleEpdPqd.getHarmStart(); i < tempEleEpdPqd.getHarmEnd() + 1; i++) {
|
||||
influxQueryWrapperMax.min(tempEleEpdPqd.getName() + "_" + i, tempEleEpdPqd.getOtherName() + "_" + i);
|
||||
}
|
||||
} else {
|
||||
influxQueryWrapperMax.min(tempEleEpdPqd.getName(), tempEleEpdPqd.getOtherName());
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
influxQueryWrapperMax.groupBy(InfluxDBTableConstant.LINE_ID)
|
||||
.groupBy(InfluxDBTableConstant.PHASIC_TYPE)
|
||||
.groupBy(InfluxDBTableConstant.VALUE_TYPE)
|
||||
.between(InfluxDBTableConstant.TIME, startTime, endTime);
|
||||
List list2 = reportMapper.selectByQueryWrapper(influxQueryWrapperMax);
|
||||
|
||||
//平均值
|
||||
InfluxQueryWrapper influxQueryWrapperAvg = new InfluxQueryWrapper(PqdData.class, clazz);
|
||||
influxQueryWrapperAvg.regular(PqdData::getLineId, lineIndex).eq(InfluxDBTableConstant.VALUE_TYPE, "avg").eq(InfluxDBTableConstant.PHASIC_TYPE,tempPhase).eq(InfluxDBTableConstant.IS_ABNORMAL, 0);
|
||||
|
||||
byNameMap.forEach((name, eleEpdPqdList) -> {
|
||||
EleEpdPqd tempEleEpdPqd = eleEpdPqdList.get(0);
|
||||
if (Objects.nonNull(tempEleEpdPqd.getHarmStart()) && Objects.nonNull(tempEleEpdPqd.getHarmEnd())) {
|
||||
//0-49转成1-50
|
||||
if(tempEleEpdPqd.getHarmStart()==0){
|
||||
tempEleEpdPqd.setHarmStart(tempEleEpdPqd.getHarmStart()+1);
|
||||
tempEleEpdPqd.setHarmEnd(tempEleEpdPqd.getHarmEnd()+1);
|
||||
}
|
||||
for (int i = tempEleEpdPqd.getHarmStart(); i < tempEleEpdPqd.getHarmEnd() + 1; i++) {
|
||||
influxQueryWrapperAvg.mean(tempEleEpdPqd.getName() + "_" + i, tempEleEpdPqd.getOtherName() + "_" + i);
|
||||
}
|
||||
} else {
|
||||
influxQueryWrapperAvg.mean(tempEleEpdPqd.getName(), tempEleEpdPqd.getOtherName());
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
influxQueryWrapperAvg.groupBy(InfluxDBTableConstant.LINE_ID)
|
||||
.groupBy(InfluxDBTableConstant.PHASIC_TYPE)
|
||||
.groupBy(InfluxDBTableConstant.VALUE_TYPE)
|
||||
.between(InfluxDBTableConstant.TIME, startTime, endTime);
|
||||
List list3 = reportMapper.selectByQueryWrapper(influxQueryWrapperAvg);
|
||||
|
||||
|
||||
//CP95
|
||||
InfluxQueryWrapper influxQueryWrapperCp95 = new InfluxQueryWrapper(PqdData.class, clazz);
|
||||
influxQueryWrapperCp95.regular(PqdData::getLineId, lineIndex).eq(InfluxDBTableConstant.VALUE_TYPE, "avg").eq(InfluxDBTableConstant.PHASIC_TYPE,tempPhase).eq(InfluxDBTableConstant.IS_ABNORMAL, 0);
|
||||
|
||||
byNameMap.forEach((name, eleEpdPqdList) -> {
|
||||
EleEpdPqd tempEleEpdPqd = eleEpdPqdList.get(0);
|
||||
if (Objects.nonNull(tempEleEpdPqd.getHarmStart()) && Objects.nonNull(tempEleEpdPqd.getHarmEnd())) {
|
||||
//0-49转成1-50
|
||||
if(tempEleEpdPqd.getHarmStart()==0){
|
||||
tempEleEpdPqd.setHarmStart(tempEleEpdPqd.getHarmStart()+1);
|
||||
tempEleEpdPqd.setHarmEnd(tempEleEpdPqd.getHarmEnd()+1);
|
||||
}
|
||||
for (int i = tempEleEpdPqd.getHarmStart(); i < tempEleEpdPqd.getHarmEnd() + 1; i++) {
|
||||
influxQueryWrapperCp95.percentile(tempEleEpdPqd.getName() + "_" + i, tempEleEpdPqd.getOtherName() + "_" + i, 95);
|
||||
}
|
||||
} else {
|
||||
influxQueryWrapperCp95.mean(tempEleEpdPqd.getName(), tempEleEpdPqd.getOtherName());
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
influxQueryWrapperCp95.groupBy(InfluxDBTableConstant.LINE_ID)
|
||||
.groupBy(InfluxDBTableConstant.PHASIC_TYPE)
|
||||
.groupBy(InfluxDBTableConstant.VALUE_TYPE)
|
||||
.between(InfluxDBTableConstant.TIME, startTime, endTime);
|
||||
List list4 = reportMapper.selectByQueryWrapper(influxQueryWrapperCp95);
|
||||
//为ValueType转成cp95
|
||||
list4.forEach(temp -> {
|
||||
//获取
|
||||
Field vauleField = null;
|
||||
try {
|
||||
vauleField = temp.getClass().getDeclaredField("valueType");
|
||||
|
||||
vauleField.setAccessible(true); //暴力访问id
|
||||
vauleField.set(temp, "CP95");
|
||||
|
||||
} catch (NoSuchFieldException e) {
|
||||
throw new RuntimeException(e);
|
||||
} catch (IllegalAccessException e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
|
||||
|
||||
});
|
||||
|
||||
|
||||
result.addAll(list1);
|
||||
result.addAll(list2);
|
||||
result.addAll(list3);
|
||||
result.addAll(list4);
|
||||
|
||||
|
||||
} );
|
||||
//1.为time赋值2.映射
|
||||
result.forEach(temp -> {
|
||||
//获取
|
||||
Field phasicTypeeField = null;
|
||||
Field timeField = null;
|
||||
Field vauleTypeField = null;
|
||||
Field qualityFlagField = null;
|
||||
|
||||
try {
|
||||
|
||||
timeField = temp.getClass().getDeclaredField("time");
|
||||
|
||||
timeField.setAccessible(true);
|
||||
timeField.set(temp, yesterday);
|
||||
phasicTypeeField = temp.getClass().getDeclaredField("phasicType");
|
||||
phasicTypeeField.setAccessible(true);
|
||||
String phase = phasicTypeeField.get(temp).toString();
|
||||
phasicTypeeField.set(temp, getPhase(phase));
|
||||
|
||||
|
||||
vauleTypeField = temp.getClass().getDeclaredField("valueType");
|
||||
vauleTypeField.setAccessible(true);
|
||||
String valueType = vauleTypeField.get(temp).toString();
|
||||
vauleTypeField.set(temp, valueType.toUpperCase());
|
||||
|
||||
qualityFlagField = temp.getClass().getDeclaredField("qualityFlag");
|
||||
|
||||
qualityFlagField.setAccessible(true);
|
||||
qualityFlagField.set(temp, 0);
|
||||
|
||||
} catch (NoSuchFieldException e) {
|
||||
throw new RuntimeException(e);
|
||||
} catch (IllegalAccessException e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
|
||||
|
||||
});
|
||||
log.info("插入数据");
|
||||
//由于AB,A对应的都是A不能批量插入会爆主键冲突
|
||||
result.forEach(temp->{
|
||||
bean.saveOrUpdateByMultiId(temp);
|
||||
});
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, 1, "报表数据转换");
|
||||
}
|
||||
|
||||
public String getPhase( String phase) {
|
||||
|
||||
switch (phase) {
|
||||
case "A":
|
||||
return "A";
|
||||
case "B":
|
||||
return "B";
|
||||
case "C":
|
||||
return "C";
|
||||
case "M":
|
||||
return "T";
|
||||
case "AB":
|
||||
return "A";
|
||||
case "BC":
|
||||
return "B";
|
||||
case "CA":
|
||||
return "C";
|
||||
default:
|
||||
break;
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,332 @@
|
||||
package com.njcn.csreport.job;
|
||||
|
||||
import cn.hutool.extra.spring.SpringUtil;
|
||||
import com.github.jeffreyning.mybatisplus.service.IMppService;
|
||||
import com.njcn.common.utils.HarmonicTimesUtil;
|
||||
import com.njcn.csdevice.api.CsLedgerFeignClient;
|
||||
import com.njcn.csdevice.pojo.dto.LineParamDTO;
|
||||
import com.njcn.csdevice.pojo.po.CsLedger;
|
||||
|
||||
import com.njcn.csreport.enums.ReportTableEnum;
|
||||
import com.njcn.csreport.service.RStatDataVDService;
|
||||
import com.njcn.influx.constant.InfluxDbSqlConstant;
|
||||
import com.njcn.influx.imapper.CommonMapper;
|
||||
import com.njcn.influx.imapper.PqdDataMapper;
|
||||
import com.njcn.influx.imapper.day.ReportMapper;
|
||||
import com.njcn.influx.pojo.constant.InfluxDBTableConstant;
|
||||
import com.njcn.influx.pojo.po.DataV;
|
||||
import com.njcn.influx.pojo.po.cs.PqdData;
|
||||
import com.njcn.influx.query.InfluxQueryWrapper;
|
||||
import com.njcn.system.api.CsStatisticalSetFeignClient;
|
||||
import com.njcn.system.api.DicDataFeignClient;
|
||||
|
||||
import com.njcn.system.api.EpdFeignClient;
|
||||
import com.njcn.system.enums.DicDataEnum;
|
||||
import com.njcn.system.pojo.po.DictData;
|
||||
import com.njcn.system.pojo.po.EleEpdPqd;
|
||||
import com.njcn.system.pojo.vo.EleEpdPqdListVO;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.springframework.scheduling.annotation.EnableScheduling;
|
||||
import org.springframework.scheduling.annotation.Scheduled;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.lang.reflect.Field;
|
||||
import java.time.LocalDate;
|
||||
import java.time.LocalDateTime;
|
||||
import java.time.format.DateTimeFormatter;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Objects;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
/**
|
||||
* Description:
|
||||
* Date: 2024/1/18 10:15【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
@Component
|
||||
@EnableScheduling
|
||||
@RequiredArgsConstructor
|
||||
@Slf4j
|
||||
public class ReportCovertJob {
|
||||
|
||||
private final CsLedgerFeignClient csLedgerFeignClient;
|
||||
private final DicDataFeignClient dicDataFeignClient;
|
||||
private final EpdFeignClient epdFeignClient;
|
||||
private final ReportMapper reportMapper;
|
||||
private final RStatDataVDService rStatDataVDService;
|
||||
|
||||
private final static String SERVICE_PACKAGE_PREFIX = "com.njcn.csreport.service.";
|
||||
private final static String ENTITY_PACKAGE_PREFIX = "com.njcn.csreport.pojo.po.";
|
||||
private final static String SERVICE_SUFFIX = "Service";
|
||||
|
||||
|
||||
/**
|
||||
* 每小时同步oracle数据库暂态事件
|
||||
*
|
||||
* @date 2024/3/5
|
||||
*/
|
||||
@Scheduled(cron = "0 0/10 * * * ?")
|
||||
public void executeEvent() throws ClassNotFoundException {
|
||||
LocalDate today = LocalDate.now().minusDays(3);
|
||||
// 计算前一天的日期
|
||||
LocalDate yesterday = today.minusDays(1);
|
||||
// 获取前一天的开始时间(00:00:00)
|
||||
LocalDateTime startOfYesterday = yesterday.atStartOfDay();
|
||||
// 获取前一天的结束时间(23:59:59)
|
||||
LocalDateTime endOfYesterday = yesterday.plusDays(1).atStartOfDay().minusSeconds(1);
|
||||
|
||||
// 定义时间格式
|
||||
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");
|
||||
|
||||
// 格式化时间为字符串
|
||||
String startTime = startOfYesterday.format(formatter);
|
||||
String endTime = endOfYesterday.format(formatter);
|
||||
// String startTime ="2024-07-31 00:00:00";
|
||||
// String endTime ="2024-09-20 23:00:00";
|
||||
List<CsLedger> data = csLedgerFeignClient.queryLine(new LineParamDTO()).getData();
|
||||
List<String> lineIndex = data.stream().map(CsLedger::getId).collect(Collectors.toList());
|
||||
// List<String> lineIndex = Stream.of("00B78D016AB32","00B78D016AB51").collect(Collectors.toList());
|
||||
|
||||
//查询电能质量数据指标
|
||||
DictData pqd = dicDataFeignClient.getDicDataByCode(DicDataEnum.PQD.getCode()).getData();
|
||||
List<DictData> tableNameList = dicDataFeignClient.getDicDataByTypeCode("Data_Day").getData();
|
||||
Map<String, String> tableMap = tableNameList.stream().collect(Collectors.toMap(DictData::getId, DictData::getCode, (code, code2) -> code));
|
||||
|
||||
|
||||
List<EleEpdPqdListVO> eleEpdPqdListVOList = epdFeignClient.selectAll().getData();
|
||||
EleEpdPqdListVO eleEpdPqdListVO = eleEpdPqdListVOList.stream().filter(temp -> Objects.equals(temp.getDataType(), pqd.getId())).collect(Collectors.toList()).get(0);
|
||||
|
||||
|
||||
Map<String, List<EleEpdPqd>> eleEpdMap = eleEpdPqdListVO.getEleEpdPqdVOS().stream().filter(temp -> StringUtils.isNotEmpty(temp.getOtherName())
|
||||
&& StringUtils.isNotEmpty(temp.getResourcesId()))
|
||||
.collect(Collectors.groupingBy(EleEpdPqd::getResourcesId));//不能全表表分组查,根据映射的
|
||||
|
||||
for (Map.Entry<String, List<EleEpdPqd>> entry : eleEpdMap.entrySet()) {
|
||||
String k = entry.getKey();
|
||||
List<EleEpdPqd> v = entry.getValue();
|
||||
String tableName = tableMap.get(k);
|
||||
List result = new ArrayList<>();
|
||||
Class clazz = Class.forName(ENTITY_PACKAGE_PREFIX + ReportTableEnum.getEntityName(tableName));
|
||||
IMppService bean = (IMppService) SpringUtil.getBean(Class.forName(SERVICE_PACKAGE_PREFIX+ReportTableEnum.getEntityName(tableName)+SERVICE_SUFFIX));
|
||||
|
||||
//由于epd配置表A,B,C三项对应指标一样,这里做去重处理,由于功率表功率,和三项总功率都对应P只是项别不一一样因此,M相要和,A,B,C相分开计算
|
||||
Map<String, Map<String, List<EleEpdPqd>>> collect = v.stream().collect(Collectors.groupingBy(EleEpdPqd::getPhase, Collectors.groupingBy(EleEpdPqd::getName)));
|
||||
|
||||
collect.forEach((tempPhase,byNameMap)->{
|
||||
//最小值
|
||||
InfluxQueryWrapper influxQueryWrapperMin = new InfluxQueryWrapper(PqdData.class, clazz);
|
||||
influxQueryWrapperMin.regular(PqdData::getLineId, lineIndex).eq(InfluxDBTableConstant.VALUE_TYPE, "min").eq(InfluxDBTableConstant.PHASIC_TYPE,tempPhase).eq(InfluxDBTableConstant.IS_ABNORMAL, 0);
|
||||
|
||||
|
||||
byNameMap.forEach((name, eleEpdPqdList) -> {
|
||||
EleEpdPqd tempEleEpdPqd = eleEpdPqdList.get(0);
|
||||
if (Objects.nonNull(tempEleEpdPqd.getHarmStart()) && Objects.nonNull(tempEleEpdPqd.getHarmEnd())) {
|
||||
//0-49转成1-50
|
||||
if(tempEleEpdPqd.getHarmStart()==0){
|
||||
tempEleEpdPqd.setHarmStart(tempEleEpdPqd.getHarmStart()+1);
|
||||
tempEleEpdPqd.setHarmEnd(tempEleEpdPqd.getHarmEnd()+1);
|
||||
}
|
||||
for (int i = tempEleEpdPqd.getHarmStart(); i < tempEleEpdPqd.getHarmEnd() + 1; i++) {
|
||||
influxQueryWrapperMin.min(tempEleEpdPqd.getName() + "_" + i, tempEleEpdPqd.getOtherName() + "_" + i);
|
||||
}
|
||||
} else {
|
||||
influxQueryWrapperMin.min(tempEleEpdPqd.getName(), tempEleEpdPqd.getOtherName());
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
influxQueryWrapperMin.groupBy(InfluxDBTableConstant.LINE_ID)
|
||||
.groupBy(InfluxDBTableConstant.PHASIC_TYPE)
|
||||
.groupBy(InfluxDBTableConstant.VALUE_TYPE)
|
||||
.between(InfluxDBTableConstant.TIME, startTime, endTime);
|
||||
List list1 = reportMapper.selectByQueryWrapper(influxQueryWrapperMin);
|
||||
|
||||
|
||||
//最大值
|
||||
InfluxQueryWrapper influxQueryWrapperMax = new InfluxQueryWrapper(PqdData.class, clazz);
|
||||
influxQueryWrapperMax.regular(PqdData::getLineId, lineIndex).eq(InfluxDBTableConstant.VALUE_TYPE, "max").eq(InfluxDBTableConstant.PHASIC_TYPE,tempPhase).eq(InfluxDBTableConstant.IS_ABNORMAL, 0);
|
||||
|
||||
|
||||
byNameMap.forEach((name, eleEpdPqdList) -> {
|
||||
EleEpdPqd tempEleEpdPqd = eleEpdPqdList.get(0);
|
||||
if (Objects.nonNull(tempEleEpdPqd.getHarmStart()) && Objects.nonNull(tempEleEpdPqd.getHarmEnd())) {
|
||||
//0-49转成1-50
|
||||
if(tempEleEpdPqd.getHarmStart()==0){
|
||||
tempEleEpdPqd.setHarmStart(tempEleEpdPqd.getHarmStart()+1);
|
||||
tempEleEpdPqd.setHarmEnd(tempEleEpdPqd.getHarmEnd()+1);
|
||||
}
|
||||
for (int i = tempEleEpdPqd.getHarmStart(); i < tempEleEpdPqd.getHarmEnd() + 1; i++) {
|
||||
influxQueryWrapperMax.min(tempEleEpdPqd.getName() + "_" + i, tempEleEpdPqd.getOtherName() + "_" + i);
|
||||
}
|
||||
} else {
|
||||
influxQueryWrapperMax.min(tempEleEpdPqd.getName(), tempEleEpdPqd.getOtherName());
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
influxQueryWrapperMax.groupBy(InfluxDBTableConstant.LINE_ID)
|
||||
.groupBy(InfluxDBTableConstant.PHASIC_TYPE)
|
||||
.groupBy(InfluxDBTableConstant.VALUE_TYPE)
|
||||
.between(InfluxDBTableConstant.TIME, startTime, endTime);
|
||||
List list2 = reportMapper.selectByQueryWrapper(influxQueryWrapperMax);
|
||||
|
||||
//平均值
|
||||
InfluxQueryWrapper influxQueryWrapperAvg = new InfluxQueryWrapper(PqdData.class, clazz);
|
||||
influxQueryWrapperAvg.regular(PqdData::getLineId, lineIndex).eq(InfluxDBTableConstant.VALUE_TYPE, "avg").eq(InfluxDBTableConstant.PHASIC_TYPE,tempPhase).eq(InfluxDBTableConstant.IS_ABNORMAL, 0);
|
||||
|
||||
byNameMap.forEach((name, eleEpdPqdList) -> {
|
||||
EleEpdPqd tempEleEpdPqd = eleEpdPqdList.get(0);
|
||||
if (Objects.nonNull(tempEleEpdPqd.getHarmStart()) && Objects.nonNull(tempEleEpdPqd.getHarmEnd())) {
|
||||
//0-49转成1-50
|
||||
if(tempEleEpdPqd.getHarmStart()==0){
|
||||
tempEleEpdPqd.setHarmStart(tempEleEpdPqd.getHarmStart()+1);
|
||||
tempEleEpdPqd.setHarmEnd(tempEleEpdPqd.getHarmEnd()+1);
|
||||
}
|
||||
for (int i = tempEleEpdPqd.getHarmStart(); i < tempEleEpdPqd.getHarmEnd() + 1; i++) {
|
||||
influxQueryWrapperAvg.mean(tempEleEpdPqd.getName() + "_" + i, tempEleEpdPqd.getOtherName() + "_" + i);
|
||||
}
|
||||
} else {
|
||||
influxQueryWrapperAvg.mean(tempEleEpdPqd.getName(), tempEleEpdPqd.getOtherName());
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
influxQueryWrapperAvg.groupBy(InfluxDBTableConstant.LINE_ID)
|
||||
.groupBy(InfluxDBTableConstant.PHASIC_TYPE)
|
||||
.groupBy(InfluxDBTableConstant.VALUE_TYPE)
|
||||
.between(InfluxDBTableConstant.TIME, startTime, endTime);
|
||||
List list3 = reportMapper.selectByQueryWrapper(influxQueryWrapperAvg);
|
||||
|
||||
|
||||
//CP95
|
||||
InfluxQueryWrapper influxQueryWrapperCp95 = new InfluxQueryWrapper(PqdData.class, clazz);
|
||||
influxQueryWrapperCp95.regular(PqdData::getLineId, lineIndex).eq(InfluxDBTableConstant.VALUE_TYPE, "avg").eq(InfluxDBTableConstant.PHASIC_TYPE,tempPhase).eq(InfluxDBTableConstant.IS_ABNORMAL, 0);
|
||||
|
||||
byNameMap.forEach((name, eleEpdPqdList) -> {
|
||||
EleEpdPqd tempEleEpdPqd = eleEpdPqdList.get(0);
|
||||
if (Objects.nonNull(tempEleEpdPqd.getHarmStart()) && Objects.nonNull(tempEleEpdPqd.getHarmEnd())) {
|
||||
//0-49转成1-50
|
||||
if(tempEleEpdPqd.getHarmStart()==0){
|
||||
tempEleEpdPqd.setHarmStart(tempEleEpdPqd.getHarmStart()+1);
|
||||
tempEleEpdPqd.setHarmEnd(tempEleEpdPqd.getHarmEnd()+1);
|
||||
}
|
||||
for (int i = tempEleEpdPqd.getHarmStart(); i < tempEleEpdPqd.getHarmEnd() + 1; i++) {
|
||||
influxQueryWrapperCp95.percentile(tempEleEpdPqd.getName() + "_" + i, tempEleEpdPqd.getOtherName() + "_" + i, 95);
|
||||
}
|
||||
} else {
|
||||
influxQueryWrapperCp95.mean(tempEleEpdPqd.getName(), tempEleEpdPqd.getOtherName());
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
influxQueryWrapperCp95.groupBy(InfluxDBTableConstant.LINE_ID)
|
||||
.groupBy(InfluxDBTableConstant.PHASIC_TYPE)
|
||||
.groupBy(InfluxDBTableConstant.VALUE_TYPE)
|
||||
.between(InfluxDBTableConstant.TIME, startTime, endTime);
|
||||
List list4 = reportMapper.selectByQueryWrapper(influxQueryWrapperCp95);
|
||||
//为ValueType转成cp95
|
||||
list4.forEach(temp -> {
|
||||
//获取
|
||||
Field vauleField = null;
|
||||
try {
|
||||
vauleField = temp.getClass().getDeclaredField("valueType");
|
||||
|
||||
vauleField.setAccessible(true); //暴力访问id
|
||||
vauleField.set(temp, "CP95");
|
||||
|
||||
} catch (NoSuchFieldException e) {
|
||||
throw new RuntimeException(e);
|
||||
} catch (IllegalAccessException e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
|
||||
|
||||
});
|
||||
|
||||
|
||||
result.addAll(list1);
|
||||
result.addAll(list2);
|
||||
result.addAll(list3);
|
||||
result.addAll(list4);
|
||||
|
||||
|
||||
} );
|
||||
//1.为time赋值2.映射
|
||||
result.forEach(temp -> {
|
||||
//获取
|
||||
Field phasicTypeeField = null;
|
||||
Field timeField = null;
|
||||
Field vauleTypeField = null;
|
||||
Field qualityFlagField = null;
|
||||
|
||||
try {
|
||||
|
||||
timeField = temp.getClass().getDeclaredField("time");
|
||||
|
||||
timeField.setAccessible(true);
|
||||
timeField.set(temp, yesterday);
|
||||
phasicTypeeField = temp.getClass().getDeclaredField("phasicType");
|
||||
phasicTypeeField.setAccessible(true);
|
||||
String phase = phasicTypeeField.get(temp).toString();
|
||||
phasicTypeeField.set(temp, getPhase(phase));
|
||||
|
||||
|
||||
vauleTypeField = temp.getClass().getDeclaredField("valueType");
|
||||
vauleTypeField.setAccessible(true);
|
||||
String valueType = vauleTypeField.get(temp).toString();
|
||||
vauleTypeField.set(temp, valueType.toUpperCase());
|
||||
|
||||
qualityFlagField = temp.getClass().getDeclaredField("qualityFlag");
|
||||
|
||||
qualityFlagField.setAccessible(true);
|
||||
qualityFlagField.set(temp, 0);
|
||||
|
||||
} catch (NoSuchFieldException e) {
|
||||
throw new RuntimeException(e);
|
||||
} catch (IllegalAccessException e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
|
||||
|
||||
});
|
||||
log.info("插入数据");
|
||||
//由于AB,A对应的都是A不能批量插入会爆主键冲突
|
||||
result.forEach(temp->{
|
||||
bean.saveOrUpdateByMultiId(temp);
|
||||
});
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public String getPhase( String phase) {
|
||||
|
||||
switch (phase) {
|
||||
case "A":
|
||||
return "A";
|
||||
case "B":
|
||||
return "B";
|
||||
case "C":
|
||||
return "C";
|
||||
case "M":
|
||||
return "T";
|
||||
case "AB":
|
||||
return "A";
|
||||
case "BC":
|
||||
return "B";
|
||||
case "CA":
|
||||
return "C";
|
||||
default:
|
||||
break;
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package com.njcn.csreport.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.github.jeffreyning.mybatisplus.base.MppBaseMapper;
|
||||
import com.njcn.csreport.pojo.po.RStatDataFlickerD;
|
||||
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
* Date: 2024/9/13 14:26【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
public interface RStatDataFlickerDMapper extends MppBaseMapper<RStatDataFlickerD> {
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package com.njcn.csreport.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.github.jeffreyning.mybatisplus.base.MppBaseMapper;
|
||||
import com.njcn.csreport.pojo.po.RStatDataFlucD;
|
||||
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
* Date: 2024/9/13 14:29【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
public interface RStatDataFlucDMapper extends MppBaseMapper<RStatDataFlucD> {
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package com.njcn.csreport.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.github.jeffreyning.mybatisplus.base.MppBaseMapper;
|
||||
import com.njcn.csreport.pojo.po.RStatDataHarmphasicID;
|
||||
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
* Date: 2024/9/13 14:29【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
public interface RStatDataHarmphasicIDMapper extends MppBaseMapper<RStatDataHarmphasicID> {
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package com.njcn.csreport.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.github.jeffreyning.mybatisplus.base.MppBaseMapper;
|
||||
import com.njcn.csreport.pojo.po.RStatDataHarmphasicVD;
|
||||
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
* Date: 2024/9/13 14:29【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
public interface RStatDataHarmphasicVDMapper extends MppBaseMapper<RStatDataHarmphasicVD> {
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package com.njcn.csreport.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.github.jeffreyning.mybatisplus.base.MppBaseMapper;
|
||||
import com.njcn.csreport.pojo.po.RStatDataHarmpowerPD;
|
||||
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
* Date: 2024/9/13 14:29【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
public interface RStatDataHarmpowerPDMapper extends MppBaseMapper<RStatDataHarmpowerPD> {
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package com.njcn.csreport.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.github.jeffreyning.mybatisplus.base.MppBaseMapper;
|
||||
import com.njcn.csreport.pojo.po.RStatDataHarmpowerQD;
|
||||
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
* Date: 2024/9/13 14:29【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
public interface RStatDataHarmpowerQDMapper extends MppBaseMapper<RStatDataHarmpowerQD> {
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package com.njcn.csreport.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.github.jeffreyning.mybatisplus.base.MppBaseMapper;
|
||||
import com.njcn.csreport.pojo.po.RStatDataHarmpowerSD;
|
||||
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
* Date: 2024/9/13 14:29【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
public interface RStatDataHarmpowerSDMapper extends MppBaseMapper<RStatDataHarmpowerSD> {
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package com.njcn.csreport.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.github.jeffreyning.mybatisplus.base.MppBaseMapper;
|
||||
import com.njcn.csreport.pojo.po.RStatDataHarmrateID;
|
||||
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
* Date: 2024/9/13 14:29【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
public interface RStatDataHarmrateIDMapper extends MppBaseMapper<RStatDataHarmrateID> {
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package com.njcn.csreport.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.github.jeffreyning.mybatisplus.base.MppBaseMapper;
|
||||
import com.njcn.csreport.pojo.po.RStatDataHarmrateVD;
|
||||
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
* Date: 2024/9/13 14:29【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
public interface RStatDataHarmrateVDMapper extends MppBaseMapper<RStatDataHarmrateVD> {
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package com.njcn.csreport.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.github.jeffreyning.mybatisplus.base.MppBaseMapper;
|
||||
import com.njcn.csreport.pojo.po.RStatDataID;
|
||||
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
* Date: 2024/9/13 14:29【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
public interface RStatDataIDMapper extends MppBaseMapper<RStatDataID> {
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package com.njcn.csreport.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.github.jeffreyning.mybatisplus.base.MppBaseMapper;
|
||||
import com.njcn.csreport.pojo.po.RStatDataInharmID;
|
||||
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
* Date: 2024/9/13 14:30【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
public interface RStatDataInharmIDMapper extends MppBaseMapper<RStatDataInharmID> {
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package com.njcn.csreport.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.github.jeffreyning.mybatisplus.base.MppBaseMapper;
|
||||
import com.njcn.csreport.pojo.po.RStatDataInharmVD;
|
||||
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
* Date: 2024/9/13 14:30【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
public interface RStatDataInharmVDMapper extends MppBaseMapper<RStatDataInharmVD> {
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package com.njcn.csreport.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.github.jeffreyning.mybatisplus.base.MppBaseMapper;
|
||||
import com.njcn.csreport.pojo.po.RStatDataPltD;
|
||||
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
* Date: 2024/9/13 14:30【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
public interface RStatDataPltDMapper extends MppBaseMapper<RStatDataPltD> {
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package com.njcn.csreport.mapper;
|
||||
|
||||
import com.github.jeffreyning.mybatisplus.base.MppBaseMapper;
|
||||
import com.njcn.csreport.pojo.po.RStatDataVD;
|
||||
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
* Date: 2024/9/13 9:10【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
public interface RStatDataVDMapper extends MppBaseMapper<RStatDataVD> {
|
||||
}
|
||||
@@ -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.csreport.mapper.RStatDataFlickerDMapper">
|
||||
<resultMap id="BaseResultMap" type="com.njcn.csreport.pojo.po.RStatDataFlickerD">
|
||||
<!--@mbg.generated-->
|
||||
<!--@Table r_stat_data_flicker_d-->
|
||||
<result column="time" jdbcType="TIMESTAMP" property="time" />
|
||||
<result column="line_id" jdbcType="VARCHAR" property="lineId" />
|
||||
<result column="phasic_type" jdbcType="VARCHAR" property="phasicType" />
|
||||
<result column="value_type" jdbcType="VARCHAR" property="valueType" />
|
||||
<result column="quality_flag" jdbcType="INTEGER" property="qualityFlag" />
|
||||
<result column="fluc" jdbcType="DECIMAL" property="fluc" />
|
||||
<result column="plt" jdbcType="DECIMAL" property="plt" />
|
||||
<result column="pst" jdbcType="DECIMAL" property="pst" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
<!--@mbg.generated-->
|
||||
`time`, line_id, phasic_type, value_type, quality_flag, fluc, plt, pst
|
||||
</sql>
|
||||
</mapper>
|
||||
@@ -0,0 +1,19 @@
|
||||
<?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.csreport.mapper.RStatDataFlucDMapper">
|
||||
<resultMap id="BaseResultMap" type="com.njcn.csreport.pojo.po.RStatDataFlucD">
|
||||
<!--@mbg.generated-->
|
||||
<!--@Table r_stat_data_fluc_d-->
|
||||
<result column="time" jdbcType="TIMESTAMP" property="time" />
|
||||
<result column="line_id" jdbcType="VARCHAR" property="lineId" />
|
||||
<result column="phasic_type" jdbcType="VARCHAR" property="phasicType" />
|
||||
<result column="value_type" jdbcType="VARCHAR" property="valueType" />
|
||||
<result column="quality_flag" jdbcType="INTEGER" property="qualityFlag" />
|
||||
<result column="fluc" jdbcType="DECIMAL" property="fluc" />
|
||||
<result column="fluccf" jdbcType="DECIMAL" property="fluccf" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
<!--@mbg.generated-->
|
||||
`time`, line_id, phasic_type, value_type, quality_flag, fluc, fluccf
|
||||
</sql>
|
||||
</mapper>
|
||||
@@ -0,0 +1,71 @@
|
||||
<?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.csreport.mapper.RStatDataHarmphasicIDMapper">
|
||||
<resultMap id="BaseResultMap" type="com.njcn.csreport.pojo.po.RStatDataHarmphasicID">
|
||||
<!--@mbg.generated-->
|
||||
<!--@Table r_stat_data_harmphasic_i_d-->
|
||||
<result column="time" jdbcType="TIMESTAMP" property="time" />
|
||||
<result column="line_id" jdbcType="VARCHAR" property="lineId" />
|
||||
<result column="phasic_type" jdbcType="VARCHAR" property="phasicType" />
|
||||
<result column="value_type" jdbcType="VARCHAR" property="valueType" />
|
||||
<result column="quality_flag" jdbcType="INTEGER" property="qualityFlag" />
|
||||
<result column="i_1" jdbcType="DECIMAL" property="i1" />
|
||||
<result column="i_2" jdbcType="DECIMAL" property="i2" />
|
||||
<result column="i_3" jdbcType="DECIMAL" property="i3" />
|
||||
<result column="i_4" jdbcType="DECIMAL" property="i4" />
|
||||
<result column="i_5" jdbcType="DECIMAL" property="i5" />
|
||||
<result column="i_6" jdbcType="DECIMAL" property="i6" />
|
||||
<result column="i_7" jdbcType="DECIMAL" property="i7" />
|
||||
<result column="i_8" jdbcType="DECIMAL" property="i8" />
|
||||
<result column="i_9" jdbcType="DECIMAL" property="i9" />
|
||||
<result column="i_10" jdbcType="DECIMAL" property="i10" />
|
||||
<result column="i_11" jdbcType="DECIMAL" property="i11" />
|
||||
<result column="i_12" jdbcType="DECIMAL" property="i12" />
|
||||
<result column="i_13" jdbcType="DECIMAL" property="i13" />
|
||||
<result column="i_14" jdbcType="DECIMAL" property="i14" />
|
||||
<result column="i_15" jdbcType="DECIMAL" property="i15" />
|
||||
<result column="i_16" jdbcType="DECIMAL" property="i16" />
|
||||
<result column="i_17" jdbcType="DECIMAL" property="i17" />
|
||||
<result column="i_18" jdbcType="DECIMAL" property="i18" />
|
||||
<result column="i_19" jdbcType="DECIMAL" property="i19" />
|
||||
<result column="i_20" jdbcType="DECIMAL" property="i20" />
|
||||
<result column="i_21" jdbcType="DECIMAL" property="i21" />
|
||||
<result column="i_22" jdbcType="DECIMAL" property="i22" />
|
||||
<result column="i_23" jdbcType="DECIMAL" property="i23" />
|
||||
<result column="i_24" jdbcType="DECIMAL" property="i24" />
|
||||
<result column="i_25" jdbcType="DECIMAL" property="i25" />
|
||||
<result column="i_26" jdbcType="DECIMAL" property="i26" />
|
||||
<result column="i_27" jdbcType="DECIMAL" property="i27" />
|
||||
<result column="i_28" jdbcType="DECIMAL" property="i28" />
|
||||
<result column="i_29" jdbcType="DECIMAL" property="i29" />
|
||||
<result column="i_30" jdbcType="DECIMAL" property="i30" />
|
||||
<result column="i_31" jdbcType="DECIMAL" property="i31" />
|
||||
<result column="i_32" jdbcType="DECIMAL" property="i32" />
|
||||
<result column="i_33" jdbcType="DECIMAL" property="i33" />
|
||||
<result column="i_34" jdbcType="DECIMAL" property="i34" />
|
||||
<result column="i_35" jdbcType="DECIMAL" property="i35" />
|
||||
<result column="i_36" jdbcType="DECIMAL" property="i36" />
|
||||
<result column="i_37" jdbcType="DECIMAL" property="i37" />
|
||||
<result column="i_38" jdbcType="DECIMAL" property="i38" />
|
||||
<result column="i_39" jdbcType="DECIMAL" property="i39" />
|
||||
<result column="i_40" jdbcType="DECIMAL" property="i40" />
|
||||
<result column="i_41" jdbcType="DECIMAL" property="i41" />
|
||||
<result column="i_42" jdbcType="DECIMAL" property="i42" />
|
||||
<result column="i_43" jdbcType="DECIMAL" property="i43" />
|
||||
<result column="i_44" jdbcType="DECIMAL" property="i44" />
|
||||
<result column="i_45" jdbcType="DECIMAL" property="i45" />
|
||||
<result column="i_46" jdbcType="DECIMAL" property="i46" />
|
||||
<result column="i_47" jdbcType="DECIMAL" property="i47" />
|
||||
<result column="i_48" jdbcType="DECIMAL" property="i48" />
|
||||
<result column="i_49" jdbcType="DECIMAL" property="i49" />
|
||||
<result column="i_50" jdbcType="DECIMAL" property="i50" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
<!--@mbg.generated-->
|
||||
`time`, line_id, phasic_type, value_type, quality_flag, i_1, i_2, i_3, i_4, i_5,
|
||||
i_6, i_7, i_8, i_9, i_10, i_11, i_12, i_13, i_14, i_15, i_16, i_17, i_18, i_19, i_20,
|
||||
i_21, i_22, i_23, i_24, i_25, i_26, i_27, i_28, i_29, i_30, i_31, i_32, i_33, i_34,
|
||||
i_35, i_36, i_37, i_38, i_39, i_40, i_41, i_42, i_43, i_44, i_45, i_46, i_47, i_48,
|
||||
i_49, i_50
|
||||
</sql>
|
||||
</mapper>
|
||||
@@ -0,0 +1,71 @@
|
||||
<?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.csreport.mapper.RStatDataHarmphasicVDMapper">
|
||||
<resultMap id="BaseResultMap" type="com.njcn.csreport.pojo.po.RStatDataHarmphasicVD">
|
||||
<!--@mbg.generated-->
|
||||
<!--@Table r_stat_data_harmphasic_v_d-->
|
||||
<result column="time" jdbcType="TIMESTAMP" property="time" />
|
||||
<result column="line_id" jdbcType="VARCHAR" property="lineId" />
|
||||
<result column="phasic_type" jdbcType="VARCHAR" property="phasicType" />
|
||||
<result column="value_type" jdbcType="VARCHAR" property="valueType" />
|
||||
<result column="quality_flag" jdbcType="INTEGER" property="qualityFlag" />
|
||||
<result column="v_1" jdbcType="DECIMAL" property="v1" />
|
||||
<result column="v_2" jdbcType="DECIMAL" property="v2" />
|
||||
<result column="v_3" jdbcType="DECIMAL" property="v3" />
|
||||
<result column="v_4" jdbcType="DECIMAL" property="v4" />
|
||||
<result column="v_5" jdbcType="DECIMAL" property="v5" />
|
||||
<result column="v_6" jdbcType="DECIMAL" property="v6" />
|
||||
<result column="v_7" jdbcType="DECIMAL" property="v7" />
|
||||
<result column="v_8" jdbcType="DECIMAL" property="v8" />
|
||||
<result column="v_9" jdbcType="DECIMAL" property="v9" />
|
||||
<result column="v_10" jdbcType="DECIMAL" property="v10" />
|
||||
<result column="v_11" jdbcType="DECIMAL" property="v11" />
|
||||
<result column="v_12" jdbcType="DECIMAL" property="v12" />
|
||||
<result column="v_13" jdbcType="DECIMAL" property="v13" />
|
||||
<result column="v_14" jdbcType="DECIMAL" property="v14" />
|
||||
<result column="v_15" jdbcType="DECIMAL" property="v15" />
|
||||
<result column="v_16" jdbcType="DECIMAL" property="v16" />
|
||||
<result column="v_17" jdbcType="DECIMAL" property="v17" />
|
||||
<result column="v_18" jdbcType="DECIMAL" property="v18" />
|
||||
<result column="v_19" jdbcType="DECIMAL" property="v19" />
|
||||
<result column="v_20" jdbcType="DECIMAL" property="v20" />
|
||||
<result column="v_21" jdbcType="DECIMAL" property="v21" />
|
||||
<result column="v_22" jdbcType="DECIMAL" property="v22" />
|
||||
<result column="v_23" jdbcType="DECIMAL" property="v23" />
|
||||
<result column="v_24" jdbcType="DECIMAL" property="v24" />
|
||||
<result column="v_25" jdbcType="DECIMAL" property="v25" />
|
||||
<result column="v_26" jdbcType="DECIMAL" property="v26" />
|
||||
<result column="v_27" jdbcType="DECIMAL" property="v27" />
|
||||
<result column="v_28" jdbcType="DECIMAL" property="v28" />
|
||||
<result column="v_29" jdbcType="DECIMAL" property="v29" />
|
||||
<result column="v_30" jdbcType="DECIMAL" property="v30" />
|
||||
<result column="v_31" jdbcType="DECIMAL" property="v31" />
|
||||
<result column="v_32" jdbcType="DECIMAL" property="v32" />
|
||||
<result column="v_33" jdbcType="DECIMAL" property="v33" />
|
||||
<result column="v_34" jdbcType="DECIMAL" property="v34" />
|
||||
<result column="v_35" jdbcType="DECIMAL" property="v35" />
|
||||
<result column="v_36" jdbcType="DECIMAL" property="v36" />
|
||||
<result column="v_37" jdbcType="DECIMAL" property="v37" />
|
||||
<result column="v_38" jdbcType="DECIMAL" property="v38" />
|
||||
<result column="v_39" jdbcType="DECIMAL" property="v39" />
|
||||
<result column="v_40" jdbcType="DECIMAL" property="v40" />
|
||||
<result column="v_41" jdbcType="DECIMAL" property="v41" />
|
||||
<result column="v_42" jdbcType="DECIMAL" property="v42" />
|
||||
<result column="v_43" jdbcType="DECIMAL" property="v43" />
|
||||
<result column="v_44" jdbcType="DECIMAL" property="v44" />
|
||||
<result column="v_45" jdbcType="DECIMAL" property="v45" />
|
||||
<result column="v_46" jdbcType="DECIMAL" property="v46" />
|
||||
<result column="v_47" jdbcType="DECIMAL" property="v47" />
|
||||
<result column="v_48" jdbcType="DECIMAL" property="v48" />
|
||||
<result column="v_49" jdbcType="DECIMAL" property="v49" />
|
||||
<result column="v_50" jdbcType="DECIMAL" property="v50" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
<!--@mbg.generated-->
|
||||
`time`, line_id, phasic_type, value_type, quality_flag, v_1, v_2, v_3, v_4, v_5,
|
||||
v_6, v_7, v_8, v_9, v_10, v_11, v_12, v_13, v_14, v_15, v_16, v_17, v_18, v_19, v_20,
|
||||
v_21, v_22, v_23, v_24, v_25, v_26, v_27, v_28, v_29, v_30, v_31, v_32, v_33, v_34,
|
||||
v_35, v_36, v_37, v_38, v_39, v_40, v_41, v_42, v_43, v_44, v_45, v_46, v_47, v_48,
|
||||
v_49, v_50
|
||||
</sql>
|
||||
</mapper>
|
||||
@@ -0,0 +1,74 @@
|
||||
<?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.csreport.mapper.RStatDataHarmpowerPDMapper">
|
||||
<resultMap id="BaseResultMap" type="com.njcn.csreport.pojo.po.RStatDataHarmpowerPD">
|
||||
<!--@mbg.generated-->
|
||||
<!--@Table r_stat_data_harmpower_p_d-->
|
||||
<result column="time" jdbcType="TIMESTAMP" property="time" />
|
||||
<result column="line_id" jdbcType="VARCHAR" property="lineId" />
|
||||
<result column="phasic_type" jdbcType="VARCHAR" property="phasicType" />
|
||||
<result column="value_type" jdbcType="VARCHAR" property="valueType" />
|
||||
<result column="quality_flag" jdbcType="INTEGER" property="qualityFlag" />
|
||||
<result column="p" jdbcType="DECIMAL" property="p" />
|
||||
<result column="pf" jdbcType="DECIMAL" property="pf" />
|
||||
<result column="df" jdbcType="DECIMAL" property="df" />
|
||||
<result column="p_1" jdbcType="DECIMAL" property="p1" />
|
||||
<result column="p_2" jdbcType="DECIMAL" property="p2" />
|
||||
<result column="p_3" jdbcType="DECIMAL" property="p3" />
|
||||
<result column="p_4" jdbcType="DECIMAL" property="p4" />
|
||||
<result column="p_5" jdbcType="DECIMAL" property="p5" />
|
||||
<result column="p_6" jdbcType="DECIMAL" property="p6" />
|
||||
<result column="p_7" jdbcType="DECIMAL" property="p7" />
|
||||
<result column="p_8" jdbcType="DECIMAL" property="p8" />
|
||||
<result column="p_9" jdbcType="DECIMAL" property="p9" />
|
||||
<result column="p_10" jdbcType="DECIMAL" property="p10" />
|
||||
<result column="p_11" jdbcType="DECIMAL" property="p11" />
|
||||
<result column="p_12" jdbcType="DECIMAL" property="p12" />
|
||||
<result column="p_13" jdbcType="DECIMAL" property="p13" />
|
||||
<result column="p_14" jdbcType="DECIMAL" property="p14" />
|
||||
<result column="p_15" jdbcType="DECIMAL" property="p15" />
|
||||
<result column="p_16" jdbcType="DECIMAL" property="p16" />
|
||||
<result column="p_17" jdbcType="DECIMAL" property="p17" />
|
||||
<result column="p_18" jdbcType="DECIMAL" property="p18" />
|
||||
<result column="p_19" jdbcType="DECIMAL" property="p19" />
|
||||
<result column="p_20" jdbcType="DECIMAL" property="p20" />
|
||||
<result column="p_21" jdbcType="DECIMAL" property="p21" />
|
||||
<result column="p_22" jdbcType="DECIMAL" property="p22" />
|
||||
<result column="p_23" jdbcType="DECIMAL" property="p23" />
|
||||
<result column="p_24" jdbcType="DECIMAL" property="p24" />
|
||||
<result column="p_25" jdbcType="DECIMAL" property="p25" />
|
||||
<result column="p_26" jdbcType="DECIMAL" property="p26" />
|
||||
<result column="p_27" jdbcType="DECIMAL" property="p27" />
|
||||
<result column="p_28" jdbcType="DECIMAL" property="p28" />
|
||||
<result column="p_29" jdbcType="DECIMAL" property="p29" />
|
||||
<result column="p_30" jdbcType="DECIMAL" property="p30" />
|
||||
<result column="p_31" jdbcType="DECIMAL" property="p31" />
|
||||
<result column="p_32" jdbcType="DECIMAL" property="p32" />
|
||||
<result column="p_33" jdbcType="DECIMAL" property="p33" />
|
||||
<result column="p_34" jdbcType="DECIMAL" property="p34" />
|
||||
<result column="p_35" jdbcType="DECIMAL" property="p35" />
|
||||
<result column="p_36" jdbcType="DECIMAL" property="p36" />
|
||||
<result column="p_37" jdbcType="DECIMAL" property="p37" />
|
||||
<result column="p_38" jdbcType="DECIMAL" property="p38" />
|
||||
<result column="p_39" jdbcType="DECIMAL" property="p39" />
|
||||
<result column="p_40" jdbcType="DECIMAL" property="p40" />
|
||||
<result column="p_41" jdbcType="DECIMAL" property="p41" />
|
||||
<result column="p_42" jdbcType="DECIMAL" property="p42" />
|
||||
<result column="p_43" jdbcType="DECIMAL" property="p43" />
|
||||
<result column="p_44" jdbcType="DECIMAL" property="p44" />
|
||||
<result column="p_45" jdbcType="DECIMAL" property="p45" />
|
||||
<result column="p_46" jdbcType="DECIMAL" property="p46" />
|
||||
<result column="p_47" jdbcType="DECIMAL" property="p47" />
|
||||
<result column="p_48" jdbcType="DECIMAL" property="p48" />
|
||||
<result column="p_49" jdbcType="DECIMAL" property="p49" />
|
||||
<result column="p_50" jdbcType="DECIMAL" property="p50" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
<!--@mbg.generated-->
|
||||
`time`, line_id, phasic_type, value_type, quality_flag, p, pf, df, p_1, p_2, p_3,
|
||||
p_4, p_5, p_6, p_7, p_8, p_9, p_10, p_11, p_12, p_13, p_14, p_15, p_16, p_17, p_18,
|
||||
p_19, p_20, p_21, p_22, p_23, p_24, p_25, p_26, p_27, p_28, p_29, p_30, p_31, p_32,
|
||||
p_33, p_34, p_35, p_36, p_37, p_38, p_39, p_40, p_41, p_42, p_43, p_44, p_45, p_46,
|
||||
p_47, p_48, p_49, p_50
|
||||
</sql>
|
||||
</mapper>
|
||||
@@ -0,0 +1,72 @@
|
||||
<?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.csreport.mapper.RStatDataHarmpowerQDMapper">
|
||||
<resultMap id="BaseResultMap" type="com.njcn.csreport.pojo.po.RStatDataHarmpowerQD">
|
||||
<!--@mbg.generated-->
|
||||
<!--@Table r_stat_data_harmpower_q_d-->
|
||||
<result column="time" jdbcType="TIMESTAMP" property="time" />
|
||||
<result column="line_id" jdbcType="VARCHAR" property="lineId" />
|
||||
<result column="phasic_type" jdbcType="VARCHAR" property="phasicType" />
|
||||
<result column="value_type" jdbcType="VARCHAR" property="valueType" />
|
||||
<result column="quality_flag" jdbcType="INTEGER" property="qualityFlag" />
|
||||
<result column="q" jdbcType="DECIMAL" property="q" />
|
||||
<result column="q_1" jdbcType="DECIMAL" property="q1" />
|
||||
<result column="q_2" jdbcType="DECIMAL" property="q2" />
|
||||
<result column="q_3" jdbcType="DECIMAL" property="q3" />
|
||||
<result column="q_4" jdbcType="DECIMAL" property="q4" />
|
||||
<result column="q_5" jdbcType="DECIMAL" property="q5" />
|
||||
<result column="q_6" jdbcType="DECIMAL" property="q6" />
|
||||
<result column="q_7" jdbcType="DECIMAL" property="q7" />
|
||||
<result column="q_8" jdbcType="DECIMAL" property="q8" />
|
||||
<result column="q_9" jdbcType="DECIMAL" property="q9" />
|
||||
<result column="q_10" jdbcType="DECIMAL" property="q10" />
|
||||
<result column="q_11" jdbcType="DECIMAL" property="q11" />
|
||||
<result column="q_12" jdbcType="DECIMAL" property="q12" />
|
||||
<result column="q_13" jdbcType="DECIMAL" property="q13" />
|
||||
<result column="q_14" jdbcType="DECIMAL" property="q14" />
|
||||
<result column="q_15" jdbcType="DECIMAL" property="q15" />
|
||||
<result column="q_16" jdbcType="DECIMAL" property="q16" />
|
||||
<result column="q_17" jdbcType="DECIMAL" property="q17" />
|
||||
<result column="q_18" jdbcType="DECIMAL" property="q18" />
|
||||
<result column="q_19" jdbcType="DECIMAL" property="q19" />
|
||||
<result column="q_20" jdbcType="DECIMAL" property="q20" />
|
||||
<result column="q_21" jdbcType="DECIMAL" property="q21" />
|
||||
<result column="q_22" jdbcType="DECIMAL" property="q22" />
|
||||
<result column="q_23" jdbcType="DECIMAL" property="q23" />
|
||||
<result column="q_24" jdbcType="DECIMAL" property="q24" />
|
||||
<result column="q_25" jdbcType="DECIMAL" property="q25" />
|
||||
<result column="q_26" jdbcType="DECIMAL" property="q26" />
|
||||
<result column="q_27" jdbcType="DECIMAL" property="q27" />
|
||||
<result column="q_28" jdbcType="DECIMAL" property="q28" />
|
||||
<result column="q_29" jdbcType="DECIMAL" property="q29" />
|
||||
<result column="q_30" jdbcType="DECIMAL" property="q30" />
|
||||
<result column="q_31" jdbcType="DECIMAL" property="q31" />
|
||||
<result column="q_32" jdbcType="DECIMAL" property="q32" />
|
||||
<result column="q_33" jdbcType="DECIMAL" property="q33" />
|
||||
<result column="q_34" jdbcType="DECIMAL" property="q34" />
|
||||
<result column="q_35" jdbcType="DECIMAL" property="q35" />
|
||||
<result column="q_36" jdbcType="DECIMAL" property="q36" />
|
||||
<result column="q_37" jdbcType="DECIMAL" property="q37" />
|
||||
<result column="q_38" jdbcType="DECIMAL" property="q38" />
|
||||
<result column="q_39" jdbcType="DECIMAL" property="q39" />
|
||||
<result column="q_40" jdbcType="DECIMAL" property="q40" />
|
||||
<result column="q_41" jdbcType="DECIMAL" property="q41" />
|
||||
<result column="q_42" jdbcType="DECIMAL" property="q42" />
|
||||
<result column="q_43" jdbcType="DECIMAL" property="q43" />
|
||||
<result column="q_44" jdbcType="DECIMAL" property="q44" />
|
||||
<result column="q_45" jdbcType="DECIMAL" property="q45" />
|
||||
<result column="q_46" jdbcType="DECIMAL" property="q46" />
|
||||
<result column="q_47" jdbcType="DECIMAL" property="q47" />
|
||||
<result column="q_48" jdbcType="DECIMAL" property="q48" />
|
||||
<result column="q_49" jdbcType="DECIMAL" property="q49" />
|
||||
<result column="q_50" jdbcType="DECIMAL" property="q50" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
<!--@mbg.generated-->
|
||||
`time`, line_id, phasic_type, value_type, quality_flag, q, q_1, q_2, q_3, q_4, q_5,
|
||||
q_6, q_7, q_8, q_9, q_10, q_11, q_12, q_13, q_14, q_15, q_16, q_17, q_18, q_19, q_20,
|
||||
q_21, q_22, q_23, q_24, q_25, q_26, q_27, q_28, q_29, q_30, q_31, q_32, q_33, q_34,
|
||||
q_35, q_36, q_37, q_38, q_39, q_40, q_41, q_42, q_43, q_44, q_45, q_46, q_47, q_48,
|
||||
q_49, q_50
|
||||
</sql>
|
||||
</mapper>
|
||||
@@ -0,0 +1,72 @@
|
||||
<?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.csreport.mapper.RStatDataHarmpowerSDMapper">
|
||||
<resultMap id="BaseResultMap" type="com.njcn.csreport.pojo.po.RStatDataHarmpowerSD">
|
||||
<!--@mbg.generated-->
|
||||
<!--@Table r_stat_data_harmpower_s_d-->
|
||||
<result column="time" jdbcType="TIMESTAMP" property="time" />
|
||||
<result column="line_id" jdbcType="VARCHAR" property="lineId" />
|
||||
<result column="phasic_type" jdbcType="VARCHAR" property="phasicType" />
|
||||
<result column="value_type" jdbcType="VARCHAR" property="valueType" />
|
||||
<result column="quality_flag" jdbcType="INTEGER" property="qualityFlag" />
|
||||
<result column="s" jdbcType="DECIMAL" property="s" />
|
||||
<result column="s_1" jdbcType="DECIMAL" property="s1" />
|
||||
<result column="s_2" jdbcType="DECIMAL" property="s2" />
|
||||
<result column="s_3" jdbcType="DECIMAL" property="s3" />
|
||||
<result column="s_4" jdbcType="DECIMAL" property="s4" />
|
||||
<result column="s_5" jdbcType="DECIMAL" property="s5" />
|
||||
<result column="s_6" jdbcType="DECIMAL" property="s6" />
|
||||
<result column="s_7" jdbcType="DECIMAL" property="s7" />
|
||||
<result column="s_8" jdbcType="DECIMAL" property="s8" />
|
||||
<result column="s_9" jdbcType="DECIMAL" property="s9" />
|
||||
<result column="s_10" jdbcType="DECIMAL" property="s10" />
|
||||
<result column="s_11" jdbcType="DECIMAL" property="s11" />
|
||||
<result column="s_12" jdbcType="DECIMAL" property="s12" />
|
||||
<result column="s_13" jdbcType="DECIMAL" property="s13" />
|
||||
<result column="s_14" jdbcType="DECIMAL" property="s14" />
|
||||
<result column="s_15" jdbcType="DECIMAL" property="s15" />
|
||||
<result column="s_16" jdbcType="DECIMAL" property="s16" />
|
||||
<result column="s_17" jdbcType="DECIMAL" property="s17" />
|
||||
<result column="s_18" jdbcType="DECIMAL" property="s18" />
|
||||
<result column="s_19" jdbcType="DECIMAL" property="s19" />
|
||||
<result column="s_20" jdbcType="DECIMAL" property="s20" />
|
||||
<result column="s_21" jdbcType="DECIMAL" property="s21" />
|
||||
<result column="s_22" jdbcType="DECIMAL" property="s22" />
|
||||
<result column="s_23" jdbcType="DECIMAL" property="s23" />
|
||||
<result column="s_24" jdbcType="DECIMAL" property="s24" />
|
||||
<result column="s_25" jdbcType="DECIMAL" property="s25" />
|
||||
<result column="s_26" jdbcType="DECIMAL" property="s26" />
|
||||
<result column="s_27" jdbcType="DECIMAL" property="s27" />
|
||||
<result column="s_28" jdbcType="DECIMAL" property="s28" />
|
||||
<result column="s_29" jdbcType="DECIMAL" property="s29" />
|
||||
<result column="s_30" jdbcType="DECIMAL" property="s30" />
|
||||
<result column="s_31" jdbcType="DECIMAL" property="s31" />
|
||||
<result column="s_32" jdbcType="DECIMAL" property="s32" />
|
||||
<result column="s_33" jdbcType="DECIMAL" property="s33" />
|
||||
<result column="s_34" jdbcType="DECIMAL" property="s34" />
|
||||
<result column="s_35" jdbcType="DECIMAL" property="s35" />
|
||||
<result column="s_36" jdbcType="DECIMAL" property="s36" />
|
||||
<result column="s_37" jdbcType="DECIMAL" property="s37" />
|
||||
<result column="s_38" jdbcType="DECIMAL" property="s38" />
|
||||
<result column="s_39" jdbcType="DECIMAL" property="s39" />
|
||||
<result column="s_40" jdbcType="DECIMAL" property="s40" />
|
||||
<result column="s_41" jdbcType="DECIMAL" property="s41" />
|
||||
<result column="s_42" jdbcType="DECIMAL" property="s42" />
|
||||
<result column="s_43" jdbcType="DECIMAL" property="s43" />
|
||||
<result column="s_44" jdbcType="DECIMAL" property="s44" />
|
||||
<result column="s_45" jdbcType="DECIMAL" property="s45" />
|
||||
<result column="s_46" jdbcType="DECIMAL" property="s46" />
|
||||
<result column="s_47" jdbcType="DECIMAL" property="s47" />
|
||||
<result column="s_48" jdbcType="DECIMAL" property="s48" />
|
||||
<result column="s_49" jdbcType="DECIMAL" property="s49" />
|
||||
<result column="s_50" jdbcType="DECIMAL" property="s50" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
<!--@mbg.generated-->
|
||||
`time`, line_id, phasic_type, value_type, quality_flag, s, s_1, s_2, s_3, s_4, s_5,
|
||||
s_6, s_7, s_8, s_9, s_10, s_11, s_12, s_13, s_14, s_15, s_16, s_17, s_18, s_19, s_20,
|
||||
s_21, s_22, s_23, s_24, s_25, s_26, s_27, s_28, s_29, s_30, s_31, s_32, s_33, s_34,
|
||||
s_35, s_36, s_37, s_38, s_39, s_40, s_41, s_42, s_43, s_44, s_45, s_46, s_47, s_48,
|
||||
s_49, s_50
|
||||
</sql>
|
||||
</mapper>
|
||||
@@ -0,0 +1,71 @@
|
||||
<?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.csreport.mapper.RStatDataHarmrateIDMapper">
|
||||
<resultMap id="BaseResultMap" type="com.njcn.csreport.pojo.po.RStatDataHarmrateID">
|
||||
<!--@mbg.generated-->
|
||||
<!--@Table r_stat_data_harmrate_i_d-->
|
||||
<result column="time" jdbcType="TIMESTAMP" property="time" />
|
||||
<result column="line_id" jdbcType="VARCHAR" property="lineId" />
|
||||
<result column="phasic_type" jdbcType="VARCHAR" property="phasicType" />
|
||||
<result column="value_type" jdbcType="VARCHAR" property="valueType" />
|
||||
<result column="quality_flag" jdbcType="INTEGER" property="qualityFlag" />
|
||||
<result column="i_1" jdbcType="DECIMAL" property="i1" />
|
||||
<result column="i_2" jdbcType="DECIMAL" property="i2" />
|
||||
<result column="i_3" jdbcType="DECIMAL" property="i3" />
|
||||
<result column="i_4" jdbcType="DECIMAL" property="i4" />
|
||||
<result column="i_5" jdbcType="DECIMAL" property="i5" />
|
||||
<result column="i_6" jdbcType="DECIMAL" property="i6" />
|
||||
<result column="i_7" jdbcType="DECIMAL" property="i7" />
|
||||
<result column="i_8" jdbcType="DECIMAL" property="i8" />
|
||||
<result column="i_9" jdbcType="DECIMAL" property="i9" />
|
||||
<result column="i_10" jdbcType="DECIMAL" property="i10" />
|
||||
<result column="i_11" jdbcType="DECIMAL" property="i11" />
|
||||
<result column="i_12" jdbcType="DECIMAL" property="i12" />
|
||||
<result column="i_13" jdbcType="DECIMAL" property="i13" />
|
||||
<result column="i_14" jdbcType="DECIMAL" property="i14" />
|
||||
<result column="i_15" jdbcType="DECIMAL" property="i15" />
|
||||
<result column="i_16" jdbcType="DECIMAL" property="i16" />
|
||||
<result column="i_17" jdbcType="DECIMAL" property="i17" />
|
||||
<result column="i_18" jdbcType="DECIMAL" property="i18" />
|
||||
<result column="i_19" jdbcType="DECIMAL" property="i19" />
|
||||
<result column="i_20" jdbcType="DECIMAL" property="i20" />
|
||||
<result column="i_21" jdbcType="DECIMAL" property="i21" />
|
||||
<result column="i_22" jdbcType="DECIMAL" property="i22" />
|
||||
<result column="i_23" jdbcType="DECIMAL" property="i23" />
|
||||
<result column="i_24" jdbcType="DECIMAL" property="i24" />
|
||||
<result column="i_25" jdbcType="DECIMAL" property="i25" />
|
||||
<result column="i_26" jdbcType="DECIMAL" property="i26" />
|
||||
<result column="i_27" jdbcType="DECIMAL" property="i27" />
|
||||
<result column="i_28" jdbcType="DECIMAL" property="i28" />
|
||||
<result column="i_29" jdbcType="DECIMAL" property="i29" />
|
||||
<result column="i_30" jdbcType="DECIMAL" property="i30" />
|
||||
<result column="i_31" jdbcType="DECIMAL" property="i31" />
|
||||
<result column="i_32" jdbcType="DECIMAL" property="i32" />
|
||||
<result column="i_33" jdbcType="DECIMAL" property="i33" />
|
||||
<result column="i_34" jdbcType="DECIMAL" property="i34" />
|
||||
<result column="i_35" jdbcType="DECIMAL" property="i35" />
|
||||
<result column="i_36" jdbcType="DECIMAL" property="i36" />
|
||||
<result column="i_37" jdbcType="DECIMAL" property="i37" />
|
||||
<result column="i_38" jdbcType="DECIMAL" property="i38" />
|
||||
<result column="i_39" jdbcType="DECIMAL" property="i39" />
|
||||
<result column="i_40" jdbcType="DECIMAL" property="i40" />
|
||||
<result column="i_41" jdbcType="DECIMAL" property="i41" />
|
||||
<result column="i_42" jdbcType="DECIMAL" property="i42" />
|
||||
<result column="i_43" jdbcType="DECIMAL" property="i43" />
|
||||
<result column="i_44" jdbcType="DECIMAL" property="i44" />
|
||||
<result column="i_45" jdbcType="DECIMAL" property="i45" />
|
||||
<result column="i_46" jdbcType="DECIMAL" property="i46" />
|
||||
<result column="i_47" jdbcType="DECIMAL" property="i47" />
|
||||
<result column="i_48" jdbcType="DECIMAL" property="i48" />
|
||||
<result column="i_49" jdbcType="DECIMAL" property="i49" />
|
||||
<result column="i_50" jdbcType="DECIMAL" property="i50" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
<!--@mbg.generated-->
|
||||
`time`, line_id, phasic_type, value_type, quality_flag, i_1, i_2, i_3, i_4, i_5,
|
||||
i_6, i_7, i_8, i_9, i_10, i_11, i_12, i_13, i_14, i_15, i_16, i_17, i_18, i_19, i_20,
|
||||
i_21, i_22, i_23, i_24, i_25, i_26, i_27, i_28, i_29, i_30, i_31, i_32, i_33, i_34,
|
||||
i_35, i_36, i_37, i_38, i_39, i_40, i_41, i_42, i_43, i_44, i_45, i_46, i_47, i_48,
|
||||
i_49, i_50
|
||||
</sql>
|
||||
</mapper>
|
||||
@@ -0,0 +1,71 @@
|
||||
<?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.csreport.mapper.RStatDataHarmrateVDMapper">
|
||||
<resultMap id="BaseResultMap" type="com.njcn.csreport.pojo.po.RStatDataHarmrateVD">
|
||||
<!--@mbg.generated-->
|
||||
<!--@Table r_stat_data_harmrate_v_d-->
|
||||
<result column="time" jdbcType="TIMESTAMP" property="time" />
|
||||
<result column="line_id" jdbcType="VARCHAR" property="lineId" />
|
||||
<result column="phasic_type" jdbcType="VARCHAR" property="phasicType" />
|
||||
<result column="value_type" jdbcType="VARCHAR" property="valueType" />
|
||||
<result column="quality_flag" jdbcType="INTEGER" property="qualityFlag" />
|
||||
<result column="v_1" jdbcType="DECIMAL" property="v1" />
|
||||
<result column="v_2" jdbcType="DECIMAL" property="v2" />
|
||||
<result column="v_3" jdbcType="DECIMAL" property="v3" />
|
||||
<result column="v_4" jdbcType="DECIMAL" property="v4" />
|
||||
<result column="v_5" jdbcType="DECIMAL" property="v5" />
|
||||
<result column="v_6" jdbcType="DECIMAL" property="v6" />
|
||||
<result column="v_7" jdbcType="DECIMAL" property="v7" />
|
||||
<result column="v_8" jdbcType="DECIMAL" property="v8" />
|
||||
<result column="v_9" jdbcType="DECIMAL" property="v9" />
|
||||
<result column="v_10" jdbcType="DECIMAL" property="v10" />
|
||||
<result column="v_11" jdbcType="DECIMAL" property="v11" />
|
||||
<result column="v_12" jdbcType="DECIMAL" property="v12" />
|
||||
<result column="v_13" jdbcType="DECIMAL" property="v13" />
|
||||
<result column="v_14" jdbcType="DECIMAL" property="v14" />
|
||||
<result column="v_15" jdbcType="DECIMAL" property="v15" />
|
||||
<result column="v_16" jdbcType="DECIMAL" property="v16" />
|
||||
<result column="v_17" jdbcType="DECIMAL" property="v17" />
|
||||
<result column="v_18" jdbcType="DECIMAL" property="v18" />
|
||||
<result column="v_19" jdbcType="DECIMAL" property="v19" />
|
||||
<result column="v_20" jdbcType="DECIMAL" property="v20" />
|
||||
<result column="v_21" jdbcType="DECIMAL" property="v21" />
|
||||
<result column="v_22" jdbcType="DECIMAL" property="v22" />
|
||||
<result column="v_23" jdbcType="DECIMAL" property="v23" />
|
||||
<result column="v_24" jdbcType="DECIMAL" property="v24" />
|
||||
<result column="v_25" jdbcType="DECIMAL" property="v25" />
|
||||
<result column="v_26" jdbcType="DECIMAL" property="v26" />
|
||||
<result column="v_27" jdbcType="DECIMAL" property="v27" />
|
||||
<result column="v_28" jdbcType="DECIMAL" property="v28" />
|
||||
<result column="v_29" jdbcType="DECIMAL" property="v29" />
|
||||
<result column="v_30" jdbcType="DECIMAL" property="v30" />
|
||||
<result column="v_31" jdbcType="DECIMAL" property="v31" />
|
||||
<result column="v_32" jdbcType="DECIMAL" property="v32" />
|
||||
<result column="v_33" jdbcType="DECIMAL" property="v33" />
|
||||
<result column="v_34" jdbcType="DECIMAL" property="v34" />
|
||||
<result column="v_35" jdbcType="DECIMAL" property="v35" />
|
||||
<result column="v_36" jdbcType="DECIMAL" property="v36" />
|
||||
<result column="v_37" jdbcType="DECIMAL" property="v37" />
|
||||
<result column="v_38" jdbcType="DECIMAL" property="v38" />
|
||||
<result column="v_39" jdbcType="DECIMAL" property="v39" />
|
||||
<result column="v_40" jdbcType="DECIMAL" property="v40" />
|
||||
<result column="v_41" jdbcType="DECIMAL" property="v41" />
|
||||
<result column="v_42" jdbcType="DECIMAL" property="v42" />
|
||||
<result column="v_43" jdbcType="DECIMAL" property="v43" />
|
||||
<result column="v_44" jdbcType="DECIMAL" property="v44" />
|
||||
<result column="v_45" jdbcType="DECIMAL" property="v45" />
|
||||
<result column="v_46" jdbcType="DECIMAL" property="v46" />
|
||||
<result column="v_47" jdbcType="DECIMAL" property="v47" />
|
||||
<result column="v_48" jdbcType="DECIMAL" property="v48" />
|
||||
<result column="v_49" jdbcType="DECIMAL" property="v49" />
|
||||
<result column="v_50" jdbcType="DECIMAL" property="v50" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
<!--@mbg.generated-->
|
||||
`time`, line_id, phasic_type, value_type, quality_flag, v_1, v_2, v_3, v_4, v_5,
|
||||
v_6, v_7, v_8, v_9, v_10, v_11, v_12, v_13, v_14, v_15, v_16, v_17, v_18, v_19, v_20,
|
||||
v_21, v_22, v_23, v_24, v_25, v_26, v_27, v_28, v_29, v_30, v_31, v_32, v_33, v_34,
|
||||
v_35, v_36, v_37, v_38, v_39, v_40, v_41, v_42, v_43, v_44, v_45, v_46, v_47, v_48,
|
||||
v_49, v_50
|
||||
</sql>
|
||||
</mapper>
|
||||
@@ -0,0 +1,77 @@
|
||||
<?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.csreport.mapper.RStatDataIDMapper">
|
||||
<resultMap id="BaseResultMap" type="com.njcn.csreport.pojo.po.RStatDataID">
|
||||
<!--@mbg.generated-->
|
||||
<!--@Table r_stat_data_i_d-->
|
||||
<result column="time" jdbcType="TIMESTAMP" property="time" />
|
||||
<result column="line_id" jdbcType="VARCHAR" property="lineId" />
|
||||
<result column="phasic_type" jdbcType="VARCHAR" property="phasicType" />
|
||||
<result column="value_type" jdbcType="VARCHAR" property="valueType" />
|
||||
<result column="quality_flag" jdbcType="INTEGER" property="qualityFlag" />
|
||||
<result column="i_neg" jdbcType="DECIMAL" property="iNeg" />
|
||||
<result column="i_pos" jdbcType="DECIMAL" property="iPos" />
|
||||
<result column="i_thd" jdbcType="DECIMAL" property="iThd" />
|
||||
<result column="i_unbalance" jdbcType="DECIMAL" property="iUnbalance" />
|
||||
<result column="i_zero" jdbcType="DECIMAL" property="iZero" />
|
||||
<result column="rms" jdbcType="DECIMAL" property="rms" />
|
||||
<result column="i_1" jdbcType="DECIMAL" property="i1" />
|
||||
<result column="i_2" jdbcType="DECIMAL" property="i2" />
|
||||
<result column="i_3" jdbcType="DECIMAL" property="i3" />
|
||||
<result column="i_4" jdbcType="DECIMAL" property="i4" />
|
||||
<result column="i_5" jdbcType="DECIMAL" property="i5" />
|
||||
<result column="i_6" jdbcType="DECIMAL" property="i6" />
|
||||
<result column="i_7" jdbcType="DECIMAL" property="i7" />
|
||||
<result column="i_8" jdbcType="DECIMAL" property="i8" />
|
||||
<result column="i_9" jdbcType="DECIMAL" property="i9" />
|
||||
<result column="i_10" jdbcType="DECIMAL" property="i10" />
|
||||
<result column="i_11" jdbcType="DECIMAL" property="i11" />
|
||||
<result column="i_12" jdbcType="DECIMAL" property="i12" />
|
||||
<result column="i_13" jdbcType="DECIMAL" property="i13" />
|
||||
<result column="i_14" jdbcType="DECIMAL" property="i14" />
|
||||
<result column="i_15" jdbcType="DECIMAL" property="i15" />
|
||||
<result column="i_16" jdbcType="DECIMAL" property="i16" />
|
||||
<result column="i_17" jdbcType="DECIMAL" property="i17" />
|
||||
<result column="i_18" jdbcType="DECIMAL" property="i18" />
|
||||
<result column="i_19" jdbcType="DECIMAL" property="i19" />
|
||||
<result column="i_20" jdbcType="DECIMAL" property="i20" />
|
||||
<result column="i_21" jdbcType="DECIMAL" property="i21" />
|
||||
<result column="i_22" jdbcType="DECIMAL" property="i22" />
|
||||
<result column="i_23" jdbcType="DECIMAL" property="i23" />
|
||||
<result column="i_24" jdbcType="DECIMAL" property="i24" />
|
||||
<result column="i_25" jdbcType="DECIMAL" property="i25" />
|
||||
<result column="i_26" jdbcType="DECIMAL" property="i26" />
|
||||
<result column="i_27" jdbcType="DECIMAL" property="i27" />
|
||||
<result column="i_28" jdbcType="DECIMAL" property="i28" />
|
||||
<result column="i_29" jdbcType="DECIMAL" property="i29" />
|
||||
<result column="i_30" jdbcType="DECIMAL" property="i30" />
|
||||
<result column="i_31" jdbcType="DECIMAL" property="i31" />
|
||||
<result column="i_32" jdbcType="DECIMAL" property="i32" />
|
||||
<result column="i_33" jdbcType="DECIMAL" property="i33" />
|
||||
<result column="i_34" jdbcType="DECIMAL" property="i34" />
|
||||
<result column="i_35" jdbcType="DECIMAL" property="i35" />
|
||||
<result column="i_36" jdbcType="DECIMAL" property="i36" />
|
||||
<result column="i_37" jdbcType="DECIMAL" property="i37" />
|
||||
<result column="i_38" jdbcType="DECIMAL" property="i38" />
|
||||
<result column="i_39" jdbcType="DECIMAL" property="i39" />
|
||||
<result column="i_40" jdbcType="DECIMAL" property="i40" />
|
||||
<result column="i_41" jdbcType="DECIMAL" property="i41" />
|
||||
<result column="i_42" jdbcType="DECIMAL" property="i42" />
|
||||
<result column="i_43" jdbcType="DECIMAL" property="i43" />
|
||||
<result column="i_44" jdbcType="DECIMAL" property="i44" />
|
||||
<result column="i_45" jdbcType="DECIMAL" property="i45" />
|
||||
<result column="i_46" jdbcType="DECIMAL" property="i46" />
|
||||
<result column="i_47" jdbcType="DECIMAL" property="i47" />
|
||||
<result column="i_48" jdbcType="DECIMAL" property="i48" />
|
||||
<result column="i_49" jdbcType="DECIMAL" property="i49" />
|
||||
<result column="i_50" jdbcType="DECIMAL" property="i50" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
<!--@mbg.generated-->
|
||||
`time`, line_id, phasic_type, value_type, quality_flag, i_neg, i_pos, i_thd, i_unbalance,
|
||||
i_zero, rms, i_1, i_2, i_3, i_4, i_5, i_6, i_7, i_8, i_9, i_10, i_11, i_12, i_13,
|
||||
i_14, i_15, i_16, i_17, i_18, i_19, i_20, i_21, i_22, i_23, i_24, i_25, i_26, i_27,
|
||||
i_28, i_29, i_30, i_31, i_32, i_33, i_34, i_35, i_36, i_37, i_38, i_39, i_40, i_41,
|
||||
i_42, i_43, i_44, i_45, i_46, i_47, i_48, i_49, i_50
|
||||
</sql>
|
||||
</mapper>
|
||||
@@ -0,0 +1,71 @@
|
||||
<?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.csreport.mapper.RStatDataInharmIDMapper">
|
||||
<resultMap id="BaseResultMap" type="com.njcn.csreport.pojo.po.RStatDataInharmID">
|
||||
<!--@mbg.generated-->
|
||||
<!--@Table r_stat_data_inharm_i_d-->
|
||||
<result column="time" jdbcType="TIMESTAMP" property="time" />
|
||||
<result column="line_id" jdbcType="VARCHAR" property="lineId" />
|
||||
<result column="phasic_type" jdbcType="VARCHAR" property="phasicType" />
|
||||
<result column="value_type" jdbcType="VARCHAR" property="valueType" />
|
||||
<result column="quality_flag" jdbcType="INTEGER" property="qualityFlag" />
|
||||
<result column="i_1" jdbcType="DECIMAL" property="i1" />
|
||||
<result column="i_2" jdbcType="DECIMAL" property="i2" />
|
||||
<result column="i_3" jdbcType="DECIMAL" property="i3" />
|
||||
<result column="i_4" jdbcType="DECIMAL" property="i4" />
|
||||
<result column="i_5" jdbcType="DECIMAL" property="i5" />
|
||||
<result column="i_6" jdbcType="DECIMAL" property="i6" />
|
||||
<result column="i_7" jdbcType="DECIMAL" property="i7" />
|
||||
<result column="i_8" jdbcType="DECIMAL" property="i8" />
|
||||
<result column="i_9" jdbcType="DECIMAL" property="i9" />
|
||||
<result column="i_10" jdbcType="DECIMAL" property="i10" />
|
||||
<result column="i_11" jdbcType="DECIMAL" property="i11" />
|
||||
<result column="i_12" jdbcType="DECIMAL" property="i12" />
|
||||
<result column="i_13" jdbcType="DECIMAL" property="i13" />
|
||||
<result column="i_14" jdbcType="DECIMAL" property="i14" />
|
||||
<result column="i_15" jdbcType="DECIMAL" property="i15" />
|
||||
<result column="i_16" jdbcType="DECIMAL" property="i16" />
|
||||
<result column="i_17" jdbcType="DECIMAL" property="i17" />
|
||||
<result column="i_18" jdbcType="DECIMAL" property="i18" />
|
||||
<result column="i_19" jdbcType="DECIMAL" property="i19" />
|
||||
<result column="i_20" jdbcType="DECIMAL" property="i20" />
|
||||
<result column="i_21" jdbcType="DECIMAL" property="i21" />
|
||||
<result column="i_22" jdbcType="DECIMAL" property="i22" />
|
||||
<result column="i_23" jdbcType="DECIMAL" property="i23" />
|
||||
<result column="i_24" jdbcType="DECIMAL" property="i24" />
|
||||
<result column="i_25" jdbcType="DECIMAL" property="i25" />
|
||||
<result column="i_26" jdbcType="DECIMAL" property="i26" />
|
||||
<result column="i_27" jdbcType="DECIMAL" property="i27" />
|
||||
<result column="i_28" jdbcType="DECIMAL" property="i28" />
|
||||
<result column="i_29" jdbcType="DECIMAL" property="i29" />
|
||||
<result column="i_30" jdbcType="DECIMAL" property="i30" />
|
||||
<result column="i_31" jdbcType="DECIMAL" property="i31" />
|
||||
<result column="i_32" jdbcType="DECIMAL" property="i32" />
|
||||
<result column="i_33" jdbcType="DECIMAL" property="i33" />
|
||||
<result column="i_34" jdbcType="DECIMAL" property="i34" />
|
||||
<result column="i_35" jdbcType="DECIMAL" property="i35" />
|
||||
<result column="i_36" jdbcType="DECIMAL" property="i36" />
|
||||
<result column="i_37" jdbcType="DECIMAL" property="i37" />
|
||||
<result column="i_38" jdbcType="DECIMAL" property="i38" />
|
||||
<result column="i_39" jdbcType="DECIMAL" property="i39" />
|
||||
<result column="i_40" jdbcType="DECIMAL" property="i40" />
|
||||
<result column="i_41" jdbcType="DECIMAL" property="i41" />
|
||||
<result column="i_42" jdbcType="DECIMAL" property="i42" />
|
||||
<result column="i_43" jdbcType="DECIMAL" property="i43" />
|
||||
<result column="i_44" jdbcType="DECIMAL" property="i44" />
|
||||
<result column="i_45" jdbcType="DECIMAL" property="i45" />
|
||||
<result column="i_46" jdbcType="DECIMAL" property="i46" />
|
||||
<result column="i_47" jdbcType="DECIMAL" property="i47" />
|
||||
<result column="i_48" jdbcType="DECIMAL" property="i48" />
|
||||
<result column="i_49" jdbcType="DECIMAL" property="i49" />
|
||||
<result column="i_50" jdbcType="DECIMAL" property="i50" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
<!--@mbg.generated-->
|
||||
`time`, line_id, phasic_type, value_type, quality_flag, i_1, i_2, i_3, i_4, i_5,
|
||||
i_6, i_7, i_8, i_9, i_10, i_11, i_12, i_13, i_14, i_15, i_16, i_17, i_18, i_19, i_20,
|
||||
i_21, i_22, i_23, i_24, i_25, i_26, i_27, i_28, i_29, i_30, i_31, i_32, i_33, i_34,
|
||||
i_35, i_36, i_37, i_38, i_39, i_40, i_41, i_42, i_43, i_44, i_45, i_46, i_47, i_48,
|
||||
i_49, i_50
|
||||
</sql>
|
||||
</mapper>
|
||||
@@ -0,0 +1,71 @@
|
||||
<?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.csreport.mapper.RStatDataInharmVDMapper">
|
||||
<resultMap id="BaseResultMap" type="com.njcn.csreport.pojo.po.RStatDataInharmVD">
|
||||
<!--@mbg.generated-->
|
||||
<!--@Table r_stat_data_inharm_v_d-->
|
||||
<result column="time" jdbcType="TIMESTAMP" property="time" />
|
||||
<result column="line_id" jdbcType="VARCHAR" property="lineId" />
|
||||
<result column="phasic_type" jdbcType="VARCHAR" property="phasicType" />
|
||||
<result column="value_type" jdbcType="VARCHAR" property="valueType" />
|
||||
<result column="quality_flag" jdbcType="INTEGER" property="qualityFlag" />
|
||||
<result column="v_1" jdbcType="DECIMAL" property="v1" />
|
||||
<result column="v_2" jdbcType="DECIMAL" property="v2" />
|
||||
<result column="v_3" jdbcType="DECIMAL" property="v3" />
|
||||
<result column="v_4" jdbcType="DECIMAL" property="v4" />
|
||||
<result column="v_5" jdbcType="DECIMAL" property="v5" />
|
||||
<result column="v_6" jdbcType="DECIMAL" property="v6" />
|
||||
<result column="v_7" jdbcType="DECIMAL" property="v7" />
|
||||
<result column="v_8" jdbcType="DECIMAL" property="v8" />
|
||||
<result column="v_9" jdbcType="DECIMAL" property="v9" />
|
||||
<result column="v_10" jdbcType="DECIMAL" property="v10" />
|
||||
<result column="v_11" jdbcType="DECIMAL" property="v11" />
|
||||
<result column="v_12" jdbcType="DECIMAL" property="v12" />
|
||||
<result column="v_13" jdbcType="DECIMAL" property="v13" />
|
||||
<result column="v_14" jdbcType="DECIMAL" property="v14" />
|
||||
<result column="v_15" jdbcType="DECIMAL" property="v15" />
|
||||
<result column="v_16" jdbcType="DECIMAL" property="v16" />
|
||||
<result column="v_17" jdbcType="DECIMAL" property="v17" />
|
||||
<result column="v_18" jdbcType="DECIMAL" property="v18" />
|
||||
<result column="v_19" jdbcType="DECIMAL" property="v19" />
|
||||
<result column="v_20" jdbcType="DECIMAL" property="v20" />
|
||||
<result column="v_21" jdbcType="DECIMAL" property="v21" />
|
||||
<result column="v_22" jdbcType="DECIMAL" property="v22" />
|
||||
<result column="v_23" jdbcType="DECIMAL" property="v23" />
|
||||
<result column="v_24" jdbcType="DECIMAL" property="v24" />
|
||||
<result column="v_25" jdbcType="DECIMAL" property="v25" />
|
||||
<result column="v_26" jdbcType="DECIMAL" property="v26" />
|
||||
<result column="v_27" jdbcType="DECIMAL" property="v27" />
|
||||
<result column="v_28" jdbcType="DECIMAL" property="v28" />
|
||||
<result column="v_29" jdbcType="DECIMAL" property="v29" />
|
||||
<result column="v_30" jdbcType="DECIMAL" property="v30" />
|
||||
<result column="v_31" jdbcType="DECIMAL" property="v31" />
|
||||
<result column="v_32" jdbcType="DECIMAL" property="v32" />
|
||||
<result column="v_33" jdbcType="DECIMAL" property="v33" />
|
||||
<result column="v_34" jdbcType="DECIMAL" property="v34" />
|
||||
<result column="v_35" jdbcType="DECIMAL" property="v35" />
|
||||
<result column="v_36" jdbcType="DECIMAL" property="v36" />
|
||||
<result column="v_37" jdbcType="DECIMAL" property="v37" />
|
||||
<result column="v_38" jdbcType="DECIMAL" property="v38" />
|
||||
<result column="v_39" jdbcType="DECIMAL" property="v39" />
|
||||
<result column="v_40" jdbcType="DECIMAL" property="v40" />
|
||||
<result column="v_41" jdbcType="DECIMAL" property="v41" />
|
||||
<result column="v_42" jdbcType="DECIMAL" property="v42" />
|
||||
<result column="v_43" jdbcType="DECIMAL" property="v43" />
|
||||
<result column="v_44" jdbcType="DECIMAL" property="v44" />
|
||||
<result column="v_45" jdbcType="DECIMAL" property="v45" />
|
||||
<result column="v_46" jdbcType="DECIMAL" property="v46" />
|
||||
<result column="v_47" jdbcType="DECIMAL" property="v47" />
|
||||
<result column="v_48" jdbcType="DECIMAL" property="v48" />
|
||||
<result column="v_49" jdbcType="DECIMAL" property="v49" />
|
||||
<result column="v_50" jdbcType="DECIMAL" property="v50" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
<!--@mbg.generated-->
|
||||
`time`, line_id, phasic_type, value_type, quality_flag, v_1, v_2, v_3, v_4, v_5,
|
||||
v_6, v_7, v_8, v_9, v_10, v_11, v_12, v_13, v_14, v_15, v_16, v_17, v_18, v_19, v_20,
|
||||
v_21, v_22, v_23, v_24, v_25, v_26, v_27, v_28, v_29, v_30, v_31, v_32, v_33, v_34,
|
||||
v_35, v_36, v_37, v_38, v_39, v_40, v_41, v_42, v_43, v_44, v_45, v_46, v_47, v_48,
|
||||
v_49, v_50
|
||||
</sql>
|
||||
</mapper>
|
||||
@@ -0,0 +1,18 @@
|
||||
<?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.csreport.mapper.RStatDataPltDMapper">
|
||||
<resultMap id="BaseResultMap" type="com.njcn.csreport.pojo.po.RStatDataPltD">
|
||||
<!--@mbg.generated-->
|
||||
<!--@Table r_stat_data_plt_d-->
|
||||
<result column="time" jdbcType="TIMESTAMP" property="time" />
|
||||
<result column="line_id" jdbcType="VARCHAR" property="lineId" />
|
||||
<result column="phasic_type" jdbcType="VARCHAR" property="phasicType" />
|
||||
<result column="value_type" jdbcType="VARCHAR" property="valueType" />
|
||||
<result column="quality_flag" jdbcType="INTEGER" property="qualityFlag" />
|
||||
<result column="plt" jdbcType="DECIMAL" property="plt" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
<!--@mbg.generated-->
|
||||
`time`, line_id, phasic_type, value_type, quality_flag, plt
|
||||
</sql>
|
||||
</mapper>
|
||||
@@ -0,0 +1,17 @@
|
||||
package com.njcn.csreport.service;
|
||||
|
||||
import com.github.jeffreyning.mybatisplus.service.IMppService;
|
||||
import com.njcn.csreport.pojo.po.RStatDataFlickerD;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
* Date: 2024/9/13 14:26【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
public interface RStatDataFlickerDService extends IMppService<RStatDataFlickerD> {
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package com.njcn.csreport.service;
|
||||
|
||||
import com.github.jeffreyning.mybatisplus.service.IMppService;
|
||||
import com.njcn.csreport.pojo.po.RStatDataFlucD;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
* Date: 2024/9/13 14:29【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
public interface RStatDataFlucDService extends IMppService<RStatDataFlucD> {
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package com.njcn.csreport.service;
|
||||
|
||||
import com.github.jeffreyning.mybatisplus.service.IMppService;
|
||||
import com.njcn.csreport.pojo.po.RStatDataHarmphasicID;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
* Date: 2024/9/13 14:29【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
public interface RStatDataHarmphasicIDService extends IMppService<RStatDataHarmphasicID> {
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package com.njcn.csreport.service;
|
||||
|
||||
import com.github.jeffreyning.mybatisplus.service.IMppService;
|
||||
import com.njcn.csreport.pojo.po.RStatDataHarmphasicVD;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
* Date: 2024/9/13 14:29【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
public interface RStatDataHarmphasicVDService extends IMppService<RStatDataHarmphasicVD> {
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package com.njcn.csreport.service;
|
||||
|
||||
import com.github.jeffreyning.mybatisplus.service.IMppService;
|
||||
import com.njcn.csreport.pojo.po.RStatDataHarmpowerPD;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
* Date: 2024/9/13 14:29【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
public interface RStatDataHarmpowerPDService extends IMppService<RStatDataHarmpowerPD> {
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package com.njcn.csreport.service;
|
||||
|
||||
import com.github.jeffreyning.mybatisplus.service.IMppService;
|
||||
import com.njcn.csreport.pojo.po.RStatDataHarmpowerQD;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
* Date: 2024/9/13 14:29【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
public interface RStatDataHarmpowerQDService extends IMppService<RStatDataHarmpowerQD> {
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package com.njcn.csreport.service;
|
||||
|
||||
import com.github.jeffreyning.mybatisplus.service.IMppService;
|
||||
import com.njcn.csreport.pojo.po.RStatDataHarmpowerSD;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
* Date: 2024/9/13 14:29【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
public interface RStatDataHarmpowerSDService extends IMppService<RStatDataHarmpowerSD> {
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package com.njcn.csreport.service;
|
||||
|
||||
import com.github.jeffreyning.mybatisplus.service.IMppService;
|
||||
import com.njcn.csreport.pojo.po.RStatDataHarmrateID;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
* Date: 2024/9/13 14:29【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
public interface RStatDataHarmrateIDService extends IMppService<RStatDataHarmrateID> {
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package com.njcn.csreport.service;
|
||||
|
||||
import com.github.jeffreyning.mybatisplus.service.IMppService;
|
||||
import com.njcn.csreport.pojo.po.RStatDataHarmrateVD;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
* Date: 2024/9/13 14:29【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
public interface RStatDataHarmrateVDService extends IMppService<RStatDataHarmrateVD> {
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package com.njcn.csreport.service;
|
||||
|
||||
import com.github.jeffreyning.mybatisplus.service.IMppService;
|
||||
import com.njcn.csreport.pojo.po.RStatDataID;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
* Date: 2024/9/13 14:29【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
public interface RStatDataIDService extends IMppService<RStatDataID> {
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package com.njcn.csreport.service;
|
||||
|
||||
import com.github.jeffreyning.mybatisplus.service.IMppService;
|
||||
import com.njcn.csreport.pojo.po.RStatDataInharmID;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
* Date: 2024/9/13 14:30【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
public interface RStatDataInharmIDService extends IMppService<RStatDataInharmID> {
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package com.njcn.csreport.service;
|
||||
|
||||
import com.github.jeffreyning.mybatisplus.service.IMppService;
|
||||
import com.njcn.csreport.pojo.po.RStatDataInharmVD;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
* Date: 2024/9/13 14:30【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
public interface RStatDataInharmVDService extends IMppService<RStatDataInharmVD> {
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package com.njcn.csreport.service;
|
||||
|
||||
import com.github.jeffreyning.mybatisplus.service.IMppService;
|
||||
import com.njcn.csreport.pojo.po.RStatDataPltD;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
* Date: 2024/9/13 14:30【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
public interface RStatDataPltDService extends IMppService<RStatDataPltD> {
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package com.njcn.csreport.service;
|
||||
|
||||
import com.github.jeffreyning.mybatisplus.service.IMppService;
|
||||
import com.njcn.csreport.pojo.po.RStatDataVD;
|
||||
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
* Date: 2024/9/13 9:10【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
public interface RStatDataVDService extends IMppService<RStatDataVD> {
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package com.njcn.csreport.service.impl;
|
||||
|
||||
import com.github.jeffreyning.mybatisplus.service.MppServiceImpl;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import java.util.List;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.njcn.csreport.mapper.RStatDataFlickerDMapper;
|
||||
import com.njcn.csreport.pojo.po.RStatDataFlickerD;
|
||||
import com.njcn.csreport.service.RStatDataFlickerDService;
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
* Date: 2024/9/13 14:26【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
@Service
|
||||
public class RStatDataFlickerDServiceImpl extends MppServiceImpl<RStatDataFlickerDMapper, RStatDataFlickerD> implements RStatDataFlickerDService{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package com.njcn.csreport.service.impl;
|
||||
|
||||
import com.github.jeffreyning.mybatisplus.service.MppServiceImpl;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import java.util.List;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.njcn.csreport.pojo.po.RStatDataFlucD;
|
||||
import com.njcn.csreport.mapper.RStatDataFlucDMapper;
|
||||
import com.njcn.csreport.service.RStatDataFlucDService;
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
* Date: 2024/9/13 14:29【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
@Service
|
||||
public class RStatDataFlucDServiceImpl extends MppServiceImpl<RStatDataFlucDMapper, RStatDataFlucD> implements RStatDataFlucDService{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package com.njcn.csreport.service.impl;
|
||||
|
||||
import com.github.jeffreyning.mybatisplus.service.MppServiceImpl;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import java.util.List;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.njcn.csreport.pojo.po.RStatDataHarmphasicID;
|
||||
import com.njcn.csreport.mapper.RStatDataHarmphasicIDMapper;
|
||||
import com.njcn.csreport.service.RStatDataHarmphasicIDService;
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
* Date: 2024/9/13 14:29【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
@Service
|
||||
public class RStatDataHarmphasicIDServiceImpl extends MppServiceImpl<RStatDataHarmphasicIDMapper, RStatDataHarmphasicID> implements RStatDataHarmphasicIDService{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package com.njcn.csreport.service.impl;
|
||||
|
||||
import com.github.jeffreyning.mybatisplus.service.MppServiceImpl;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import java.util.List;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.njcn.csreport.pojo.po.RStatDataHarmphasicVD;
|
||||
import com.njcn.csreport.mapper.RStatDataHarmphasicVDMapper;
|
||||
import com.njcn.csreport.service.RStatDataHarmphasicVDService;
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
* Date: 2024/9/13 14:29【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
@Service
|
||||
public class RStatDataHarmphasicVDServiceImpl extends MppServiceImpl<RStatDataHarmphasicVDMapper, RStatDataHarmphasicVD> implements RStatDataHarmphasicVDService{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package com.njcn.csreport.service.impl;
|
||||
|
||||
import com.github.jeffreyning.mybatisplus.service.MppServiceImpl;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import java.util.List;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.njcn.csreport.pojo.po.RStatDataHarmpowerPD;
|
||||
import com.njcn.csreport.mapper.RStatDataHarmpowerPDMapper;
|
||||
import com.njcn.csreport.service.RStatDataHarmpowerPDService;
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
* Date: 2024/9/13 14:29【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
@Service
|
||||
public class RStatDataHarmpowerPDServiceImpl extends MppServiceImpl<RStatDataHarmpowerPDMapper, RStatDataHarmpowerPD> implements RStatDataHarmpowerPDService{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package com.njcn.csreport.service.impl;
|
||||
|
||||
import com.github.jeffreyning.mybatisplus.service.MppServiceImpl;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import java.util.List;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.njcn.csreport.pojo.po.RStatDataHarmpowerQD;
|
||||
import com.njcn.csreport.mapper.RStatDataHarmpowerQDMapper;
|
||||
import com.njcn.csreport.service.RStatDataHarmpowerQDService;
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
* Date: 2024/9/13 14:29【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
@Service
|
||||
public class RStatDataHarmpowerQDServiceImpl extends MppServiceImpl<RStatDataHarmpowerQDMapper, RStatDataHarmpowerQD> implements RStatDataHarmpowerQDService{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package com.njcn.csreport.service.impl;
|
||||
|
||||
import com.github.jeffreyning.mybatisplus.service.MppServiceImpl;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import java.util.List;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.njcn.csreport.mapper.RStatDataHarmpowerSDMapper;
|
||||
import com.njcn.csreport.pojo.po.RStatDataHarmpowerSD;
|
||||
import com.njcn.csreport.service.RStatDataHarmpowerSDService;
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
* Date: 2024/9/13 14:29【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
@Service
|
||||
public class RStatDataHarmpowerSDServiceImpl extends MppServiceImpl<RStatDataHarmpowerSDMapper, RStatDataHarmpowerSD> implements RStatDataHarmpowerSDService{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package com.njcn.csreport.service.impl;
|
||||
|
||||
import com.github.jeffreyning.mybatisplus.service.MppServiceImpl;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import java.util.List;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.njcn.csreport.mapper.RStatDataHarmrateIDMapper;
|
||||
import com.njcn.csreport.pojo.po.RStatDataHarmrateID;
|
||||
import com.njcn.csreport.service.RStatDataHarmrateIDService;
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
* Date: 2024/9/13 14:29【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
@Service
|
||||
public class RStatDataHarmrateIDServiceImpl extends MppServiceImpl<RStatDataHarmrateIDMapper, RStatDataHarmrateID> implements RStatDataHarmrateIDService{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package com.njcn.csreport.service.impl;
|
||||
|
||||
import com.github.jeffreyning.mybatisplus.service.MppServiceImpl;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import java.util.List;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.njcn.csreport.mapper.RStatDataHarmrateVDMapper;
|
||||
import com.njcn.csreport.pojo.po.RStatDataHarmrateVD;
|
||||
import com.njcn.csreport.service.RStatDataHarmrateVDService;
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
* Date: 2024/9/13 14:29【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
@Service
|
||||
public class RStatDataHarmrateVDServiceImpl extends MppServiceImpl<RStatDataHarmrateVDMapper, RStatDataHarmrateVD> implements RStatDataHarmrateVDService{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package com.njcn.csreport.service.impl;
|
||||
|
||||
import com.github.jeffreyning.mybatisplus.service.MppServiceImpl;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import java.util.List;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.njcn.csreport.pojo.po.RStatDataID;
|
||||
import com.njcn.csreport.mapper.RStatDataIDMapper;
|
||||
import com.njcn.csreport.service.RStatDataIDService;
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
* Date: 2024/9/13 14:29【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
@Service
|
||||
public class RStatDataIDServiceImpl extends MppServiceImpl<RStatDataIDMapper, RStatDataID> implements RStatDataIDService{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package com.njcn.csreport.service.impl;
|
||||
|
||||
import com.github.jeffreyning.mybatisplus.service.MppServiceImpl;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import java.util.List;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.njcn.csreport.pojo.po.RStatDataInharmID;
|
||||
import com.njcn.csreport.mapper.RStatDataInharmIDMapper;
|
||||
import com.njcn.csreport.service.RStatDataInharmIDService;
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
* Date: 2024/9/13 14:30【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
@Service
|
||||
public class RStatDataInharmIDServiceImpl extends MppServiceImpl<RStatDataInharmIDMapper, RStatDataInharmID> implements RStatDataInharmIDService{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package com.njcn.csreport.service.impl;
|
||||
|
||||
import com.github.jeffreyning.mybatisplus.service.MppServiceImpl;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import java.util.List;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.njcn.csreport.pojo.po.RStatDataInharmVD;
|
||||
import com.njcn.csreport.mapper.RStatDataInharmVDMapper;
|
||||
import com.njcn.csreport.service.RStatDataInharmVDService;
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
* Date: 2024/9/13 14:30【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
@Service
|
||||
public class RStatDataInharmVDServiceImpl extends MppServiceImpl<RStatDataInharmVDMapper, RStatDataInharmVD> implements RStatDataInharmVDService{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package com.njcn.csreport.service.impl;
|
||||
|
||||
import com.github.jeffreyning.mybatisplus.service.MppServiceImpl;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import java.util.List;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.njcn.csreport.mapper.RStatDataPltDMapper;
|
||||
import com.njcn.csreport.pojo.po.RStatDataPltD;
|
||||
import com.njcn.csreport.service.RStatDataPltDService;
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
* Date: 2024/9/13 14:30【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
@Service
|
||||
public class RStatDataPltDServiceImpl extends MppServiceImpl<RStatDataPltDMapper, RStatDataPltD> implements RStatDataPltDService{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
package com.njcn.csreport.service.impl;
|
||||
|
||||
|
||||
import com.github.jeffreyning.mybatisplus.service.MppServiceImpl;
|
||||
import com.njcn.csreport.mapper.RStatDataVDMapper;
|
||||
import com.njcn.csreport.service.RStatDataVDService;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.njcn.csreport.pojo.po.RStatDataVD;
|
||||
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
* Date: 2024/9/13 9:10【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
@Service
|
||||
public class RStatDataVDServiceImpl extends MppServiceImpl<RStatDataVDMapper, RStatDataVD> implements RStatDataVDService {
|
||||
|
||||
}
|
||||
@@ -29,7 +29,7 @@ spring:
|
||||
shared-configs:
|
||||
- data-id: share-config.yaml
|
||||
refresh: true
|
||||
- data-Id: algorithm-config.yaml
|
||||
- data-Id: share-config-datasource-db.yaml
|
||||
refresh: true
|
||||
main:
|
||||
allow-bean-definition-overriding: true
|
||||
|
||||
Reference in New Issue
Block a user