| | |
| | | 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; |
| | |
| | | * @return 活动列表 |
| | | */ |
| | | @PostMapping("listactivity") |
| | | R listActivity(@RequestParam("userId") Long userId, @RequestParam(value = "status", required = false) Integer status); |
| | | R listActivity(@RequestParam("userId") Long userId, @RequestParam(value = "status", required = false) Integer status,@RequestParam(value = "type",required = false)Integer type); |
| | | |
| | | /** |
| | | * 用户确认心愿 |
| | |
| | | R indexQuestionnaireList(@RequestBody PageBaseDTO pageBaseDTO); |
| | | |
| | | @PostMapping("/screen/hmk/baseInfo") |
| | | R hmkBaseInfo(); |
| | | R hmkBaseInfo(@RequestBody CommonPage commonPage); |
| | | |
| | | @GetMapping("/screen/hmk/partyProjectActivityLine") |
| | | R partyProjectActivityLine(); |
| | | |
| | | @PostMapping("/screen/hmk/projectActivityTop") |
| | | R projectActivityProject(@RequestBody CommonPage commonPage); |
| | | |
| | | /** |
| | | * 通过主键查询单条数据 |
| | |
| | | */ |
| | | @GetMapping("/comActSocialOrg/{id}") |
| | | R comActSocialOrgSelectOne(@PathVariable("id") Long id); |
| | | |
| | | |
| | | /** |
| | | * 通过userId查询 |
| | | * |
| | | * @param userId 主键 |
| | | * @return 单条数据 |
| | | */ |
| | | @GetMapping("/comActSocialOrg/selectByUserId") |
| | | R selectOneByUserId(@RequestParam("userId") Long userId); |
| | | |
| | | /** |
| | | * 分页查询所有数据 |
| | |
| | | */ |
| | | @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); |
| | | |
| | | /** |
| | | * 分页查询所有数据 |
| | | * |
| | |
| | | */ |
| | | @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); |
| | | |
| | | @GetMapping("/activity/partyMemberCount") |
| | | R partyMemberCount(@RequestParam("communityId")Long communityId,@RequestParam("year")String year); |
| | | } |