|
@@ -114,7 +114,9 @@ public class BusLiquidController {
|
|
|
excelVO.setClinicStartTime(DateUtil.format(record.getClinicStartTime(), "yyyy/MM/dd HH:mm"));
|
|
excelVO.setClinicStartTime(DateUtil.format(record.getClinicStartTime(), "yyyy/MM/dd HH:mm"));
|
|
|
excelVO.setUndoTime(DateUtil.format(record.getUndoTime(),"yyyy/MM/dd HH:mm"));
|
|
excelVO.setUndoTime(DateUtil.format(record.getUndoTime(),"yyyy/MM/dd HH:mm"));
|
|
|
excelVO.setName(formulaDrugDetailDomain.getName());
|
|
excelVO.setName(formulaDrugDetailDomain.getName());
|
|
|
- excelVO.setDose(formulaDrugDetailDomain.getDose()+formulaDrugDetailDomain.getUnit());
|
|
|
|
|
|
|
+ if(StrUtil.isNotEmpty(formulaDrugDetailDomain.getDose())){
|
|
|
|
|
+ excelVO.setDose(formulaDrugDetailDomain.getDose()+formulaDrugDetailDomain.getUnit());
|
|
|
|
|
+ }
|
|
|
//根据药液剩余量计算药品残余量
|
|
//根据药液剩余量计算药品残余量
|
|
|
if(StrUtil.isEmpty(formulaDrugDetailDomain.getDose())|| !NumberUtil.isNumber(formulaDrugDetailDomain.getDose()) ||ObjectUtil.equals(record.getRemainDose(), BigDecimal.ZERO)){
|
|
if(StrUtil.isEmpty(formulaDrugDetailDomain.getDose())|| !NumberUtil.isNumber(formulaDrugDetailDomain.getDose()) ||ObjectUtil.equals(record.getRemainDose(), BigDecimal.ZERO)){
|
|
|
excelVO.setDrugRemainDose("0"+formulaDrugDetailDomain.getUnit());
|
|
excelVO.setDrugRemainDose("0"+formulaDrugDetailDomain.getUnit());
|