From 40bfb646d1b962d33841c1ebbceb0dd7cb668bfb Mon Sep 17 00:00:00 2001 From: liujie <1793218484@qq.com> Date: 星期二, 29 四月 2025 14:54:04 +0800 Subject: [PATCH] 后台日志管理 --- springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/service/IPartyMemberService.java | 33 +++++++++++++++++++++++++++++---- 1 files changed, 29 insertions(+), 4 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/service/IPartyMemberService.java b/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/service/IPartyMemberService.java index 17b0eb9..80e8f01 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/service/IPartyMemberService.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/service/IPartyMemberService.java @@ -1,13 +1,19 @@ package com.panzhihua.sangeshenbian.service; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; +import com.panzhihua.common.model.vos.LoginUserInfoVO; import com.panzhihua.common.model.vos.sangeshenbian.SystemUserVo; import com.panzhihua.sangeshenbian.model.entity.PartyMember; import com.baomidou.mybatisplus.extension.service.IService; +import com.panzhihua.sangeshenbian.warpper.PartyMemberApplicationRequest; +import com.panzhihua.sangeshenbian.warpper.PartyMemberImportFailedVO; import com.panzhihua.sangeshenbian.warpper.PartyMemberDTO; import com.panzhihua.sangeshenbian.warpper.PartyMemberQuery; +import com.panzhihua.sangeshenbian.warpper.PendingPartyMemberApplicationVO; +import org.springframework.web.multipart.MultipartFile; import java.io.IOException; +import java.util.List; /** * <p> @@ -39,7 +45,7 @@ * @param id * @param loginUserInfo */ - void freeze(Long id, SystemUserVo loginUserInfo); + PartyMember freeze(Long id, SystemUserVo loginUserInfo); /** * 下载导入模板 @@ -55,10 +61,18 @@ void export(PartyMemberQuery query, SystemUserVo loginUserInfo) throws IOException; /** - *导入 + * 导入 + * + * @param file * @param loginUserInfo + * @return */ - void importExcel(SystemUserVo loginUserInfo); + List<PartyMemberImportFailedVO> importExcel(MultipartFile file, SystemUserVo loginUserInfo) throws IOException; + + /** + * 党员申请 + */ + void applyForMembership(PartyMemberApplicationRequest dto, LoginUserInfoVO loginUserInfo); /** * 审核 @@ -66,5 +80,16 @@ * @param dto * @param loginUserInfo */ - void audit(PartyMemberDTO dto, SystemUserVo loginUserInfo); + PartyMember audit(PartyMemberDTO dto, SystemUserVo loginUserInfo); + + /** + * 根据电话号码查询有效的党员数据 + * @param phone + * @return + */ + PartyMember getPartyMemberByPhone(String phone); + + Page<PendingPartyMemberApplicationVO> preAuditList(Page<PendingPartyMemberApplicationVO> page, LoginUserInfoVO loginUserInfo); + + Boolean verifyPartyMemberByPhone(String phone); } -- Gitblit v1.7.1