|
@@ -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());
|
|
@@ -124,7 +126,6 @@ public class BusLiquidController {
|
|
|
BigDecimal multiply = totalDose.multiply(divide);
|
|
BigDecimal multiply = totalDose.multiply(divide);
|
|
|
excelVO.setDrugRemainDose(multiply+formulaDrugDetailDomain.getUnit());
|
|
excelVO.setDrugRemainDose(multiply+formulaDrugDetailDomain.getUnit());
|
|
|
}
|
|
}
|
|
|
- excelVO.setAmpoule(formulaDrugDetailDomain.getAmpoule());
|
|
|
|
|
excelVO.setBatchCode(formulaDrugDetailDomain.getBatchCode());
|
|
excelVO.setBatchCode(formulaDrugDetailDomain.getBatchCode());
|
|
|
excelVO.setUse(formulaDrugDetailDomain.getUse());
|
|
excelVO.setUse(formulaDrugDetailDomain.getUse());
|
|
|
excelVO.setTotalDose(record.getTotalDose()+"ml");
|
|
excelVO.setTotalDose(record.getTotalDose()+"ml");
|
|
@@ -132,6 +133,7 @@ public class BusLiquidController {
|
|
|
excelVO.setLiquidExecutor(record.getLiquidExecutor());
|
|
excelVO.setLiquidExecutor(record.getLiquidExecutor());
|
|
|
excelVO.setLiquidChecker(record.getLiquidChecker());
|
|
excelVO.setLiquidChecker(record.getLiquidChecker());
|
|
|
excelVO.setLiquidRemark(record.getLiquidRemark());
|
|
excelVO.setLiquidRemark(record.getLiquidRemark());
|
|
|
|
|
+ excelVO.setLiquidMethod(record.getLiquidMethod());
|
|
|
excelVO.setLiquidTime(DateUtil.formatDateTime(record.getLiquidTime()));
|
|
excelVO.setLiquidTime(DateUtil.formatDateTime(record.getLiquidTime()));
|
|
|
result.add(excelVO);
|
|
result.add(excelVO);
|
|
|
}
|
|
}
|