Ejemplo n.º 1
0
        public List <TrainInfo> FindBystarttime()
        {
            string           sql  = "select * from traininfo where DeleteMark!=true ORDER BY StartTime desc limit 4";
            List <TrainInfo> list = trainInfoDal.FindList(sql).ToList();

            for (int i = 0; i < list.Count; i++)
            {
                list[i].PhotoID = adminurl + list[i].PhotoID;
            }
            return(list);
        }