|
|
@@ -60,7 +60,8 @@ public class KxsWarehouseServiceImpl extends ServiceImpl<KxsWarehouseMapper, Kxs
|
|
|
KxsUser user = RetOps.of(kxsUserR)
|
|
|
.getData()
|
|
|
.orElseThrow(() -> new GlobalCustomerException(ErrorTypeEnum.USER_NOT_FOUND.getDescription()));
|
|
|
- String[] pidPaths = user.getPidPath().split(StrUtil.COMMA);
|
|
|
+ //包含自身的
|
|
|
+ String[] pidPaths = (user.getPidPath() + userId).split(StrUtil.COMMA);
|
|
|
param.setWhsUserIds(pidPaths);
|
|
|
|
|
|
return baseMapper.searchList(page, param);
|