Browse Source

修改Bug。

master
刘忱 2 years ago
parent
commit
2970e109d9
  1. 4
      win-module-wms/win-module-wms-biz/src/main/java/com/win/module/wms/service/location/LocationServiceImpl.java

4
win-module-wms/win-module-wms-biz/src/main/java/com/win/module/wms/service/location/LocationServiceImpl.java

@ -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<>();

Loading…
Cancel
Save