Commit 1df318631b22792602142e8a35a33f16a563d874
1 parent
23e4a1ba
分配库位时,高度值匹配
Showing
1 changed file
with
1 additions
and
1 deletions
huaheng-wms-core/src/main/java/org/jeecg/modules/wms/api/wcs/service/WcsServiceImpl.java
... | ... | @@ -134,7 +134,7 @@ public class WcsServiceImpl implements WcsService { |
134 | 134 | int highHeight = Float.valueOf(height).intValue(); |
135 | 135 | List<String> locationTypeCodeList = locationTypeList.stream().map(t -> t.getCode()).collect(Collectors.toList()); |
136 | 136 | LambdaQueryWrapper<LocationHigh> locationHighLambdaQueryWrapper = Wrappers.lambdaQuery(); |
137 | - locationHighLambdaQueryWrapper.eq(LocationHigh::getHigh, highHeight).in(LocationHigh::getLocationTypeCode, locationTypeCodeList); | |
137 | + locationHighLambdaQueryWrapper.eq(LocationHigh::getHighLevel, highHeight).in(LocationHigh::getLocationTypeCode, locationTypeCodeList); | |
138 | 138 | LocationHigh locationHigh = locationHighService.getOne(locationHighLambdaQueryWrapper); |
139 | 139 | if (locationHigh == null) { |
140 | 140 | return Result.error("分配库位时,没有找到库位高度"); |
... | ... |