20250402 更新

master
陈江保 2 weeks ago
parent b4ed4fc415
commit 77f852338b
  1. 7
      dlp-drugtesting-biz/src/main/java/digital/laboratory/platform/inspection/vo/TestRecordSampleDataExpandVO.java

@ -1,6 +1,7 @@
package digital.laboratory.platform.inspection.vo;
import com.baomidou.mybatisplus.annotation.TableName;
import digital.laboratory.platform.inspection.constant.TestRecordSampleDataConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@ -52,21 +53,21 @@ public class TestRecordSampleDataExpandVO {
public String getIonAbundanceRatio() {
if (getBasePeak()) {
return "/";
return TestRecordSampleDataConstant.INVALID_VALUE_STR;
}
return ionAbundanceRatio != null ? ionAbundanceRatio.setScale(2, RoundingMode.HALF_UP).toString() : null;
}
public String getIonAbundanceRatioError() {
if (getBasePeak()) {
return "/";
return TestRecordSampleDataConstant.INVALID_VALUE_STR;
}
return ionAbundanceRatioError != null ? ionAbundanceRatioError.setScale(2, RoundingMode.HALF_UP).toString() : null;
}
public String getIonAbundanceRatioWithinError() {
if (getBasePeak()) {
return "/";
return TestRecordSampleDataConstant.INVALID_VALUE_STR;
}
return ionAbundanceRatioWithinError;
}

Loading…
Cancel
Save