Пример #1
0
        public List <LogDTO> LoadLogList(string cardNo)
        {
            List <LogDTO> logList    = logDAL.LoadLogList(cardNo);
            List <LogDTO> loglistnew = new List <LogDTO>();

            foreach (LogDTO item in logList)
            {
                LogDTO log = item;
                if (item.LogTypeID == "LT001" || item.LogTypeID == "LT002" || item.LogTypeID == "LT003" || item.LogTypeID == "LT004")
                {
                    log.LogTypeID = "-";
                }
                loglistnew.Add(log);
            }
            return(loglistnew);
        }