springcloud_k8s_panzhihuazhihuishequ/community_backstage/src/main/java/com/panzhihua/community_backstage/api/ComActEasyPhotoMemberApi.java
@@ -42,6 +42,7 @@ @ApiOperation(value = "分页查询",response = ComActEasyPhotoMemberVO.class) @PostMapping("queryAll") public R selectAll(@RequestBody CommonPage commonPage) { commonPage.setCommunityId(this.getCommunityId()); return this.communityService.comActEasyPhotoMemberSelectAll(commonPage); } @@ -66,6 +67,7 @@ @ApiOperation("新增数据") @PostMapping public R insert(@RequestBody ComActEasyPhotoMemberVO comActEasyPhotoMemberVO) { comActEasyPhotoMemberVO.setCommunityId(this.getCommunityId()); return communityService.comActEasyPhotoMemberInsert(comActEasyPhotoMemberVO); } springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ComActEasyPhotoMemberMapper.xml
@@ -21,6 +21,9 @@ <if test="commonPage.phone !=null and commonPage.phone !=''"> and phone like concat('%',#{commonPage.phone},'%') </if> <if test="commonPage.communityId !=null and commonPage.communityId !=0"> and community_id = #{commonPage.communityId} </if> </where> order by create_time desc </select>