From f4fd7102a0b6ba31c7f5edf4ce2483a520e6daf0 Mon Sep 17 00:00:00 2001 From: memorylkf <312904636@qq.com> Date: Wed, 21 Jan 2026 14:10:47 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20[=E5=B7=A5=E4=BD=9C=E5=8F=B0]=20?= =?UTF-8?q?=E6=9D=83=E9=99=90=E6=8E=A7=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/hxhq/business/controller/HomeController.java | 2 +- .../main/java/com/hxhq/business/service/impl/NoticeServiceImpl.java | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/controller/HomeController.java b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/controller/HomeController.java index 24d4fdd..6ce565b 100644 --- a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/controller/HomeController.java +++ b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/controller/HomeController.java @@ -45,7 +45,7 @@ public class HomeController extends BaseController * 查询试验列表 */ @GetMapping("/noticeList") - @RequiresPermissions("business:study:list") + @RequiresPermissions("business:user:work") public TableDataInfo noticeService() { startPage(); diff --git a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/NoticeServiceImpl.java b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/NoticeServiceImpl.java index 5ec0ba4..7b77c4d 100644 --- a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/NoticeServiceImpl.java +++ b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/NoticeServiceImpl.java @@ -88,10 +88,11 @@ public class NoticeServiceImpl extends ServiceImpl impleme } } String title = "您参与的【"+study.getName()+"("+study.getSn()+")】【"+(study.getType().equals(StudyTypeEnum.sy.getValue())?studySubject.getDeptName():study.getDeptName())+"】有新试验方法,请进入试验的对应学科进行阅读"; + String url = study.getType().equals(StudyTypeEnum.sy.getValue())?("/study/enter/"+studyId+"?tab=syxx"):study.getType().equals(StudyTypeEnum.fsy.getValue())?("/nonTrial/enter/"+studyId+"?tab=syxx"):""; //试验学科内部的人+非试验部门内的人+麻精药不用判断(只需要判断有审核按钮) List userIdList = userMapper.selectStudyMethodUserIdExcludeCreate(studyId, study.getType().equals(StudyTypeEnum.sy.getValue())?studySubjectId:null,study.getType().equals(StudyTypeEnum.fsy.getValue())?study.getDeptId():null,createUserId); if(userIdList.size()>0){ - saveBatch(title,userIdList,null); + saveBatch(title,userIdList,url); } } }