Commit f9eb99cde83af9ad8c399d4a8222ad5314b68ff4
1 parent
98135dc7
库位不能为null
Signed-off-by: TanYibin <5491541@qq.com>
Showing
1 changed file
with
1 additions
and
1 deletions
huaheng-wms-core/src/main/java/org/jeecg/modules/wms/config/location/service/impl/LocationServiceImpl.java
... | ... | @@ -99,7 +99,7 @@ public class LocationServiceImpl extends ServiceImpl<LocationMapper, Location> i |
99 | 99 | @Override |
100 | 100 | public Location getLocationByCode(String locationCode, String warehouseCode) { |
101 | 101 | if (StringUtils.isEmpty(locationCode)) { |
102 | - throw new JeecgBootException("库位不能为空"); | |
102 | + return null; | |
103 | 103 | } |
104 | 104 | if (StringUtils.havaLowerCase(locationCode)) { |
105 | 105 | throw new JeecgBootException("库位不能有小字母:" + locationCode); |
... | ... |