diff --git a/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/impl/TaskQuestServiceImpl.java b/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/impl/TaskQuestServiceImpl.java index 5e6a2c879..6ee083316 100644 --- a/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/impl/TaskQuestServiceImpl.java +++ b/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/impl/TaskQuestServiceImpl.java @@ -409,7 +409,7 @@ public class TaskQuestServiceImpl extends BaseServiceImpl{ taskTrayVO.setTrayCode(p.getTrayCode()); num.set(num.get() + p.getStockNum()); - if(p.getQuestStatus().equals(1)){ + if(p.getQuestStatus().equals(1) && p.getIsNew().equals(0)){ List list = questDetailChildService.list(Wrappers.query().lambda() .eq(QuestDetailChildEntity::getQuestDetailId, p.getId()) .eq(QuestDetailChildEntity::getWarehouseId, warehouseId)