Browse Source

备货人员查询接口

chenglong
汤建军 11 months ago
parent
commit
69f2a67d45
  1. 2
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionStockupServiceImpl.java

2
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionStockupServiceImpl.java

@ -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)) {

Loading…
Cancel
Save