|
@@ -170,6 +170,7 @@ public class NewsProvider extends GenericProvider implements INewsService, INews
|
|
|
//使用 scopeUserIds 做业务逻辑
|
|
//使用 scopeUserIds 做业务逻辑
|
|
|
if (scopeUserIds != null && isTableExists) {
|
|
if (scopeUserIds != null && isTableExists) {
|
|
|
//暂定newsType为user,后期可扩展(user=用户, dept=部门, role=角色')
|
|
//暂定newsType为user,后期可扩展(user=用户, dept=部门, role=角色')
|
|
|
|
|
+ scopeUserIds.add(ContextUtil.getCurrentUserId()); //华创启德自己发的公告需要能自己也能看到
|
|
|
newsService.saveNewsScope("user", scopeUserIds,newsId);
|
|
newsService.saveNewsScope("user", scopeUserIds,newsId);
|
|
|
}
|
|
}
|
|
|
|
|
|