Beispiel #1
0
        public static List <AlphaApplyModel> GetPage(int pageIndex, int pageSize, string Column, string strWhere)
        {
            AlphaApplyDAL dal      = new AlphaApplyDAL();
            var           listitem = dal.GetPage(pageIndex, pageSize, Column, strWhere);

            foreach (AlphaApplyModel item in listitem)
            {
                item.statusName = Enum.GetName(typeof(Model.Enum.AlphaApplyEnum.AlphaStatus), item.status);
                // item.alphaVersion = item.alphaVersion.Replace(",", "和");
            }
            return(listitem);
        }
Beispiel #2
0
        public static bool UpdateAlphaApplyStatus(int id, int status, string operatorIP, int operatorUserId)
        {
            AlphaApplyDAL dal = new AlphaApplyDAL();

            return(dal.UpdateAlphaApplyStatus(id, status, operatorIP, operatorUserId));
        }
Beispiel #3
0
        public static int GetPageCount(string strWhere)
        {
            AlphaApplyDAL dal = new AlphaApplyDAL();

            return(dal.GetPageCount(strWhere));
        }