|
|
|
@ -2349,6 +2349,7 @@ public class DistributionStockupServiceImpl extends BaseServiceImpl<Distribution
|
|
|
|
|
public List<User> getRoleList() { |
|
|
|
|
//获取当前登录用户
|
|
|
|
|
BladeUser user = AuthUtil.getUser(); |
|
|
|
|
log.info(">>>>>>>>>>>>>>>user:{}",user); |
|
|
|
|
String tenantId = user.getTenantId(); |
|
|
|
|
// String deptId = user.getDeptId();
|
|
|
|
|
//查询备货岗位
|
|
|
|
@ -2366,6 +2367,7 @@ public class DistributionStockupServiceImpl extends BaseServiceImpl<Distribution
|
|
|
|
|
}); |
|
|
|
|
String roleIds = stringList.stream().collect(Collectors.joining(",")); |
|
|
|
|
R<List<User>> listR = userSearchClient.listByRole(roleIds); //查询角色下的所有人员数据
|
|
|
|
|
log.info(">>>>>>>>>>>>>>>>>>>>>listR,:{}",listR); |
|
|
|
|
BasicdataWarehouseEntity myCurrentWarehouse = basicdataWarehouseClient.getMyCurrentWarehouse(); |
|
|
|
|
//有没有选择仓库信息
|
|
|
|
|
if (ObjectUtils.isNotNull(myCurrentWarehouse)) { |
|
|
|
|