Browse Source

修改打托判断

training
caoyizhong 1 year ago
parent
commit
2a4edd1543
  1. 2
      blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/impl/TaskQuestServiceImpl.java

2
blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/impl/TaskQuestServiceImpl.java

@ -409,7 +409,7 @@ public class TaskQuestServiceImpl extends BaseServiceImpl<TaskQuestMapper, TaskQ
v.forEach( p ->{
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<QuestDetailChildEntity> list = questDetailChildService.list(Wrappers.<QuestDetailChildEntity>query().lambda()
.eq(QuestDetailChildEntity::getQuestDetailId, p.getId())
.eq(QuestDetailChildEntity::getWarehouseId, warehouseId)

Loading…
Cancel
Save