Commit 7cb1eacb authored by tangwei's avatar tangwei

修改bug

parent c0dccdbb
......@@ -93,12 +93,13 @@ public class WarehouseStructureServiceImpl extends ServiceImpl<WarehouseStructur
}
one.eq("warehouse_id", warehouseId);
list = warehouseStructureMapper.selectList(one);
QueryWrapper<WarehouseStructure> one1 = new QueryWrapper<>();
one1.eq("warehouse_id", warehouseId);
one1.eq("id", buildingId);
list.addAll( warehouseStructureMapper.selectList(one1));
}
QueryWrapper<WarehouseStructure> one1 = new QueryWrapper<>();
one1.eq("warehouse_id", warehouseId);
one1.eq("id", buildingId);
list.addAll( warehouseStructureMapper.selectList(one1));
}else {
QueryWrapper<WarehouseStructure> one = new QueryWrapper<>();
one.eq("warehouse_id", warehouseId);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment