| | |
| | | } |
| | | @ApiOperation(value = "新版查看详情",response = ComActAcidRecordVO.class) |
| | | @GetMapping("/detailByApp") |
| | | public R detailByApp(@RequestParam("id")Long id,@RequestParam("localCity")String localCity){ |
| | | return this.communityService.detailByApp(id,localCity); |
| | | public R detailByApp(@RequestParam("id")Long id,@RequestParam("localCity")String localCity,@RequestParam("type")Integer type){ |
| | | return this.communityService.detailByApp(id,localCity,type); |
| | | } |
| | | |
| | | /** |
| | |
| | | |
| | | @ApiOperation(value = "查询当前用户党员信息") |
| | | @GetMapping("/getPartyMember") |
| | | public R getPartyMember(){ |
| | | return partyBuildingService.getPartyMember(this.getUserId()); |
| | | public R getPartyMember(@RequestParam("type")Integer type){ |
| | | return partyBuildingService.getPartyMember(this.getUserId(),type); |
| | | } |
| | | } |
| | |
| | | |
| | | |
| | | @GetMapping("/partybuildIng/getPartyMember") |
| | | public R getPartyMember(@RequestParam("userId")Long userId); |
| | | public R getPartyMember(@RequestParam("userId")Long userId,@RequestParam("type")Integer type); |
| | | } |
| | |
| | | } |
| | | |
| | | @GetMapping("/getPartyMember") |
| | | public R getPartyMember(@RequestParam("userId")Long userId){ |
| | | return comPbMemberService.getPartyMember(userId); |
| | | public R getPartyMember(@RequestParam("userId")Long userId,@RequestParam("type")Integer type){ |
| | | return comPbMemberService.getPartyMember(userId,type); |
| | | } |
| | | } |
| | |
| | | */ |
| | | List<PartyBuildingMemberVO> getDetailByApp(Long id); |
| | | |
| | | PartyBuildingMemberVO selectDetail(Long userId); |
| | | PartyBuildingMemberVO selectDetail(@Param("userId") Long userId,@Param("type")Integer type); |
| | | } |
| | |
| | | |
| | | R getPagePbMember(PartyBuildingMemberVO partyBuildingMemberVO); |
| | | |
| | | R getPartyMember(Long userId); |
| | | R getPartyMember(Long userId,Integer type); |
| | | } |
| | |
| | | } |
| | | |
| | | @Override |
| | | public R getPartyMember(Long userId) { |
| | | public R getPartyMember(Long userId,Integer type) { |
| | | |
| | | return R.ok(comPbMemberDAO.selectDetail(userId)); |
| | | return R.ok(comPbMemberDAO.selectDetail(userId,type)); |
| | | } |
| | | } |
| | |
| | | </select> |
| | | |
| | | <select id="selectDetail" resultType="com.panzhihua.common.model.vos.partybuilding.PartyBuildingMemberVO"> |
| | | select t.*,t1.contacts as contactsName,t1.phone as contacts,t1.name as checkUnitName,t2.name as villageName,t3.name as helpCommunityName,t3.contacts as helpCommunityContactsName,t3.contacts_phone as helpCommunityContacts,t4.name as communityName,t1.address from com_pb_member t left join com_pb_check_unit t1 on t.check_unit_id = t1.id left join com_mng_village t2 on t.village_id = t2.village_id left join com_act t3 on t.help_community_id = t3.community_id left join com_act t4 on t.community_id = t4.community_id where t.user_id=#{userId} |
| | | select t.*,t1.contacts as contactsName,t1.phone as contacts,t1.name as checkUnitName,t2.name as villageName,t3.name as helpCommunityName,t3.contacts as helpCommunityContactsName,t3.contacts_phone as helpCommunityContacts,t4.name as communityName,t1.address from com_pb_member t left join com_pb_check_unit t1 on t.check_unit_id = t1.id left join com_mng_village t2 on t.village_id = t2.village_id left join com_act t3 on t.help_community_id = t3.community_id left join com_act t4 on t.community_id = t4.community_id where t.user_id=#{userId} and t.type=#{type} |
| | | </select> |
| | | </mapper> |
| | | |