|
|
@@ -84,7 +84,7 @@ public class AlarmRecordController extends BaseController<AlarmRecord> {
|
|
|
List<AlarmRecordVo> recordVos = TransferUtils.transferList(list, AlarmRecordVo.class);
|
|
|
if (!recordVos.isEmpty()) {
|
|
|
alarmRecordService.getRecordInfo(recordVos);
|
|
|
- recordVos.forEach(r -> r.setCurrentPressureValue(StringUtils.convertDoubleToString(r.getCurrentPressure()) + "MPa"));
|
|
|
+ recordVos.forEach(r -> r.setCurrentPressureValue(r.getCurrentPressure()!=null?r.getCurrentPressure()+ "MPa":""));
|
|
|
}
|
|
|
|
|
|
util.exportExcel(response, recordVos, "报警记录数据");
|