浏览代码

通知公告列表添加租户筛选条件

fuyuchuan 2 周之前
父节点
当前提交
9ea96c9a1f

+ 1 - 0
base-modules/service-system/service-system-biz/src/main/java/com/usky/system/service/impl/SysNoticeServiceImpl.java

@@ -55,6 +55,7 @@ public class SysNoticeServiceImpl extends AbstractCrudService<SysNoticeMapper, S
      */
     @Override
     public List<SysNotice> selectNoticeList(SysNotice notice) {
+        notice.setTenantId(SecurityUtils.getTenantId());
         return noticeMapper.selectNoticeList(notice);
     }