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("""