springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/CommunityApi.java
@@ -42,8 +42,6 @@ @ApiOperation(value = "分页查询小区",response =ComMngStructAreaVO.class ) @PostMapping("pagearea") public R pageArea(@RequestBody ComMngStructAreaVO comMngStructAreaVO){ Long communityId = this.getCommunityId(); comMngStructAreaVO.setCommunityId(communityId); return communityService.pageArea(comMngStructAreaVO); } springcloud_k8s_panzhihuazhihuishequ/applets_backstage/src/main/java/com/panzhihua/applets_backstage/api/CommunityApi.java
@@ -37,8 +37,6 @@ @ApiOperation(value = "分页查询小区",response = ComMngStructAreaVO.class ) @PostMapping("pagearea") public R pageArea(@RequestBody ComMngStructAreaVO comMngStructAreaVO){ Long communityId = this.getCommunityId(); comMngStructAreaVO.setCommunityId(communityId); return communityService.pageArea(comMngStructAreaVO); } springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComMngStructAreaDAO.java
@@ -3,8 +3,6 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.panzhihua.common.model.vos.R; import com.panzhihua.common.model.vos.community.ComActDynVO; import com.panzhihua.common.model.vos.community.ComMngStructAreaVO; import com.panzhihua.service_community.model.dos.ComMngStructAreaDO; import org.apache.ibatis.annotations.Mapper; @@ -40,8 +38,10 @@ "create_at \n" + "FROM\n" + "com_mng_struct_area \n" + "WHERE\n" + "community_id = #{comMngStructAreaVO.communityId} \n" + "WHERE 1=1 \n" + "<if test='comMngStructAreaVO.communityId != null '>" + "AND community_id=#{comMngStructAreaVO.communityId} \n" + " </if> " + "<if test='comMngStructAreaVO.areaName != null and comMngStructAreaVO.areaName.trim() != ""'>" + "AND area_name = #{comMngStructAreaVO.areaName}" + " </if> " +