|
@@ -382,7 +382,7 @@ public class KuaishouItemCollectSamplesServiceImpl implements IKuaishouItemColle
|
|
|
if ("courtshipManager".equals(roleKey) || "bdManager".equals(roleKey) || "associationManager".equals(roleKey)) {
|
|
|
Long deptId = deptService.getDeptIdByUserId(userId);
|
|
|
userList = deptService.getDeptUserListByDeptId(deptId);
|
|
|
- } else if ("supplyChainAdmin".equals(roleKey)) {
|
|
|
+ } else if ("supplyChainAdmin".equals(roleKey) || "admin".equals(roleKey)) {
|
|
|
//社群查看所有 all
|
|
|
userList = null;
|
|
|
} else {
|
|
@@ -417,7 +417,7 @@ public class KuaishouItemCollectSamplesServiceImpl implements IKuaishouItemColle
|
|
|
if ("courtshipManager".equals(roleKey) || "bdManager".equals(roleKey)) {
|
|
|
Long deptId = deptService.getDeptIdByUserId(userId);
|
|
|
userList = deptService.getDeptUserListByDeptId(deptId);
|
|
|
- } else if (roleKey.contains("association") || "supplyChainAdmin".equals(roleKey)) {
|
|
|
+ } else if (roleKey.contains("association") || "supplyChainAdmin".equals(roleKey) || "admin".equals(roleKey)) {
|
|
|
//社群查看所有 all
|
|
|
userList = null;
|
|
|
} else {
|
|
@@ -716,7 +716,7 @@ public class KuaishouItemCollectSamplesServiceImpl implements IKuaishouItemColle
|
|
|
if ("courtshipManager".equals(roleKey) || "bdManager".equals(roleKey)) {
|
|
|
Long deptId = deptService.getDeptIdByUserId(userId);
|
|
|
userList = deptService.getDeptUserListByDeptId(deptId);
|
|
|
- } else if (roleKey.contains("association") || "supplyChainAdmin".equals(roleKey)) {
|
|
|
+ } else if (roleKey.contains("association") || "supplyChainAdmin".equals(roleKey) || "admin".equals(roleKey)) {
|
|
|
//社群查看所有 all
|
|
|
userList = null;
|
|
|
} else {
|