实体类修改
This commit is contained in:
parent
a1c64c5f26
commit
0a2c847b7a
|
@ -1,22 +1,19 @@
|
|||
package org.jeecg.modules.base.vo;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.LinkedList;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class BgCalibratePara implements Serializable {
|
||||
|
||||
private List<Double> b_e_cal; //b 能刻度系数
|
||||
private List<Double> g_e_cal; //g 能刻度系数
|
||||
private int b_e_cal_flag; //b 自计算刻度系数配置
|
||||
private int g_e_cal_flag; //g 自计算刻度系数配置
|
||||
private boolean bApplyNewCalicSample; // 界面交互新刻度应用
|
||||
private boolean bApplyNewCalicDetBg;
|
||||
private boolean bApplyNewCalicGasBg;
|
||||
private boolean bApplyNewCalicQc;
|
||||
public List<Double> b_e_cal; //b 能刻度系数
|
||||
public List<Double> g_e_cal; //g 能刻度系数
|
||||
public int b_e_cal_flag; //b 自计算刻度系数配置
|
||||
public int g_e_cal_flag; //g 自计算刻度系数配置
|
||||
public boolean bApplyNewCalicSample; // 界面交互新刻度应用
|
||||
public boolean bApplyNewCalicDetBg;
|
||||
public boolean bApplyNewCalicGasBg;
|
||||
public boolean bApplyNewCalicQc;
|
||||
public BgCalibratePara() {
|
||||
b_e_cal = new LinkedList<>();
|
||||
g_e_cal = new LinkedList<>();
|
||||
|
|
|
@ -1,20 +1,19 @@
|
|||
package org.jeecg.modules.base.vo;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.LinkedList;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class SpectrumGroup implements Serializable {
|
||||
|
||||
private String SampleSpectrumFile;
|
||||
private String GasBgSpectrumFile;
|
||||
private String DetBgSpectrumFile;
|
||||
private BgCalibratePara BgCalPara;
|
||||
private List<Double> b_c2e;
|
||||
private List<Double> g_c2e;
|
||||
public String SampleSpectrumFile;
|
||||
public String GasBgSpectrumFile;
|
||||
public String DetBgSpectrumFile;
|
||||
public BgCalibratePara BgCalPara;
|
||||
public List<Double> b_c2e;
|
||||
public List<Double> g_c2e;
|
||||
|
||||
public Integer sampleId;
|
||||
|
||||
public SpectrumGroup(){
|
||||
BgCalPara = new BgCalibratePara();
|
||||
|
@ -23,3 +22,4 @@ public class SpectrumGroup implements Serializable {
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@ import org.jeecg.modules.base.vo.AnalyseData;
|
|||
import org.jeecg.modules.base.vo.FittingBody;
|
||||
import org.jeecg.modules.base.vo.StatisticsQueryData;
|
||||
import org.jeecg.modules.entity.GardsSampleDataSpectrum;
|
||||
import org.jeecg.modules.entity.vo.BgDataAnlyseResultIn;
|
||||
import org.jeecg.modules.service.ISpectrumAnalysisService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
@ -178,7 +179,7 @@ public class SpectrumAnalysesController {
|
|||
}
|
||||
|
||||
@PostMapping("saveToDB")
|
||||
public Result saveToDB(BgDataAnlyseResultIn anlyseResultIn){
|
||||
public Result saveToDB(@RequestBody BgDataAnlyseResultIn anlyseResultIn){
|
||||
return spectrumAnalysisService.saveToDB(anlyseResultIn);
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
package org.jeecg.modules.native_jni;
|
||||
|
||||
import org.jeecg.modules.entity.vo.SpectrumGroup;
|
||||
import org.jeecg.modules.native_jni.struct.BgAnalyseResult;
|
||||
import org.jeecg.modules.native_jni.struct.BgBoundary;
|
||||
import org.jeecg.modules.native_jni.struct.CalcBgBoundaryParam;
|
||||
|
|
|
@ -4,6 +4,7 @@ import org.jeecg.common.api.QueryRequest;
|
|||
import org.jeecg.common.api.vo.Result;
|
||||
import org.jeecg.modules.entity.GardsSampleDataSpectrum;
|
||||
import org.jeecg.modules.base.vo.*;
|
||||
import org.jeecg.modules.entity.vo.BgDataAnlyseResultIn;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
|
|
@ -19,6 +19,7 @@ import org.jeecg.modules.base.entity.original.*;
|
|||
import org.jeecg.modules.base.enums.*;
|
||||
import org.jeecg.modules.base.vo.*;
|
||||
import org.jeecg.modules.entity.*;
|
||||
import org.jeecg.modules.entity.vo.BgDataAnlyseResultIn;
|
||||
import org.jeecg.modules.mapper.SpectrumAnalysisMapper;
|
||||
import org.jeecg.modules.native_jni.EnergySpectrumHandler;
|
||||
import org.jeecg.modules.native_jni.struct.BgAnalyseResult;
|
||||
|
|
Loading…
Reference in New Issue
Block a user