|
@@ -285,7 +285,7 @@ public class MessageNoticeController {
|
|
|
}
|
|
|
|
|
|
if (StringUtils.isEmpty(companyCode)){
|
|
|
- if (userService.hasRole(subject,"SYSADMIN")) {
|
|
|
+ if (!userService.hasRole(subject,"SYSADMIN")) {
|
|
|
searchParams.put("companyIds", companyInfo.getCode().split(","));
|
|
|
}
|
|
|
}
|