|
|
@ -316,8 +316,8 @@ public class LocationServiceImpl implements LocationService { |
|
|
|
JSONObject jsonObject = JSONUtil.parseObj(ruleRespVO.getConfiguration()); |
|
|
|
String locationCode = jsonObject.getStr("LocationCode"); |
|
|
|
//设置了库位直接返回
|
|
|
|
if (locationCode != null) { |
|
|
|
return this.selectLocation(String.valueOf(locationCode)); |
|
|
|
if (locationCode != null && !locationCode.isEmpty()) { |
|
|
|
return this.selectLocation(locationCode); |
|
|
|
} |
|
|
|
//增加过滤条件
|
|
|
|
QueryWrapper<LocationDO> queryWrapper = new QueryWrapper<>(); |
|
|
|