|
@@ -175,7 +175,7 @@ public class KsNewGroupReportCtrl {
|
|
|
List<JSONObject> listData=new ArrayList<>();
|
|
|
try {
|
|
|
String roleCode = sysRoleService.getRoleCodeByUserId(userId);
|
|
|
- if (roleCode != null && roleCode.equals("admin")) {
|
|
|
+ if (roleCode != null && roleCode.equals("admin") || roleCode.equals("saleDirector")) {
|
|
|
listData = newPlanReportService.getAllOperator();
|
|
|
}else {
|
|
|
listData=newMonitorService.getOperator(userId,userName);
|