whycxzp
2021-12-29 f2634f1df96eaa46d76f23b5bbeda579de468e14
在线监测-一体机导入记录模块 更新
5个文件已添加
244 ■■■■■ 已修改文件
src/main/java/com/whyc/controller/FBOTestDataInfController.java 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/whyc/mapper/FBOTestDataInfMapper.java 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/whyc/pojo/FBOTestDataInf.java 199 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/whyc/service/FBOTestDataInfService.java 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/mapper/FBOTestDataInfMapper.xml 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/whyc/controller/FBOTestDataInfController.java
New file
@@ -0,0 +1,18 @@
package com.whyc.controller;
import com.whyc.pojo.FBOTestDataInf;
import com.whyc.service.FBOTestDataInfService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RequestMapping("fBOTestDataInf")
@RestController
@Api(tags = "在线监测-一体机导入记录")
public class FBOTestDataInfController {
    @Autowired
    private FBOTestDataInfService service;
}
src/main/java/com/whyc/mapper/FBOTestDataInfMapper.java
New file
@@ -0,0 +1,6 @@
package com.whyc.mapper;
import com.whyc.pojo.FBOTestDataInf;
public interface FBOTestDataInfMapper extends CustomMapper<FBOTestDataInf> {
}
src/main/java/com/whyc/pojo/FBOTestDataInf.java
New file
@@ -0,0 +1,199 @@
package com.whyc.pojo;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.ibatis.type.Alias;
import java.util.Date;
/**
 * 一体机测试数据信息
 */
@Alias("FBOTestDataInf")
@TableName(schema = "db_fbo_testdata",value ="tb_fbotestdata_inf")
public class FBOTestDataInf {
    @TableId
    private Long num;
    @TableField("BattGroupId")
    private Integer battGroupId;
    private Integer testRecordCount;
    @TableField("test_starttime")
    private Date testStartTime;
    @TableField("test_timelong")
    private Integer testTimeLong;
    @TableField("device")
    private Integer deviceId;
    private Integer testType;
    @TableField("hourrate")
    private Integer hourRate;
    private Integer saveInterval;
    @TableField("monomervol")
    private Float monVol;
    @TableField("moncapstd")
    private Float monCapStd;
    private Float testCurr;
    private Float testCap;
    @TableField("monvol_limit")
    private Float monVolLimit;
    @TableField("gourpvol_limit")
    private Float groupVolLimit;
    private Integer monCount;
    @TableField("monvol_limitcount")
    private Integer monVolLimitCount;
    private Integer stopType;
    private Date downloadTime;
    public Long getNum() {
        return num;
    }
    public void setNum(Long num) {
        this.num = num;
    }
    public Integer getBattGroupId() {
        return battGroupId;
    }
    public void setBattGroupId(Integer battGroupId) {
        this.battGroupId = battGroupId;
    }
    public Integer getTestRecordCount() {
        return testRecordCount;
    }
    public void setTestRecordCount(Integer testRecordCount) {
        this.testRecordCount = testRecordCount;
    }
    public Date getTestStartTime() {
        return testStartTime;
    }
    public void setTestStartTime(Date testStartTime) {
        this.testStartTime = testStartTime;
    }
    public Integer getTestTimeLong() {
        return testTimeLong;
    }
    public void setTestTimeLong(Integer testTimeLong) {
        this.testTimeLong = testTimeLong;
    }
    public Integer getDeviceId() {
        return deviceId;
    }
    public void setDeviceId(Integer deviceId) {
        this.deviceId = deviceId;
    }
    public Integer getTestType() {
        return testType;
    }
    public void setTestType(Integer testType) {
        this.testType = testType;
    }
    public Integer getHourRate() {
        return hourRate;
    }
    public void setHourRate(Integer hourRate) {
        this.hourRate = hourRate;
    }
    public Integer getSaveInterval() {
        return saveInterval;
    }
    public void setSaveInterval(Integer saveInterval) {
        this.saveInterval = saveInterval;
    }
    public Float getMonVol() {
        return monVol;
    }
    public void setMonVol(Float monVol) {
        this.monVol = monVol;
    }
    public Float getMonCapStd() {
        return monCapStd;
    }
    public void setMonCapStd(Float monCapStd) {
        this.monCapStd = monCapStd;
    }
    public Float getTestCurr() {
        return testCurr;
    }
    public void setTestCurr(Float testCurr) {
        this.testCurr = testCurr;
    }
    public Float getTestCap() {
        return testCap;
    }
    public void setTestCap(Float testCap) {
        this.testCap = testCap;
    }
    public Float getMonVolLimit() {
        return monVolLimit;
    }
    public void setMonVolLimit(Float monVolLimit) {
        this.monVolLimit = monVolLimit;
    }
    public Float getGroupVolLimit() {
        return groupVolLimit;
    }
    public void setGroupVolLimit(Float groupVolLimit) {
        this.groupVolLimit = groupVolLimit;
    }
    public Integer getMonCount() {
        return monCount;
    }
    public void setMonCount(Integer monCount) {
        this.monCount = monCount;
    }
    public Integer getMonVolLimitCount() {
        return monVolLimitCount;
    }
    public void setMonVolLimitCount(Integer monVolLimitCount) {
        this.monVolLimitCount = monVolLimitCount;
    }
    public Integer getStopType() {
        return stopType;
    }
    public void setStopType(Integer stopType) {
        this.stopType = stopType;
    }
    public Date getDownloadTime() {
        return downloadTime;
    }
    public void setDownloadTime(Date downloadTime) {
        this.downloadTime = downloadTime;
    }
}
src/main/java/com/whyc/service/FBOTestDataInfService.java
New file
@@ -0,0 +1,15 @@
package com.whyc.service;
import com.whyc.mapper.FBOTestDataInfMapper;
import com.whyc.pojo.FBOTestDataInf;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
@Service
public class FBOTestDataInfService {
    @Resource
    private FBOTestDataInfMapper mapper;
}
src/main/resources/mapper/FBOTestDataInfMapper.xml
New file
@@ -0,0 +1,6 @@
<?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.whyc.mapper.FBOTestDataInfMapper" >
</mapper>