From b6b96e60485cbb7bdb3cc7f2cce44e0276513609 Mon Sep 17 00:00:00 2001
From: lidongdong <1459917685@qq.com>
Date: 星期四, 23 十一月 2023 14:19:28 +0800
Subject: [PATCH] 优化花城数据查询太慢3
---
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/McsInformationService.java | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 44 insertions(+), 0 deletions(-)
diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/McsInformationService.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/McsInformationService.java
index 89238ef..b945f20 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/McsInformationService.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/McsInformationService.java
@@ -1,6 +1,7 @@
package com.panzhihua.service_community.service;
import com.baomidou.mybatisplus.extension.service.IService;
+import com.panzhihua.common.model.dtos.community.microCommercialStreet.McsInfoDTO;
import com.panzhihua.common.model.dtos.community.microCommercialStreet.PageMcsInformationDTO;
import com.panzhihua.common.model.dtos.community.microCommercialStreet.SetShelfForInfoDTO;
import com.panzhihua.common.model.vos.R;
@@ -35,4 +36,47 @@
* @return
*/
R deleteMcsInfo(Long infoId, Long userId);
+
+ /**
+ * 戳戳资讯顶部统计数据
+ * @param userId
+ * @return
+ */
+ R getTopStatistics(Long userId);
+
+ /**
+ * 新增戳戳资讯
+ * @param mcsInfoDTO
+ * @return
+ */
+ R addMcsInfo(McsInfoDTO mcsInfoDTO);
+
+ /**
+ * 编辑戳戳资讯
+ * @param mcsInfoDTO
+ * @return
+ */
+ R putMcsInfo(McsInfoDTO mcsInfoDTO);
+
+ /**
+ * 发布戳戳资讯
+ * @param infoId
+ * @param userId
+ * @return
+ */
+ R publishMcsInfo(Long infoId, Long userId);
+
+ /**
+ * h5分页查询戳戳资讯
+ * @param pageMcsInformationDTO
+ * @return
+ */
+ R pageH5McsInfo(PageMcsInformationDTO pageMcsInformationDTO);
+
+ /**
+ * 资讯详情
+ * @param infoId
+ * @return
+ */
+ R getMcsInfo(Long infoId);
}
--
Gitblit v1.7.1