| | |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.panzhihua.common.model.dtos.community.building.BuildingDto; |
| | | import com.panzhihua.common.model.dtos.community.large.AreaStreetDetailResp; |
| | | import com.panzhihua.common.model.dtos.community.large.SumAreaStreetResp; |
| | | import com.panzhihua.common.model.dtos.partybuilding.QryReportResp; |
| | | import com.panzhihua.common.model.vos.area.StreetAndBuildVO; |
| | | import com.panzhihua.common.model.vos.community.ComActPasswordVo; |
| | | import com.panzhihua.common.model.vos.community.bigscreen.ScreenStatics; |
| | | import com.panzhihua.common.model.vos.community.screen.event.EventPopulationSpecialStatisticsVO; |
| | | import com.panzhihua.common.model.vos.neighbor.UnitActivityAnalysisVO; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.apache.ibatis.annotations.Select; |
| | |
| | | @Select("select ca.`name`,ca.street_id,ca.community_id,cs.`name` as streetName from com_act as ca left join com_street as cs on cs.street_id = ca.street_id where ca.state = 0 and ca.street_id = #{streetId}") |
| | | List<CommunitySwitchAllAppletsVO> getCommunityListByStreetId(@Param("streetId") Long streetId); |
| | | |
| | | @Select("<script> select ca.`name`,ca.street_id,ca.community_id,cs.`name` as streetName " + |
| | | "from com_act as ca " + |
| | | "left join com_street as cs on cs.street_id = ca.street_id " + |
| | | "where ca.state = 0 and ca.name like concat('%',#{name},'%') <if test='appId !=null and appId !=""'> and cs.app_id = #{appId} </if> </script> ") |
| | | // @Select("<script> select ca.`name`,ca.street_id,ca.community_id,cs.`name` as streetName " + |
| | | // "from com_act as ca " + |
| | | // "left join com_street as cs on cs.street_id = ca.street_id " + |
| | | // "where ca.state = 0 and ca.name like concat('%',#{name},'%') <if test='appId !=null and appId !=""'> and cs.app_id = #{appId} </if> </script> ") |
| | | List<CommunitySwitchAllAppletsVO> getCommunityListByName(@Param("name") String name,@Param("appId") String appId); |
| | | |
| | | @Select("SELECT c.community_id, c.`name`, c.street_id, cs.`name` as streetName," + |
| | |
| | | @Select("SELECT count(1) FROM com_act_social_org") |
| | | Integer countSocialOrg(); |
| | | |
| | | @Select("select * from com_act where area_code = #{areaCode}") |
| | | List<ComActVO> panzhihuaMap(@Param("areaCode")String areaCode); |
| | | |
| | | List<StreetAndBuildVO> oneTagThreeReal(); |
| | | List<StreetAndBuildVO> oneTagThreeReal(@Param("streetId") Long streetId); |
| | | |
| | | ScreenStatics getScreenStatics(); |
| | | |
| | | EventPopulationSpecialStatisticsVO getPopulationSpecial(@Param("streetId") Long streetId); |
| | | |
| | | Integer getPopulationAge(@Param("streetId") Long streetId, @Param("age") Integer age); |
| | | |
| | | List<UnitActivityAnalysisVO> institutionalUnitServiceAnalysis(@Param("beginTime") String beginTime, @Param("endTime") String endTIme); |
| | | |
| | | List<UnitActivityAnalysisVO> institutionalUnitActivityAnalysis(@Param("beginTime") String beginTime, @Param("endTime") String endTIme); |
| | | |
| | | @Select("SELECT count(1) FROM com_pb_check_unit WHERE belong_to = #{belongTo}") |
| | | Integer arriveUnit(@Param("belongTo") String belongTo); |
| | | |
| | | SumAreaStreetResp sumAreaStreet(); |
| | | |
| | | AreaStreetDetailResp selectVillage(@Param("ids") List<Long> ids,@Param("type") String type); |
| | | |
| | | EventPopulationSpecialStatisticsVO selectEvent(@Param("ids") List<Long> ids); |
| | | |
| | | List<QryReportResp> qryReport(String yearTime); |
| | | } |