Merge remote-tracking branch 'origin/master'

master
杨海航 1 month ago
commit 839070b311
  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