From 8e4fb974d2bb5edd0feac39b735b7514cd3f4f3c Mon Sep 17 00:00:00 2001
From: 101captain <237651143@qq.com>
Date: 星期日, 24 七月 2022 10:22:46 +0800
Subject: [PATCH] bug修改
---
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActUserWalletMapper.java | 43 ++++++++++++++++++++++++++++++++-----------
1 files changed, 32 insertions(+), 11 deletions(-)
diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActUserWalletMapper.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActUserWalletMapper.java
index 1406460..fb1b105 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActUserWalletMapper.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActUserWalletMapper.java
@@ -1,15 +1,18 @@
package com.panzhihua.service_community.dao;
-import com.baomidou.mybatisplus.core.mapper.BaseMapper;
-import com.baomidou.mybatisplus.core.metadata.IPage;
-import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
-import com.panzhihua.common.model.dtos.community.wallet.PageComActWalletTradeDTO;
-import com.panzhihua.common.model.vos.community.wallet.ComActWalletRankingVO;
-import com.panzhihua.service_community.model.dos.ComActUserWalletDO;
+import java.util.Map;
+
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
-import java.util.Map;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import com.panzhihua.common.model.dtos.community.wallet.PageComActWalletAdminDTO;
+import com.panzhihua.common.model.dtos.community.wallet.PageComActWalletTradeDTO;
+import com.panzhihua.common.model.vos.community.wallet.ComActWalletAdminVO;
+import com.panzhihua.common.model.vos.community.wallet.ComActWalletRankingVO;
+import com.panzhihua.service_community.model.dos.ComActUserWalletDO;
/**
* @auther lyq
@@ -19,13 +22,31 @@
@Mapper
public interface ComActUserWalletMapper extends BaseMapper<ComActUserWalletDO> {
- Map<String,String> getCommunityName(@Param("communityId") Long communityId);
+ Map<String, String> getCommunityName(@Param("communityId") Long communityId, @Param("type") Integer type);
+
+ Map<String, String> getAgreementContent(@Param("communityId") Long communityId, @Param("type") Integer type);
/**
* 查询用户绑定的社区收益排行榜
- * @param walletTradeDTO 请求参数
- * @return 社区收益排行榜
+ *
+ * @param walletTradeDTO
+ * 请求参数
+ * @return 社区收益排行榜
*/
- IPage<ComActWalletRankingVO> getWalletRanking(Page page, @Param("walletTradeDTO") PageComActWalletTradeDTO walletTradeDTO);
+ IPage<ComActWalletRankingVO> getWalletRanking(Page page,
+ @Param("walletTradeDTO") PageComActWalletTradeDTO walletTradeDTO);
+
+ /**
+ * 分页查询收益结算列表
+ *
+ * @param pageWalletAdminDTO
+ * 请求参数
+ * @return 收益结算列表
+ */
+ IPage<ComActWalletAdminVO> getUserWalletList(Page page,
+ @Param("pageWalletAdminDTO") PageComActWalletAdminDTO pageWalletAdminDTO);
+
+ void insertSysAgreement(@Param("content") String content, @Param("name") String name,
+ @Param("communityId") Long communityId, @Param("type") Integer type);
}
--
Gitblit v1.7.1