예제 #1
0
        public static IList <TransferLogInfo> GetList(int startRowIndexId, int maxNumberRows, string searchType, string field, string keyword)
        {
            string str;

            if ((!string.IsNullOrEmpty(keyword) && ((str = searchType) != null)) && (str == "10"))
            {
                string str2;
                if (((str2 = field) != null) && (str2 == "TransferTime"))
                {
                    keyword = DataConverter.CDate(keyword).ToString("yyyy-MM-dd");
                }
                else
                {
                    keyword = DataSecurity.FilterBadChar(keyword);
                }
            }
            return(dal.GetList(startRowIndexId, maxNumberRows, searchType, field, keyword));
        }