| | |
| | | import java.util.List; |
| | | |
| | | import com.panzhihua.common.model.vos.community.ComActPasswordVo; |
| | | import com.panzhihua.common.model.vos.community.DataCount; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.apache.ibatis.annotations.Select; |
| | |
| | | void updateAccountPassword(@Param("password") String password, @Param("account") String account, |
| | | @Param("communityId") Long communityId); |
| | | |
| | | @Select("select community_id,`name`,lng,lat from com_act where state = 0") |
| | | List<EventGridCommunityAdminVO> getCommunityLists(); |
| | | @Select("select community_id,`name`,lng,lat from com_act where state = 0 and app_id =#{appId}") |
| | | List<EventGridCommunityAdminVO> getCommunityLists(@Param("appId") String appId); |
| | | |
| | | @Select("select ca.`name`,cmsap.province_name,cmsac.city_name,cmsad.district_name,ca.street_id,ca.community_id,cs.`name` as streetName from com_act as ca \n" |
| | | + "left join com_mng_struct_area_province as cmsap on cmsap.province_adcode = ca.province_code\n" |
| | |
| | | @Select("select name from com_pb_check_unit where id=#{id}") |
| | | String selectUnitName(@Param("id") Long id); |
| | | |
| | | @Select("select community_id from com_act where street_id=#{id}") |
| | | List<Long> selectCommunityByStreetId(Long id); |
| | | @Select("SELECT caa.community_id FROM com_act caa WHERE caa.`name` = ( select ca.`name` FROM com_act ca WHERE ca.community_id =#{id})") |
| | | List<Long> selectIds(@Param("id") Long id); |
| | | |
| | | } |