Browse Source

补充日志

zhc
review512jwy@163.com 4 weeks ago
parent
commit
6bd4021f39
  1. 6
      dongjian-dashboard-back-common/src/main/resources/config/language/msg/msg_cn.yml
  2. 7
      dongjian-dashboard-back-common/src/main/resources/config/language/msg/msg_en.yml
  3. 7
      dongjian-dashboard-back-common/src/main/resources/config/language/msg/msg_jp.yml
  4. 4
      dongjian-dashboard-back-controller/src/main/java/com/dongjian/dashboard/back/controller/DashboardNotificationCategoryController.java
  5. 4
      dongjian-dashboard-back-controller/src/main/java/com/dongjian/dashboard/back/controller/DashboardNotificationController.java

6
dongjian-dashboard-back-common/src/main/resources/config/language/msg/msg_cn.yml

@ -139,5 +139,11 @@ msgcn:
editLevel: 编辑层级 editLevel: 编辑层级
deleteLevel: 删除层级 deleteLevel: 删除层级
queryLevel: 获取层级列表 queryLevel: 获取层级列表
addNotificationCategory: 新增通知分类
editNotificationCategory: 编辑通知分类
delNotificationCategory: 删除通知分类
addNotification: 新增通知
editNotification: 编辑通知
delNotification: 删除通知

7
dongjian-dashboard-back-common/src/main/resources/config/language/msg/msg_en.yml

@ -139,6 +139,13 @@ msgen:
editLevel: Edit Level editLevel: Edit Level
deleteLevel: Delete Level deleteLevel: Delete Level
queryLevel: Get Level List 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

7
dongjian-dashboard-back-common/src/main/resources/config/language/msg/msg_jp.yml

@ -139,6 +139,13 @@ msgjp:
editLevel: レベルを編集 editLevel: レベルを編集
deleteLevel: レベルを削除 deleteLevel: レベルを削除
queryLevel: レベル一覧を取得 queryLevel: レベル一覧を取得
addNotificationCategory: 通知カテゴリを追加
editNotificationCategory: 通知カテゴリを編集
delNotificationCategory: 通知カテゴリを削除
addNotification: 通知を追加
editNotification: 通知を編集
delNotification: 通知を削除

4
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.PageResponse;
import com.dongjian.dashboard.back.common.response.ResponseCode; import com.dongjian.dashboard.back.common.response.ResponseCode;
import com.dongjian.dashboard.back.common.response.SimpleDataResponse; 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.configurator.interceptor.AccessRequired;
import com.dongjian.dashboard.back.dto.dashboardnotification.DashboardNotificationCategorySearchParams; import com.dongjian.dashboard.back.dto.dashboardnotification.DashboardNotificationCategorySearchParams;
import com.dongjian.dashboard.back.dto.dashboardnotification.DeleteDashboardNotificationCategoryParams; import com.dongjian.dashboard.back.dto.dashboardnotification.DeleteDashboardNotificationCategoryParams;
@ -30,6 +31,7 @@ public class DashboardNotificationCategoryController {
@Autowired @Autowired
private DashboardNotificationCategoryService dashboardNotificationCategoryService; private DashboardNotificationCategoryService dashboardNotificationCategoryService;
@OperationLog(operation = "addNotificationCategory", remark = "")
@Operation(summary = "Add category") @Operation(summary = "Add category")
@RequestMapping(value = "/add", method = RequestMethod.POST) @RequestMapping(value = "/add", method = RequestMethod.POST)
public SimpleDataResponse add( public SimpleDataResponse add(
@ -42,6 +44,7 @@ public class DashboardNotificationCategoryController {
return dashboardNotificationCategoryService.add(optDashboardNotificationCategoryParams, UserId, CompanyId, LanguageType); return dashboardNotificationCategoryService.add(optDashboardNotificationCategoryParams, UserId, CompanyId, LanguageType);
} }
@OperationLog(operation = "editNotificationCategory", remark = "")
@Operation(summary = "Edit category") @Operation(summary = "Edit category")
@RequestMapping(value = "/edit", method = RequestMethod.POST) @RequestMapping(value = "/edit", method = RequestMethod.POST)
public SimpleDataResponse edit( public SimpleDataResponse edit(
@ -54,6 +57,7 @@ public class DashboardNotificationCategoryController {
return dashboardNotificationCategoryService.edit(optDashboardNotificationCategoryParams, UserId, CompanyId, LanguageType); return dashboardNotificationCategoryService.edit(optDashboardNotificationCategoryParams, UserId, CompanyId, LanguageType);
} }
@OperationLog(operation = "delNotificationCategory", remark = "")
@Operation(summary = "Delete category") @Operation(summary = "Delete category")
@RequestMapping(value = "/batchDelete", method = RequestMethod.POST) @RequestMapping(value = "/batchDelete", method = RequestMethod.POST)
public SimpleDataResponse batchDelete( public SimpleDataResponse batchDelete(

4
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.PageResponse;
import com.dongjian.dashboard.back.common.response.ResponseCode; import com.dongjian.dashboard.back.common.response.ResponseCode;
import com.dongjian.dashboard.back.common.response.SimpleDataResponse; 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.configurator.interceptor.AccessRequired;
import com.dongjian.dashboard.back.dto.dashboardnotification.DashboardNotificationSearchParams; import com.dongjian.dashboard.back.dto.dashboardnotification.DashboardNotificationSearchParams;
import com.dongjian.dashboard.back.dto.dashboardnotification.DeleteDashboardNotificationParams; import com.dongjian.dashboard.back.dto.dashboardnotification.DeleteDashboardNotificationParams;
@ -30,6 +31,7 @@ public class DashboardNotificationController {
@Autowired @Autowired
private DashboardNotificationService dashboardNotificationService; private DashboardNotificationService dashboardNotificationService;
@OperationLog(operation = "addNotification", remark = "")
@Operation(summary = "Add dashboard notification") @Operation(summary = "Add dashboard notification")
@RequestMapping(value = "/add", method = RequestMethod.POST) @RequestMapping(value = "/add", method = RequestMethod.POST)
public SimpleDataResponse add( public SimpleDataResponse add(
@ -42,6 +44,7 @@ public class DashboardNotificationController {
return dashboardNotificationService.add(optDashboardNotificationParams, UserId, CompanyId, LanguageType); return dashboardNotificationService.add(optDashboardNotificationParams, UserId, CompanyId, LanguageType);
} }
@OperationLog(operation = "editNotification", remark = "")
@Operation(summary = "Edit dashboard notification") @Operation(summary = "Edit dashboard notification")
@RequestMapping(value = "/edit", method = RequestMethod.POST) @RequestMapping(value = "/edit", method = RequestMethod.POST)
public SimpleDataResponse edit( public SimpleDataResponse edit(
@ -54,6 +57,7 @@ public class DashboardNotificationController {
return dashboardNotificationService.edit(optDashboardNotificationParams, UserId, CompanyId, LanguageType); return dashboardNotificationService.edit(optDashboardNotificationParams, UserId, CompanyId, LanguageType);
} }
@OperationLog(operation = "delNotification", remark = "")
@Operation(summary = "Delete dashboard notification") @Operation(summary = "Delete dashboard notification")
@RequestMapping(value = "/batchDelete", method = RequestMethod.POST) @RequestMapping(value = "/batchDelete", method = RequestMethod.POST)
public SimpleDataResponse batchDelete( public SimpleDataResponse batchDelete(

Loading…
Cancel
Save