From 56788216ed6c8f3ef635019508f813c66f8ded85 Mon Sep 17 00:00:00 2001 From: wany <13995595726@qq.com> Date: Wed, 6 Nov 2024 10:01:35 +0800 Subject: [PATCH] 1 --- ruoyi | 2 +- .../xyt/controller/MessageCenterController.java | 5 ++--- .../project/xyt/mapper/OsmoticPressRMapper.java | 12 ++++++------ .../project/xyt/service/MessageCenterService.java | 7 ++++--- .../project/xyt/service/OsmoticPressRService.java | 15 +++++++++------ .../project/xyt/service/OsmoticShiftRService.java | 12 +++++++++++- src/main/resources/config-ruoyi.yml | 2 +- 7 files changed, 34 insertions(+), 21 deletions(-) diff --git a/ruoyi b/ruoyi index 6a52c42..ed71040 160000 --- a/ruoyi +++ b/ruoyi @@ -1 +1 @@ -Subproject commit 6a52c42db8cf808d63dcb49723ee3866cf381505 +Subproject commit ed710408bffa365228193ae257e70bfcb33469dd diff --git a/src/main/java/com/gunshi/project/xyt/controller/MessageCenterController.java b/src/main/java/com/gunshi/project/xyt/controller/MessageCenterController.java index dc6e157..292a10c 100644 --- a/src/main/java/com/gunshi/project/xyt/controller/MessageCenterController.java +++ b/src/main/java/com/gunshi/project/xyt/controller/MessageCenterController.java @@ -7,7 +7,6 @@ import com.gunshi.project.xyt.entity.so.MessageCenterPageSo; import com.gunshi.project.xyt.model.MessageCenter; import com.gunshi.project.xyt.service.MessageCenterService; import io.swagger.v3.oas.annotations.Operation; -import io.swagger.v3.oas.annotations.Parameter; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.validation.annotation.Validated; @@ -43,8 +42,8 @@ public class MessageCenterController { @Operation(summary = "全部标注已读") @GetMapping("/all/read") - public R allRead(@RequestParam("receiveUserId") @Parameter(description = "接收人id") Long receiveUserId) { - return R.ok(service.allRead(receiveUserId)); + public R allRead() { + return R.ok(service.allRead()); } @Operation(summary = "APP-消息中心") diff --git a/src/main/java/com/gunshi/project/xyt/mapper/OsmoticPressRMapper.java b/src/main/java/com/gunshi/project/xyt/mapper/OsmoticPressRMapper.java index 8370837..4cb9db2 100644 --- a/src/main/java/com/gunshi/project/xyt/mapper/OsmoticPressRMapper.java +++ b/src/main/java/com/gunshi/project/xyt/mapper/OsmoticPressRMapper.java @@ -53,7 +53,7 @@ public interface OsmoticPressRMapper extends BaseMapper { """) - List queryRz(@Param("obj") OsmoticQuerySo osmoticQuerySo); + List queryRz(@Param("obj") OsmoticQuerySo osmoticQuerySo,@Param("stcd") String stcd); @Select(""" """) - List queryLineRz(@Param("obj") OsmoticQuerySo osmoticQuerySo); + List queryLineRz(@Param("obj") OsmoticQuerySo osmoticQuerySo,@Param("stcd") String stcd); @Select(""" """) - List queryDrp(@Param("year") Integer year); + List queryDrp(@Param("year") Integer year,@Param("stcd") String stcd); @Select("""