/// <summary>
        /// 分页查询AddressSmoke信息
        /// </summary>
        public static QueryResult <AddressMap> QueryAddressMapList(AddressMapFilter filter)
        {
            DataCommand cmd = new DataCommand("QueryAddressMapList");

            cmd.QuerySetCondition("AddressSysNo", ConditionOperation.Equal, DbType.Int32, filter.AddressSysNo);
            if (filter.AddressSysNos != null)
            {
                cmd.QuerySetCondition("AddressSysNo", ConditionOperation.In, DbType.String, string.Join(",", filter.AddressSysNos));
            }

            QueryResult <AddressMap> result = cmd.Query <AddressMap>(filter, "SysNo ASC");

            return(result);
        }
Beispiel #2
0
 /// <summary>
 /// 分页查询AddressSmoke信息
 /// </summary>
 public static QueryResult <AddressMap> QueryAddressMapList(AddressMapFilter filter)
 {
     return(AddressMapDA.QueryAddressMapList(filter));
 }