diff --git a/src/main/java/digital/laboratory/platform/imr/service/impl/DrugMaterialInfoServiceImpl.java b/src/main/java/digital/laboratory/platform/imr/service/impl/DrugMaterialInfoServiceImpl.java index 86ca07a..572e68c 100644 --- a/src/main/java/digital/laboratory/platform/imr/service/impl/DrugMaterialInfoServiceImpl.java +++ b/src/main/java/digital/laboratory/platform/imr/service/impl/DrugMaterialInfoServiceImpl.java @@ -180,7 +180,7 @@ public class DrugMaterialInfoServiceImpl extends ServiceImplquery() .in("drug_no", sample.stream().map(InRepositoryDTO::getSampleNo).collect(Collectors.toList())) - .eq("dm.status", DrugMaterialStatus.ENTER_DRUG_INFO.getStatus())); // 状态为为未入库的 + .in("dm.status", DrugMaterialStatus.ENTER_DRUG_INFO.getStatus(), DrugMaterialStatus.OUTBOUND.getStatus())); // 状态为为未入库或已出库的 if (CollUtil.isEmpty(drugMaterialInfoVOS)) { return Collections.emptyList(); } @@ -205,9 +205,6 @@ public class DrugMaterialInfoServiceImpl extends ServiceImpl