From 6bd4021f3966ce73b4be302926630802bab11b4c Mon Sep 17 00:00:00 2001 From: "review512jwy@163.com" <“review512jwy@163.com”> Date: Thu, 29 Jan 2026 17:05:03 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/config/language/msg/msg_cn.yml | 6 ++++++ .../src/main/resources/config/language/msg/msg_en.yml | 7 +++++++ .../src/main/resources/config/language/msg/msg_jp.yml | 7 +++++++ .../DashboardNotificationCategoryController.java | 4 ++++ .../back/controller/DashboardNotificationController.java | 4 ++++ 5 files changed, 28 insertions(+) diff --git a/dongjian-dashboard-back-common/src/main/resources/config/language/msg/msg_cn.yml b/dongjian-dashboard-back-common/src/main/resources/config/language/msg/msg_cn.yml index 91dbf61..bb41e6a 100644 --- a/dongjian-dashboard-back-common/src/main/resources/config/language/msg/msg_cn.yml +++ b/dongjian-dashboard-back-common/src/main/resources/config/language/msg/msg_cn.yml @@ -139,5 +139,11 @@ msgcn: editLevel: 编辑层级 deleteLevel: 删除层级 queryLevel: 获取层级列表 + addNotificationCategory: 新增通知分类 + editNotificationCategory: 编辑通知分类 + delNotificationCategory: 删除通知分类 + addNotification: 新增通知 + editNotification: 编辑通知 + delNotification: 删除通知 diff --git a/dongjian-dashboard-back-common/src/main/resources/config/language/msg/msg_en.yml b/dongjian-dashboard-back-common/src/main/resources/config/language/msg/msg_en.yml index e67d1e9..60d0d7b 100644 --- a/dongjian-dashboard-back-common/src/main/resources/config/language/msg/msg_en.yml +++ b/dongjian-dashboard-back-common/src/main/resources/config/language/msg/msg_en.yml @@ -139,6 +139,13 @@ msgen: editLevel: Edit Level deleteLevel: Delete Level queryLevel: Get Level List + addNotificationCategory: Add notification category + editNotificationCategory: Edit notification category + delNotificationCategory: Delete notification category + addNotification: Add notification + editNotification: Edit notification + delNotification: Delete notification + diff --git a/dongjian-dashboard-back-common/src/main/resources/config/language/msg/msg_jp.yml b/dongjian-dashboard-back-common/src/main/resources/config/language/msg/msg_jp.yml index d7ab7bb..be2c387 100644 --- a/dongjian-dashboard-back-common/src/main/resources/config/language/msg/msg_jp.yml +++ b/dongjian-dashboard-back-common/src/main/resources/config/language/msg/msg_jp.yml @@ -139,6 +139,13 @@ msgjp: editLevel: レベルを編集 deleteLevel: レベルを削除 queryLevel: レベル一覧を取得 + addNotificationCategory: 通知カテゴリを追加 + editNotificationCategory: 通知カテゴリを編集 + delNotificationCategory: 通知カテゴリを削除 + addNotification: 通知を追加 + editNotification: 通知を編集 + delNotification: 通知を削除 + diff --git a/dongjian-dashboard-back-controller/src/main/java/com/dongjian/dashboard/back/controller/DashboardNotificationCategoryController.java b/dongjian-dashboard-back-controller/src/main/java/com/dongjian/dashboard/back/controller/DashboardNotificationCategoryController.java index 5acffb2..8248449 100644 --- a/dongjian-dashboard-back-controller/src/main/java/com/dongjian/dashboard/back/controller/DashboardNotificationCategoryController.java +++ b/dongjian-dashboard-back-controller/src/main/java/com/dongjian/dashboard/back/controller/DashboardNotificationCategoryController.java @@ -5,6 +5,7 @@ import com.dongjian.dashboard.back.common.response.PageInfo; import com.dongjian.dashboard.back.common.response.PageResponse; import com.dongjian.dashboard.back.common.response.ResponseCode; import com.dongjian.dashboard.back.common.response.SimpleDataResponse; +import com.dongjian.dashboard.back.configurator.aspect.OperationLog; import com.dongjian.dashboard.back.configurator.interceptor.AccessRequired; import com.dongjian.dashboard.back.dto.dashboardnotification.DashboardNotificationCategorySearchParams; import com.dongjian.dashboard.back.dto.dashboardnotification.DeleteDashboardNotificationCategoryParams; @@ -30,6 +31,7 @@ public class DashboardNotificationCategoryController { @Autowired private DashboardNotificationCategoryService dashboardNotificationCategoryService; + @OperationLog(operation = "addNotificationCategory", remark = "") @Operation(summary = "Add category") @RequestMapping(value = "/add", method = RequestMethod.POST) public SimpleDataResponse add( @@ -42,6 +44,7 @@ public class DashboardNotificationCategoryController { return dashboardNotificationCategoryService.add(optDashboardNotificationCategoryParams, UserId, CompanyId, LanguageType); } + @OperationLog(operation = "editNotificationCategory", remark = "") @Operation(summary = "Edit category") @RequestMapping(value = "/edit", method = RequestMethod.POST) public SimpleDataResponse edit( @@ -54,6 +57,7 @@ public class DashboardNotificationCategoryController { return dashboardNotificationCategoryService.edit(optDashboardNotificationCategoryParams, UserId, CompanyId, LanguageType); } + @OperationLog(operation = "delNotificationCategory", remark = "") @Operation(summary = "Delete category") @RequestMapping(value = "/batchDelete", method = RequestMethod.POST) public SimpleDataResponse batchDelete( diff --git a/dongjian-dashboard-back-controller/src/main/java/com/dongjian/dashboard/back/controller/DashboardNotificationController.java b/dongjian-dashboard-back-controller/src/main/java/com/dongjian/dashboard/back/controller/DashboardNotificationController.java index e395040..baebe19 100644 --- a/dongjian-dashboard-back-controller/src/main/java/com/dongjian/dashboard/back/controller/DashboardNotificationController.java +++ b/dongjian-dashboard-back-controller/src/main/java/com/dongjian/dashboard/back/controller/DashboardNotificationController.java @@ -5,6 +5,7 @@ import com.dongjian.dashboard.back.common.response.PageInfo; import com.dongjian.dashboard.back.common.response.PageResponse; import com.dongjian.dashboard.back.common.response.ResponseCode; import com.dongjian.dashboard.back.common.response.SimpleDataResponse; +import com.dongjian.dashboard.back.configurator.aspect.OperationLog; import com.dongjian.dashboard.back.configurator.interceptor.AccessRequired; import com.dongjian.dashboard.back.dto.dashboardnotification.DashboardNotificationSearchParams; import com.dongjian.dashboard.back.dto.dashboardnotification.DeleteDashboardNotificationParams; @@ -30,6 +31,7 @@ public class DashboardNotificationController { @Autowired private DashboardNotificationService dashboardNotificationService; + @OperationLog(operation = "addNotification", remark = "") @Operation(summary = "Add dashboard notification") @RequestMapping(value = "/add", method = RequestMethod.POST) public SimpleDataResponse add( @@ -42,6 +44,7 @@ public class DashboardNotificationController { return dashboardNotificationService.add(optDashboardNotificationParams, UserId, CompanyId, LanguageType); } + @OperationLog(operation = "editNotification", remark = "") @Operation(summary = "Edit dashboard notification") @RequestMapping(value = "/edit", method = RequestMethod.POST) public SimpleDataResponse edit( @@ -54,6 +57,7 @@ public class DashboardNotificationController { return dashboardNotificationService.edit(optDashboardNotificationParams, UserId, CompanyId, LanguageType); } + @OperationLog(operation = "delNotification", remark = "") @Operation(summary = "Delete dashboard notification") @RequestMapping(value = "/batchDelete", method = RequestMethod.POST) public SimpleDataResponse batchDelete(