From fd22a2c83f60ff0daebff5fdb78f637f17d58cee Mon Sep 17 00:00:00 2001 From: 101captain <237651143@qq.com> Date: 星期二, 22 二月 2022 15:01:59 +0800 Subject: [PATCH] 三社功能提交 --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java | 145 ++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 140 insertions(+), 5 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java index 49e9f66..55c09b6 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java @@ -24,10 +24,9 @@ import com.panzhihua.common.model.vos.civil.ComActSocialWorkerDetailsVO; import com.panzhihua.common.model.vos.community.*; import com.panzhihua.common.model.vos.community.cluster.admin.ComClusterMemberExcelVO; -import com.panzhihua.common.model.vos.community.social.ComActSocialProjectMemberVO; -import com.panzhihua.common.model.vos.community.social.ComActSocialProjectPublicityVO; -import com.panzhihua.common.model.vos.community.social.ComActSocialProjectScheduleVO; -import com.panzhihua.common.model.vos.community.social.SocialProjectVO; +import com.panzhihua.common.model.vos.community.raffle.ComActRaffleRecordVO; +import com.panzhihua.common.model.vos.community.raffle.ComActRaffleVO; +import com.panzhihua.common.model.vos.community.social.*; import io.swagger.annotations.ApiOperation; import com.panzhihua.common.model.vos.community.*; import org.springframework.beans.BeanUtils; @@ -7703,6 +7702,15 @@ @PostMapping("/screen/index/questionnaireList") R indexQuestionnaireList(@RequestBody PageBaseDTO pageBaseDTO); + @PostMapping("/screen/hmk/baseInfo") + R hmkBaseInfo(@RequestBody CommonPage commonPage); + + @GetMapping("/screen/hmk/partyProjectActivityLine") + R partyProjectActivityLine(); + + @PostMapping("/screen/hmk/projectActivityTop") + R projectActivityProject(@RequestBody CommonPage commonPage); + /** * 通过主键查询单条数据 * @@ -7711,6 +7719,16 @@ */ @GetMapping("/comActSocialOrg/{id}") R comActSocialOrgSelectOne(@PathVariable("id") Long id); + + + /** + * 通过userId查询 + * + * @param userId 主键 + * @return 单条数据 + */ + @GetMapping("/comActSocialOrg/selectByUserId") + R selectOneByUserId(@RequestParam("userId") Long userId); /** * 分页查询所有数据 @@ -7738,6 +7756,15 @@ */ @PostMapping("/comActSocialMember") public R comActSocialMemberInsert(@RequestBody ComActSocialMemberVO comActSocialMember); + + /** + * 批量新增数据 + * + * @param comActSocialMember 实体对象 + * @return 新增结果 + */ + @PostMapping("/comActSocialProjectMember/batch") + public R comActSocialMemberInsertBatch(@RequestBody ComActSocialProjectMemberVO comActSocialMember); /** * 修改数据 @@ -7804,6 +7831,50 @@ */ @PostMapping("/comActSocialWorker/input") R listSaveSocialWorkerExcelVO(@RequestBody List<ComActSocialWorkerExcelVO> list, @RequestParam("communityId") Long communityId); + + /** + *活动查询社工列表 + * @param commonPage + * @return + */ + @PostMapping("/comActSocialWorker/activity") + R activity(@RequestBody CommonPage commonPage); + + /** + * 社工查询活动 + * @param commonPage + * @return + */ + @PostMapping("/comActSocialWorker/activityList") + R activityList(@RequestBody CommonPage commonPage); + + /** + * 分页查询所有数据 + * + * @param commonPage 查询实体 + * @return 所有数据 + */ + @PostMapping("/comActSocialWorkerService/queryAll") + R selectAllComActSocialWorkerService(@RequestBody CommonPage commonPage); + + /** + * 通过主键查询单条数据 + * + * @param id 主键 + * @return 单条数据 + */ + @GetMapping("/comActSocialWorkerService/{id}") + R selectOneComActSocialWorkerService(@PathVariable("id") Long id); + + /** + * 修改数据 + * + * @param comActSocialWorkerServiceVO 实体对象 + * @return 修改结果 + */ + @PostMapping("/comActSocialWorkerService/update") + R updateComActSocialWorkerService(@RequestBody ComActSocialWorkerServiceVO comActSocialWorkerServiceVO); + /** * 分页查询所有数据 * @@ -7920,7 +7991,7 @@ * @param id 主键 * @return 单条数据 */ - @GetMapping("/comActSocialProjectPublicity/{id}") + @GetMapping("/comActSocialProjectPublicity/getByApplet/{id}") public R selectOneComActSocialProjectPublicity(@PathVariable("id") Long id); @@ -8011,4 +8082,68 @@ */ @PostMapping("/comActColumn/queryLevel") public R queryLevel(@RequestBody ComActColumnVO comActColumnVO); + + @PostMapping("/comActRaffle/queryAll") + R selectAllComActRaffle(@RequestBody CommonPage commonPage); + + @GetMapping("/comActRaffle/detail") + R selectOneComActRaffle(@RequestParam("id") Long id,@RequestParam("userId")Long userId); + + @PostMapping("/comActRaffle") + R insertComActRaffle(@RequestBody ComActRaffleVO comActRaffleVO); + + @PostMapping("/comActRaffle/update") + R updateComActRaffle(@RequestBody ComActRaffleVO comActRaffleVO); + + @GetMapping("/comActRaffle/del") + R deleteComActRaffle(@RequestParam("id") Long id); + + /** + * 分页查询所有数据 + * + * @param commonPage 查询实体 + * @return 所有数据 + */ + @PostMapping("/comActRaffleRecord/queryAll") + R selectAllComActRaffleRecord(@RequestBody CommonPage commonPage); + + @GetMapping("/comActRaffleRecord/queryPrize") + R queryPrize(@RequestParam("id")Long id); + + /** + * 生成二维码 + * @param qrCodeVO + * @return + */ + @PostMapping("/comActRaffleRecord/getQRCode") + R getRaffleQRCode(@RequestBody QRCodeVO qrCodeVO); + + /** + * 修改数据 + * + * @param comActRaffleRecordVO 实体对象 + * @return 修改结果 + */ + @PostMapping("/comActRaffleRecord/update") + R updateRaffleRecord(@RequestBody ComActRaffleRecordVO comActRaffleRecordVO); + + @PostMapping("/comActRaffleRecord") + R insertRaffleRecord(@RequestBody ComActRaffleRecordVO comActRaffleRecordVO); + + /** + * 通过主键查询单条数据 + * + * @param id 主键 + * @return 单条数据 + */ + @GetMapping("/comActRaffleRecord/{id}") + R selectOneRaffleRecord(@PathVariable("id") Long id); + /** + * 导出 + * + * @param commonPage 查询实体 + * @return 所有数据 + */ + @PostMapping("/comActRaffleRecord/export") + R exportComActRaffleRecord(@RequestBody CommonPage commonPage); } -- Gitblit v1.7.1