コード例 #1
0
        /// <summary>
        /// 分页查询城市所有楼盘名称信息
        /// </summary>
        /// <param name="CityID"></param>
        /// <param name="AreaID"></param>
        /// <param name="tName"></param>
        /// <param name="page"></param>
        /// <returns></returns>
        public List <DataProject> PagingQueryProjectList(int CityID, int AreaID,
                                                         string tName, int page)
        {
            ServiceDao service = new ServiceDao();

            return(service.PagingQueryProjectList(CityID, AreaID, tName, page));
        }
コード例 #2
0
        /// <summary>
        /// 分页查询城市数据
        /// </summary>
        /// <param name="page"></param>
        /// <returns></returns>
        public List <City> PagingQueryCityList(int page)
        {
            ServiceDao  service = new ServiceDao();
            List <City> tmp     = service.PagingQueryCityList(page);

            return(tmp);
        }
コード例 #3
0
        /// <summary>
        /// 查询城市信息
        /// </summary>
        /// <returns></returns>
        public List <City> QueryCityInfoList()
        {
            ServiceDao  service = new ServiceDao();
            List <City> tmp     = service.QueryCityList();

            return(tmp);
        }
コード例 #4
0
        /// <summary>
        /// 查询结构信息
        /// </summary>
        /// <returns></returns>
        public List <SysCode> QueryStructureInfoMap()
        {
            ServiceDao service = new ServiceDao();

            return(service.QuerySysCodeList(" and ID = 2005 "));
        }
コード例 #5
0
        /// <summary>
        /// 查询房屋类型
        /// </summary>
        /// <returns></returns>
        public List <SysCode> QueryHouseTypeInfoMap()
        {
            ServiceDao service = new ServiceDao();

            return(service.QuerySysCodeList(" and ID = 4001 "));
        }
コード例 #6
0
        /// <summary>
        /// 查询建筑类型
        /// </summary>
        /// <returns></returns>
        public List <SysCode> QueryBuildingTypeInfoMap()
        {
            ServiceDao service = new ServiceDao();

            return(service.QuerySysCodeList(" and ID = 2003 "));
        }
コード例 #7
0
        /// <summary>
        /// 查询朝向信息
        /// </summary>
        /// <returns></returns>
        public List <SysCode> QueryFrontInfoMap()
        {
            ServiceDao service = new ServiceDao();

            return(service.QuerySysCodeList(" and ID = 2004 "));
        }
コード例 #8
0
        /// <summary>
        /// 查询用途信息
        /// </summary>
        /// <returns></returns>
        public List <SysCode> QueryPurposeInfoMap()
        {
            ServiceDao service = new ServiceDao();

            return(service.QuerySysCodeList(" and ID = 1002 "));
        }
コード例 #9
0
        /// <summary>
        /// 查询行政区信息
        /// </summary>
        /// <param name="cityID"></param>
        /// <returns></returns>
        public List <Area> QueryAreaInfoMap(int cityID)
        {
            ServiceDao service = new ServiceDao();

            return(service.QueryAreaList(cityID));
        }
コード例 #10
0
        /// <summary>
        /// 分页获取楼盘网络名称列表
        /// </summary>
        /// <param name="cityId">城市id</param>
        /// <param name="pageNumber">页码</param>
        /// <param name="pageSize">每页数量</param>
        public List <SYS_ProjectMatch> GetNetworkNames(int cityId, int pageNumber, int pageSize)
        {
            ServiceDao service = new ServiceDao();

            return(service.GetNetworkNames(cityId, pageNumber, pageSize));
        }
コード例 #11
0
        /// <summary>
        /// 获取某个城市,某个区域的楼盘标准数据
        /// </summary>
        /// <param name="cityID"></param>
        /// <param name="AreaID"></param>
        /// <param name="tableName"></param>
        /// <returns></returns>
        public List <DataProject> QueryDataProjectList(int cityID, int AreaID, string tableName)
        {
            ServiceDao service = new ServiceDao();

            return(service.QueryDataProjectList(cityID, AreaID, tableName));
        }
コード例 #12
0
        /// <summary>
        /// 批量插入案例数据
        /// </summary>
        /// <param name="dc"></param>
        /// <returns></returns>
        public int BatchInsertDataCase(DataCase[] dc, string tableName)
        {
            ServiceDao service = new ServiceDao();

            return(service.BatchInsertDataCase(dc, tableName));
        }
コード例 #13
0
        /// <summary>
        /// 查询货币单位
        /// </summary>
        /// <returns></returns>
        public List <SysCode> QueryMoneyUnitInfoMap()
        {
            ServiceDao service = new ServiceDao();

            return(service.QuerySysCodeList(" and ID = 2002 "));
        }