人工交互分析页面回显数据精度以及格式问题修改
This commit is contained in:
parent
77c4473936
commit
ed00d25f4d
|
@ -36,8 +36,12 @@ public class NumberFormatUtil {
|
|||
} else {
|
||||
eValue = "e+0"+ number.substring(number.indexOf("e")+1);
|
||||
}
|
||||
} else {
|
||||
eValue = number.substring(number.indexOf("e"));
|
||||
} else if (Double.valueOf(eValue) < 0){
|
||||
if (Double.valueOf(eValue) > -10) {
|
||||
eValue = "e-0"+number.substring(number.indexOf("e")+2);
|
||||
} else {
|
||||
eValue = "e"+number.substring(number.indexOf("e")+1);
|
||||
}
|
||||
}
|
||||
value = numberCal + eValue.replace("E", "e");
|
||||
} else if (number.indexOf("E")>0) {
|
||||
|
@ -50,8 +54,12 @@ public class NumberFormatUtil {
|
|||
} else {
|
||||
eValue = "e+0"+ number.substring(number.indexOf("E")+1);
|
||||
}
|
||||
} else {
|
||||
eValue = number.substring(number.indexOf("E"));
|
||||
} else if (Double.valueOf(eValue) < 0){
|
||||
if (Double.valueOf(eValue) > -10) {
|
||||
eValue = "e-0"+number.substring(number.indexOf("E")+2);
|
||||
} else {
|
||||
eValue = "e"+number.substring(number.indexOf("E")+1);
|
||||
}
|
||||
}
|
||||
value = numberCal + eValue.replace("E", "e");
|
||||
}
|
||||
|
|
|
@ -236,25 +236,25 @@
|
|||
|
||||
<select id="getSampleData" resultType="org.jeecg.modules.entity.GardsSampleDataSpectrum">
|
||||
SELECT
|
||||
SITE_DET_CODE,
|
||||
SAMPLE_ID,
|
||||
STATION_ID,
|
||||
DETECTOR_ID,
|
||||
INPUT_FILE_NAME,
|
||||
SAMPLE_TYPE,
|
||||
DATA_TYPE,
|
||||
GEOMETRY,
|
||||
SPECTRAL_QUALIFIE,
|
||||
TRANSMIT_DTG,
|
||||
COLLECT_START,
|
||||
COLLECT_STOP,
|
||||
ACQUISITION_START,
|
||||
ACQUISITION_STOP,
|
||||
ACQUISITION_REAL_SEC,
|
||||
ACQUISITION_LIVE_SEC,
|
||||
QUANTITY,
|
||||
STATUS,
|
||||
MODDATE
|
||||
SITE_DET_CODE siteDetCode,
|
||||
SAMPLE_ID sampleId,
|
||||
STATION_ID stationId,
|
||||
DETECTOR_ID detectorId,
|
||||
INPUT_FILE_NAME inputFileName,
|
||||
SAMPLE_TYPE sampleType,
|
||||
DATA_TYPE dataType,
|
||||
GEOMETRY geometry,
|
||||
SPECTRAL_QUALIFIE spectralQualifie,
|
||||
TRANSMIT_DTG transmitDtg,
|
||||
COLLECT_START collectStart,
|
||||
COLLECT_STOP collectStop,
|
||||
ACQUISITION_START acquisitionStart,
|
||||
ACQUISITION_STOP acquisitionStop,
|
||||
ACQUISITION_REAL_SEC acquisitionRealSec,
|
||||
ACQUISITION_LIVE_SEC acquisitionLiveSec,
|
||||
QUANTITY quantity,
|
||||
STATUS status,
|
||||
MODDATE moddate
|
||||
FROM
|
||||
ORIGINAL.GARDS_SAMPLE_DATA
|
||||
<where>
|
||||
|
@ -264,25 +264,25 @@
|
|||
|
||||
<select id="findSampleByFilePath" resultType="org.jeecg.modules.entity.GardsSampleDataSpectrum">
|
||||
SELECT
|
||||
SITE_DET_CODE,
|
||||
SAMPLE_ID,
|
||||
STATION_ID,
|
||||
DETECTOR_ID,
|
||||
INPUT_FILE_NAME,
|
||||
SAMPLE_TYPE,
|
||||
DATA_TYPE,
|
||||
GEOMETRY,
|
||||
SPECTRAL_QUALIFIE,
|
||||
TRANSMIT_DTG,
|
||||
COLLECT_START,
|
||||
COLLECT_STOP,
|
||||
ACQUISITION_START,
|
||||
ACQUISITION_STOP,
|
||||
ACQUISITION_REAL_SEC,
|
||||
ACQUISITION_LIVE_SEC,
|
||||
QUANTITY,
|
||||
STATUS,
|
||||
MODDATE
|
||||
SITE_DET_CODE siteDetCode,
|
||||
SAMPLE_ID sampleId,
|
||||
STATION_ID stationId,
|
||||
DETECTOR_ID detectorId,
|
||||
INPUT_FILE_NAME inputFileName,
|
||||
SAMPLE_TYPE sampleType,
|
||||
DATA_TYPE dataType,
|
||||
GEOMETRY geometry,
|
||||
SPECTRAL_QUALIFIE spectralQualifie,
|
||||
TRANSMIT_DTG transmitDtg,
|
||||
COLLECT_START collectStart,
|
||||
COLLECT_STOP collectStop,
|
||||
ACQUISITION_START acquisitionStart,
|
||||
ACQUISITION_STOP acquisitionStop,
|
||||
ACQUISITION_REAL_SEC acquisitionRealSec,
|
||||
ACQUISITION_LIVE_SEC acquisitionLiveSec,
|
||||
QUANTITY quantity,
|
||||
STATUS status,
|
||||
MODDATE moddate
|
||||
FROM
|
||||
ORIGINAL.GARDS_SAMPLE_DATA
|
||||
<where>
|
||||
|
@ -442,15 +442,15 @@
|
|||
|
||||
<select id="getAnalysis" resultType="org.jeecg.modules.entity.GardsAnalysesSpectrum">
|
||||
SELECT
|
||||
IDANALYSIS,
|
||||
COMMENTS,
|
||||
SEARCHSTARTCHANNEL,
|
||||
SEARCHENDCHANNEL,
|
||||
SEARCHTHRESHOLD,
|
||||
NUMBEROFPEAKS,
|
||||
BASELINE_PATH,
|
||||
LC_PATH,
|
||||
SCAC_PATH
|
||||
IDANALYSIS idAnalysis,
|
||||
COMMENTS comments,
|
||||
SEARCHSTARTCHANNEL searchStartChannel,
|
||||
SEARCHENDCHANNEL searchEndChannel,
|
||||
SEARCHTHRESHOLD searchThreshold,
|
||||
NUMBEROFPEAKS numberOfPeaks,
|
||||
BASELINE_PATH baselinePath,
|
||||
LC_PATH lcPath,
|
||||
SCAC_PATH scacPath
|
||||
FROM
|
||||
${dbName}
|
||||
WHERE SAMPLE_ID = #{sampleId}
|
||||
|
@ -459,31 +459,31 @@
|
|||
|
||||
<select id="getPeaks" resultType="org.jeecg.modules.entity.GardsPeaksSpectrum">
|
||||
SELECT
|
||||
IDPEAK,
|
||||
CENTROIDCHANNEL,
|
||||
ENERGY,
|
||||
AREA,
|
||||
UNCAREA,
|
||||
EFFICIENCY,
|
||||
FWHM,
|
||||
FWTM,
|
||||
SIGNIFICANCE,
|
||||
LC,
|
||||
ROISTART,
|
||||
ROIEND,
|
||||
MULTIINDEX,
|
||||
TAIL,
|
||||
TAILALPHA,
|
||||
UPPERTAIL,
|
||||
UPPERTAILALPHA,
|
||||
BWWIDTHCHAN,
|
||||
RECOILDELTACHAN,
|
||||
STEPRAIO,
|
||||
LD,
|
||||
SENSITIVITY,
|
||||
BACKGROUNDAREA,
|
||||
MEANBACKCOUNT,
|
||||
PEAKCOMMENTS
|
||||
IDPEAK idPeak,
|
||||
CENTROIDCHANNEL centroidChannel,
|
||||
ENERGY energy,
|
||||
AREA area,
|
||||
UNCAREA uncArea,
|
||||
EFFICIENCY efficiency,
|
||||
FWHM fwhm,
|
||||
FWTM fwtm,
|
||||
SIGNIFICANCE significance,
|
||||
LC lc,
|
||||
ROISTART roiStart,
|
||||
ROIEND roiEnd,
|
||||
MULTIINDEX mulitiIndex,
|
||||
TAIL tail,
|
||||
TAILALPHA tailAlpha,
|
||||
UPPERTAIL upperTail,
|
||||
UPPERTAILALPHA upperTailAlpha,
|
||||
BWWIDTHCHAN bwwidthchan,
|
||||
RECOILDELTACHAN recoildeltachan,
|
||||
STEPRAIO stepraio,
|
||||
LD ld,
|
||||
SENSITIVITY sensitivity,
|
||||
BACKGROUNDAREA backgroundarea,
|
||||
MEANBACKCOUNT meanbackcount,
|
||||
PEAKCOMMENTS peakcomments
|
||||
FROM ${dbName}
|
||||
WHERE IDANALYSIS = #{idAnalysis}
|
||||
ORDER BY IDPEAK
|
||||
|
@ -499,35 +499,51 @@
|
|||
|
||||
<select id="getNuclLinesIded" resultType="org.jeecg.modules.entity.GardsNuclLinesIdedSpectrum">
|
||||
SELECT
|
||||
NUCLIDENAME,
|
||||
NUCLIDEFULLNAME,
|
||||
IDPEAK,
|
||||
ENERGY,
|
||||
UNCENERGY,
|
||||
ABUNDANCE,
|
||||
UNCABUNDANCE,
|
||||
ACTIVITY,
|
||||
UNCACTIVITY,
|
||||
EFFIC,
|
||||
UNEFFIC ,
|
||||
MDA,
|
||||
KEY_FLAG,
|
||||
MDC,
|
||||
CONCENTRATION
|
||||
NUCLIDENAME nuclideName,
|
||||
NUCLIDEFULLNAME nuclidefullname,
|
||||
IDPEAK idPeak,
|
||||
ENERGY energy,
|
||||
UNCENERGY uncEnergy,
|
||||
ABUNDANCE abundance,
|
||||
UNCABUNDANCE uncAbundance,
|
||||
ACTIVITY activity,
|
||||
UNCACTIVITY uncActivity,
|
||||
EFFIC effic,
|
||||
UNEFFIC unEffic,
|
||||
MDA mda,
|
||||
KEY_FLAG keyFlag,
|
||||
MDC mdc,
|
||||
CONCENTRATION concentration
|
||||
FROM ${dbName}
|
||||
WHERE IDANALYSIS = #{idAnalysis}
|
||||
</select>
|
||||
|
||||
<select id="getNuclIded" resultType="org.jeecg.modules.entity.GardsNuclIdedSpectrum">
|
||||
SELECT NUCLIDENAME, HALFLIFE, KEY_ENERGY, KEY_YIELD FROM ${dbName} WHERE IDANALYSIS = #{idAnalysis}
|
||||
SELECT NUCLIDENAME nuclideName,
|
||||
HALFLIFE halflife,
|
||||
KEY_ENERGY keyEnergy,
|
||||
KEY_YIELD keyYield
|
||||
FROM ${dbName}
|
||||
WHERE IDANALYSIS = #{idAnalysis}
|
||||
</select>
|
||||
|
||||
<select id="getQcCheck" resultType="org.jeecg.modules.entity.GardsQcCheckSpectrum">
|
||||
SELECT QC_NAME, QC_VALUE, QC_STANDARD, QC_RESULT FROM ${dbName} WHERE IDANALYSIS = #{idAnalysis}
|
||||
SELECT QC_NAME qcName,
|
||||
QC_VALUE qcValue,
|
||||
QC_STANDARD qcStandard,
|
||||
QC_RESULT qcResult
|
||||
FROM ${dbName}
|
||||
WHERE IDANALYSIS = #{idAnalysis}
|
||||
</select>
|
||||
|
||||
<select id="getMDC" resultType="org.jeecg.modules.entity.vo.CalMDCInfo">
|
||||
SELECT NUCLIDENAME,ENERGY,YIELD,EFFICIENCY,MDC FROM ${dbName} WHERE IDANALYSIS = #{idAnalysis}
|
||||
SELECT NUCLIDENAME nuclideName,
|
||||
ENERGY energy,
|
||||
YIELD yield,
|
||||
EFFICIENCY efficiency,
|
||||
MDC mdc
|
||||
FROM ${dbName}
|
||||
WHERE IDANALYSIS = #{idAnalysis}
|
||||
</select>
|
||||
|
||||
<select id="getAnalySetting" resultType="org.jeecg.modules.base.entity.rnman.GardsAnalySetting">
|
||||
|
@ -583,10 +599,10 @@
|
|||
|
||||
<select id="ReadGammaFitChannelEnergy" resultType="org.jeecg.modules.entity.GardsCalibrationPairsSpectrum">
|
||||
SELECT DISTINCT
|
||||
SMAPLE_DATA.DATA_TYPE,
|
||||
CALIBRATION_PAIRS.IDCALPOINT,
|
||||
CALIBRATION_PAIRS.XVALUE,
|
||||
CALIBRATION_PAIRS.YVALUE
|
||||
SMAPLE_DATA.DATA_TYPE dataType,
|
||||
CALIBRATION_PAIRS.IDCALPOINT idCalPoint,
|
||||
CALIBRATION_PAIRS.XVALUE xValue,
|
||||
CALIBRATION_PAIRS.YVALUE yValue
|
||||
FROM
|
||||
RNMAN.GARDS_CALIBRATION_PAIRS CALIBRATION_PAIRS,
|
||||
ORIGINAL.GARDS_SAMPLE_DATA SMAPLE_DATA
|
||||
|
@ -600,10 +616,10 @@
|
|||
|
||||
<select id="ReadGammaCalibrationParam" resultType="org.jeecg.modules.entity.GardsCalibrationSpectrum">
|
||||
SELECT
|
||||
SAMPLE_DATA.DATA_TYPE,
|
||||
CALIBRATION.COEFF1,
|
||||
CALIBRATION.COEFF2,
|
||||
CALIBRATION.COEFF3
|
||||
SAMPLE_DATA.DATA_TYPE dataType,
|
||||
CALIBRATION.COEFF1 coeff1,
|
||||
CALIBRATION.COEFF2 coeff2,
|
||||
CALIBRATION.COEFF3 coeff3
|
||||
FROM
|
||||
${dbName}.GARDS_CALIBRATION CALIBRATION,
|
||||
ORIGINAL.GARDS_SAMPLE_DATA SAMPLE_DATA
|
||||
|
@ -615,10 +631,10 @@
|
|||
|
||||
<select id="ReadBetaFitChannelEnergy" resultType="org.jeecg.modules.entity.GardsCalibrationPairsSpectrum">
|
||||
SELECT DISTINCT
|
||||
SMAPLE_DATA.DATA_TYPE,
|
||||
CALIBRATION_PAIRS.IDCALPOINT,
|
||||
CALIBRATION_PAIRS.XVALUE,
|
||||
CALIBRATION_PAIRS.YVALUE
|
||||
SMAPLE_DATA.DATA_TYPE dataType,
|
||||
CALIBRATION_PAIRS.IDCALPOINT idCalPoint,
|
||||
CALIBRATION_PAIRS.XVALUE xValue,
|
||||
CALIBRATION_PAIRS.YVALUE yValue
|
||||
FROM
|
||||
RNMAN.GARDS_CALIBRATION_PAIRS CALIBRATION_PAIRS,
|
||||
ORIGINAL.GARDS_SAMPLE_DATA SMAPLE_DATA
|
||||
|
@ -632,10 +648,10 @@
|
|||
|
||||
<select id="ReadBetaCalibrationParam" resultType="org.jeecg.modules.entity.GardsCalibrationSpectrum">
|
||||
SELECT
|
||||
SAMPLE_DATA.DATA_TYPE,
|
||||
CALIBRATION.COEFF1,
|
||||
CALIBRATION.COEFF2,
|
||||
CALIBRATION.COEFF3
|
||||
SAMPLE_DATA.DATA_TYPE dataType,
|
||||
CALIBRATION.COEFF1 coeff1,
|
||||
CALIBRATION.COEFF2 coeff2,
|
||||
CALIBRATION.COEFF3 coeff3
|
||||
FROM
|
||||
${dbName}.GARDS_CALIBRATION CALIBRATION,
|
||||
ORIGINAL.GARDS_SAMPLE_DATA SAMPLE_DATA
|
||||
|
@ -648,12 +664,12 @@
|
|||
<select id="ReadROIChannels" resultType="org.jeecg.modules.entity.GardsROIChannelsSpectrum">
|
||||
SELECT
|
||||
DISTINCT
|
||||
SAMPLE_DATA.DATA_TYPE,
|
||||
ROI_CHANNELS.ROI,
|
||||
ROI_CHANNELS.B_CHAN_START,
|
||||
ROI_CHANNELS.B_CHAN_STOP,
|
||||
ROI_CHANNELS.G_CHAN_START,
|
||||
ROI_CHANNELS.G_CHAN_STOP
|
||||
SAMPLE_DATA.DATA_TYPE dataType,
|
||||
ROI_CHANNELS.ROI roi,
|
||||
ROI_CHANNELS.B_CHAN_START bChanStart,
|
||||
ROI_CHANNELS.B_CHAN_STOP bChanStop,
|
||||
ROI_CHANNELS.G_CHAN_START gChanStart,
|
||||
ROI_CHANNELS.G_CHAN_STOP gChanStop
|
||||
FROM
|
||||
${dbName}.GARDS_ROI_CHANNELS ROI_CHANNELS,
|
||||
ORIGINAL.GARDS_SAMPLE_DATA SAMPLE_DATA
|
||||
|
@ -666,19 +682,19 @@
|
|||
<select id="ReadROIResults" resultType="org.jeecg.modules.entity.GardsROIResultsSpectrum">
|
||||
SELECT
|
||||
DISTINCT
|
||||
ROI_RESULTS.ROI,
|
||||
ROI_RESULTS.S_GROSS,
|
||||
ROI_RESULTS.G_GROSS,
|
||||
ROI_RESULTS.B_GROSS,
|
||||
ROI_RESULTS.S_NET,
|
||||
ROI_RESULTS.G_NET,
|
||||
ROI_RESULTS.NET,
|
||||
ROI_RESULTS.NET_ERR,
|
||||
ROI_RESULTS.CONC,
|
||||
ROI_RESULTS.CONC_ERR,
|
||||
ROI_RESULTS.LC,
|
||||
ROI_RESULTS.MDC,
|
||||
ROI_RESULTS.NID_FLAG
|
||||
ROI_RESULTS.ROI roi,
|
||||
ROI_RESULTS.S_GROSS sGross,
|
||||
ROI_RESULTS.G_GROSS gGross,
|
||||
ROI_RESULTS.B_GROSS bGross,
|
||||
ROI_RESULTS.S_NET sNet,
|
||||
ROI_RESULTS.G_NET gNet,
|
||||
ROI_RESULTS.NET net,
|
||||
ROI_RESULTS.NET_ERR netErr,
|
||||
ROI_RESULTS.CONC conc,
|
||||
ROI_RESULTS.CONC_ERR concErr,
|
||||
ROI_RESULTS.LC lc,
|
||||
ROI_RESULTS.MDC mdc,
|
||||
ROI_RESULTS.NID_FLAG nidFlag
|
||||
FROM
|
||||
${dbName}.GARDS_ROI_RESULTS ROI_RESULTS
|
||||
WHERE
|
||||
|
@ -689,12 +705,12 @@
|
|||
|
||||
<select id="ReadXeResults" resultType="org.jeecg.modules.entity.GardsXeResultsSpectrum">
|
||||
SELECT
|
||||
XE_RESULTS.NUCLIDE_NAME,
|
||||
XE_RESULTS.CONC,
|
||||
XE_RESULTS.CONC_ERR,
|
||||
XE_RESULTS.MDC,
|
||||
XE_RESULTS.NID_FLAG,
|
||||
XE_RESULTS.LC
|
||||
XE_RESULTS.NUCLIDE_NAME nuclideName,
|
||||
XE_RESULTS.CONC conc,
|
||||
XE_RESULTS.CONC_ERR concErr,
|
||||
XE_RESULTS.MDC mdc,
|
||||
XE_RESULTS.NID_FLAG nidFlag,
|
||||
XE_RESULTS.LC lc
|
||||
FROM
|
||||
${dbName}.GARDS_XE_RESULTS XE_RESULTS
|
||||
WHERE
|
||||
|
@ -741,12 +757,12 @@
|
|||
|
||||
<select id="getNuclideLine" resultType="org.jeecg.modules.base.entity.configuration.GardsNuclLinesLib">
|
||||
select
|
||||
a.fullname,
|
||||
a.energy,
|
||||
a.energy_uncert,
|
||||
a.yield,
|
||||
a.yield_uncert,
|
||||
a.key_flag
|
||||
a.fullname fullName,
|
||||
a.energy energy,
|
||||
a.energy_uncert energyUncert,
|
||||
a.yield yield,
|
||||
a.yield_uncert yieldUncert,
|
||||
a.key_flag keyFlag
|
||||
from
|
||||
CONFIGURATION.GARDS_NUCL_LINES_LIB a
|
||||
where a.name = #{name}
|
||||
|
@ -758,32 +774,36 @@
|
|||
</select>
|
||||
|
||||
<select id="getNuclideInfo" resultType="org.jeecg.modules.base.entity.configuration.GardsNuclLib">
|
||||
select a.num_lines, a.halflife, a.halflife_err from CONFIGURATION.GARDS_NUCL_LIB a where a.name = #{name}
|
||||
select a.num_lines numLines,
|
||||
a.halflife halflife,
|
||||
a.halflife_err halflifeErr
|
||||
from CONFIGURATION.GARDS_NUCL_LIB a
|
||||
where a.name = #{name}
|
||||
</select>
|
||||
|
||||
<select id="getParentAndDaughter" resultType="org.jeecg.modules.base.entity.configuration.GardsNuclLib">
|
||||
select
|
||||
a.parents_1,
|
||||
a.parents_2,
|
||||
a.parents_3,
|
||||
a.parents_4,
|
||||
a.parents_5,
|
||||
a.parents_6,
|
||||
a.daughters_1,
|
||||
a.branchingratios_1,
|
||||
a.daughtersstable_1,
|
||||
a.daughters_2,
|
||||
a.branchingratios_2,
|
||||
a.daughtersstable_2,
|
||||
a.daughters_3,
|
||||
a.branchingratios_3,
|
||||
a.daughtersstable_3,
|
||||
a.daughters_4,
|
||||
a.branchingratios_4,
|
||||
a.daughtersstable_4,
|
||||
a.daughters_5,
|
||||
a.branchingratios_5,
|
||||
a.daughtersstable_5
|
||||
a.parents_1 parents1,
|
||||
a.parents_2 parents2,
|
||||
a.parents_3 parents3,
|
||||
a.parents_4 parents4,
|
||||
a.parents_5 parents5,
|
||||
a.parents_6 parents6,
|
||||
a.daughters_1 daughters1,
|
||||
a.branchingratios_1 branchingratios1,
|
||||
a.daughtersstable_1 daughtersstable1,
|
||||
a.daughters_2 daughters2,
|
||||
a.branchingratios_2 branchingratios2,
|
||||
a.daughtersstable_2 daughtersstable2,
|
||||
a.daughters_3 daughters3,
|
||||
a.branchingratios_3 branchingratios3,
|
||||
a.daughtersstable_3 daughtersstable3,
|
||||
a.daughters_4 daughters4,
|
||||
a.branchingratios_4 branchingratios4,
|
||||
a.daughtersstable_4 daughtersstable4,
|
||||
a.daughters_5 daughters5,
|
||||
a.branchingratios_5 branchingratios5,
|
||||
a.daughtersstable_5 daughtersstable5
|
||||
from
|
||||
CONFIGURATION.GARDS_NUCL_LIB a
|
||||
where a.name = #{name}
|
||||
|
@ -808,11 +828,11 @@
|
|||
|
||||
<select id="getNuclideTable" resultType="org.jeecg.modules.base.entity.configuration.GardsNuclLinesLib">
|
||||
select
|
||||
a.fullname,
|
||||
a.energy,
|
||||
a.energy_uncert,
|
||||
a.yield,
|
||||
a.yield_uncert
|
||||
a.fullname fullName,
|
||||
a.energy energy,
|
||||
a.energy_uncert energyUncert,
|
||||
a.yield yield,
|
||||
a.yield_uncert yieldUncert
|
||||
from CONFIGURATION.GARDS_NUCL_LINES_LIB a
|
||||
where a.name = #{name}
|
||||
and a.energy >= 30
|
||||
|
|
|
@ -4697,15 +4697,15 @@ public class GammaServiceImpl extends AbstractLogOrReport implements IGammaServi
|
|||
TableResult tableResult = new TableResult();
|
||||
NuclideActMda nuc = it.getValue();
|
||||
tableResult.setNuclide(it.getKey());
|
||||
tableResult.setActivity(NumUtil.keep4ScienceStr(nuc.getActivity()));
|
||||
String act_err = nuc.getActivity() > 0 ? NumUtil.keepStr(nuc.getAct_err() / nuc.getActivity() * 100, 2) : "0";
|
||||
tableResult.setActivity(NumberFormatUtil.numberFormat(String.valueOf(nuc.getActivity())));
|
||||
String act_err = nuc.getActivity() > 0 ? NumberFormatUtil.numberFormat(String.valueOf(nuc.getAct_err() / nuc.getActivity() * 100)) : "0";
|
||||
tableResult.setActErr(act_err);
|
||||
tableResult.setFactor1(coverage_factor);
|
||||
tableResult.setConfidence1(level_confidence);
|
||||
tableResult.setConc(Objects.isNull(nuc.getConcentration())?null:NumUtil.keep4ScienceStr(nuc.getConcentration() / 1000));
|
||||
tableResult.setFactor1(NumberFormatUtil.numberFormat(coverage_factor));
|
||||
tableResult.setConfidence1(NumberFormatUtil.numberFormat(level_confidence));
|
||||
tableResult.setConc(Objects.isNull(nuc.getConcentration())?null:NumberFormatUtil.numberFormat(String.valueOf(nuc.getConcentration() / 1000)));
|
||||
tableResult.setConcErr(act_err);
|
||||
tableResult.setFactor2(coverage_factor);
|
||||
tableResult.setConfidence2(level_confidence);
|
||||
tableResult.setFactor2(NumberFormatUtil.numberFormat(coverage_factor));
|
||||
tableResult.setConfidence2(NumberFormatUtil.numberFormat(level_confidence));
|
||||
tableResultList.add(tableResult);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user