From 1ebe2726a5f8fe55f01481b37d1ac1f75a088520 Mon Sep 17 00:00:00 2001 From: Crunchy <3114200645@qq.com> Date: 星期四, 25 四月 2024 16:34:23 +0800 Subject: [PATCH] 2024-4-25 资源要求-设备管理后端调整 --- framework/src/main/java/com/yuanchu/mom/controller/InformationNotificationController.java | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/framework/src/main/java/com/yuanchu/mom/controller/InformationNotificationController.java b/framework/src/main/java/com/yuanchu/mom/controller/InformationNotificationController.java index 013fda6..972ba26 100644 --- a/framework/src/main/java/com/yuanchu/mom/controller/InformationNotificationController.java +++ b/framework/src/main/java/com/yuanchu/mom/controller/InformationNotificationController.java @@ -31,40 +31,40 @@ @Autowired private InformationNotificationService informationNotificationService; - @ApiOperation(value = "婊氬姩鍒嗛〉鏌ヨ") + @ApiOperation(value = "娑堟伅閫氱煡-婊氬姩鍒嗛〉鏌ヨ") @GetMapping("page") public Result<?> getPage(Long size, Long current, String messageType) { return Result.success(informationNotificationService.getPage(new Page<>(current, size), messageType)); } - @ApiOperation(value = "鏇存柊娑堟伅鐘舵�侊紙鎷掔粷銆佹帴鏀讹級") + @ApiOperation(value = "娑堟伅閫氱煡-鏇存柊娑堟伅鐘舵�侊紙鎷掔粷銆佹帴鏀讹級") @PutMapping("updateMessageStatus") public Result<?> updateMessageStatus(@RequestBody InformationNotification informationNotification) { informationNotificationService.updateById(informationNotification); return Result.success(); } - @ApiOperation(value = "鏍囪鎵�鏈変俊鎭负宸茶/鍒犻櫎鎵�鏈夊凡璇绘秷鎭�") + @ApiOperation(value = "娑堟伅閫氱煡-鏍囪鎵�鏈変俊鎭负宸茶/鍒犻櫎鎵�鏈夊凡璇绘秷鎭�") @PutMapping("informationReadOrDelete/{isMarkAllInformationRead}") public Result<?> markAllInformationReadOrDeleteAllReadMessages(@PathVariable("isMarkAllInformationRead") Boolean isMarkAllInformationRead) { informationNotificationService.markAllInformationReadOrDeleteAllReadMessages(isMarkAllInformationRead); return Result.success(); } - @ApiOperation(value = "鏍规嵁Id鍒犻櫎鏁版嵁") + @ApiOperation(value = "娑堟伅閫氱煡-鍒犻櫎鏁版嵁") @DeleteMapping("deleteDataBasedOnId") public Result<?> deleteDataBasedOnId(Integer id) { informationNotificationService.removeById(id); return Result.success(); } - @ApiOperation(value = "鏌ヨ鏄惁瀛樺湪鏈鏁版嵁") + @ApiOperation(value = "娑堟伅閫氱煡-鏌ヨ鏄惁瀛樺湪鏈鏁版嵁") @GetMapping("checkForUnreadData") public Result<?> checkForUnreadData() { return Result.success(informationNotificationService.checkForUnreadData()); } - @ApiOperation(value = "鐐瑰嚮璇︽儏瑙﹀彂淇敼鐘舵�佷负宸茶") + @ApiOperation(value = "娑堟伅閫氱煡-鐐瑰嚮璇︽儏瑙﹀彂淇敼鐘舵�佷负宸茶") @PutMapping("triggerModificationStatusToRead/{id}") public Result<?> triggerModificationStatusToRead(@PathVariable("id") Integer id) { informationNotificationService.triggerModificationStatusToRead(id); -- Gitblit v1.9.3