|
|
|
|
@ -179,7 +179,7 @@ public class LiquidTankServiceImpl extends BaseServiceImpl<LiquidTankMapper, Liq |
|
|
|
|
notice.setTemperatureRangeLeft(BigDecimal.valueOf(dL)); |
|
|
|
|
notice.setTemperatureRangeRight(BigDecimal.valueOf(dR)); |
|
|
|
|
} catch (Exception e) { |
|
|
|
|
throw new RuntimeException("周期为温度范围的温度数据格式不正确"); |
|
|
|
|
throw new RuntimeException("温度类型为温度范围的温度数据格式不正确"); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -188,7 +188,7 @@ public class LiquidTankServiceImpl extends BaseServiceImpl<LiquidTankMapper, Liq |
|
|
|
|
Double.parseDouble(noticeExcel.getTemperatureValue()); |
|
|
|
|
notice.setTemperatureInRoom(BigDecimal.valueOf(Double.parseDouble(noticeExcel.getTemperatureValue()))); |
|
|
|
|
} catch (Exception e) { |
|
|
|
|
throw new RuntimeException("周期为室内温度的室内温度数据格式不正确"); |
|
|
|
|
throw new RuntimeException("温度类型为室内温度的室内温度数据格式不正确"); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -197,7 +197,7 @@ public class LiquidTankServiceImpl extends BaseServiceImpl<LiquidTankMapper, Liq |
|
|
|
|
Double.parseDouble(noticeExcel.getTemperatureValue()); |
|
|
|
|
notice.setTemperatureEnv(BigDecimal.valueOf(Double.parseDouble(noticeExcel.getTemperatureValue()))); |
|
|
|
|
} catch (Exception e) { |
|
|
|
|
throw new RuntimeException("周期为环境温度的室内温度数据格式不正确"); |
|
|
|
|
throw new RuntimeException("温度类型为环境温度的室内温度数据格式不正确"); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|