101captain
2022-05-11 830e84d559ee792b88bd6127bf67c43c9d38ac3d
根据社区id获取账号密码修改
2个文件已修改
5 ■■■■■ 已修改文件
springcloud_k8s_panzhihuazhihuishequ/community_backstage/src/main/java/com/panzhihua/community_backstage/api/ComActEasyPhotoMemberApi.java 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ComActEasyPhotoMemberMapper.xml 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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>