暂态周波可以是小数
This commit is contained in:
@@ -1112,7 +1112,7 @@ public class PqReportServiceImpl extends ServiceImpl<PqReportMapper, PqReport> i
|
||||
XWPFDocument dataModelDocumentTemp = new XWPFDocument(resource.getInputStream());
|
||||
|
||||
SingleNonHarmParam singleNonHarmParam = new SingleNonHarmParam();
|
||||
singleNonHarmParam.setPlanCode(Integer.valueOf(devReportParam.getPlanCode()));
|
||||
singleNonHarmParam.setPlanCode(devReportParam.getPlanCode());
|
||||
singleNonHarmParam.setDevId(pqDevVO.getId());
|
||||
singleNonHarmParam.setChannelNo(i);
|
||||
|
||||
|
||||
@@ -311,7 +311,7 @@ public class ResultServiceImpl implements IResultService {
|
||||
dlt = new TreeDataVO();
|
||||
List<PqScriptDtls> scriptDtlIndexList = subValue.stream().filter(x -> dtls.getScriptIndex().equals(x.getScriptIndex())).collect(Collectors.toList());
|
||||
//特征幅值=20%Un,持续时间=1周波
|
||||
dlt.setScriptTypeName("特征幅值=" + dtls.getTransValue() + "%Un,持续时间=" + dtls.getRetainTime().intValue() + "周波");
|
||||
dlt.setScriptTypeName("特征幅值=" + dtls.getTransValue() + "%Un,持续时间=" + dtls.getRetainTime() + "周波");
|
||||
dlt.setIndex(dtls.getScriptIndex());
|
||||
dlt.setScriptType(scriptDtlIndexList.get(0).getScriptType());
|
||||
dlt.setScriptTypeCode("Base_" + start + "_" + end);
|
||||
|
||||
@@ -23,7 +23,7 @@ public class SingleNonHarmParam implements Serializable {
|
||||
/**
|
||||
* 检测计划编码
|
||||
*/
|
||||
private Integer planCode;
|
||||
private String planCode;
|
||||
|
||||
/**
|
||||
* 被检设备ID
|
||||
@@ -53,7 +53,7 @@ public class SingleNonHarmParam implements Serializable {
|
||||
private List<Integer> sortList;
|
||||
|
||||
public SingleNonHarmParam(Integer planCode, String devId, Integer channelNo, String adType, Integer sort) {
|
||||
this.planCode = planCode;
|
||||
this.planCode = String.valueOf(planCode);
|
||||
this.devId = devId;
|
||||
this.channelNo = channelNo;
|
||||
this.adType = adType;
|
||||
@@ -61,7 +61,7 @@ public class SingleNonHarmParam implements Serializable {
|
||||
}
|
||||
|
||||
public SingleNonHarmParam(Integer planCode, String devId, Integer channelNo, String adType, List<Integer> sortList) {
|
||||
this.planCode = planCode;
|
||||
this.planCode = String.valueOf(planCode);
|
||||
this.devId = devId;
|
||||
this.channelNo = channelNo;
|
||||
this.adType = adType;
|
||||
@@ -69,7 +69,7 @@ public class SingleNonHarmParam implements Serializable {
|
||||
}
|
||||
|
||||
public SingleNonHarmParam(Integer planCode, String devId, Integer channelNo, List<String> valueTypeList, Integer sort) {
|
||||
this.planCode = planCode;
|
||||
this.planCode = String.valueOf(planCode);
|
||||
this.devId = devId;
|
||||
this.channelNo = channelNo;
|
||||
this.valueTypeList = valueTypeList;
|
||||
@@ -77,7 +77,7 @@ public class SingleNonHarmParam implements Serializable {
|
||||
}
|
||||
|
||||
public SingleNonHarmParam(Integer planCode, String devId, Integer channelNo, List<String> valueTypeList, List<Integer> sortList) {
|
||||
this.planCode = planCode;
|
||||
this.planCode = String.valueOf(planCode);
|
||||
this.devId = devId;
|
||||
this.channelNo = channelNo;
|
||||
this.valueTypeList = valueTypeList;
|
||||
|
||||
Reference in New Issue
Block a user