示例#1
0
        public static DataSet GetCompanyPatchListByCompanyID(string CompanyID)
        {
            string where = "CompanyID={0} and ExpireDate > '{1}'";
            string date = DateTime.Now.ToString("yyyy-MM-dd") + " 00:00:00";

            return(PatchDAL.GetPatchList(string.Format(where, CompanyID, date)));
        }
示例#2
0
 public static void DeletePatch(string IDs, string CompanyID)
 {
     PatchDAL.DeletePatch(CompanyID, IDs);
 }
示例#3
0
 public static void UpdatePatch(string ID, string PatchName, DateTime ExprieDate)
 {
     PatchDAL.UpdatePatch(PatchName, ExprieDate, int.Parse(ID));
 }
示例#4
0
 public static int InsertPatch(string PatchName, DateTime ExprieDate, DateTime ImportTime, int CompanyID)
 {
     return(PatchDAL.InsertPatch(PatchName, ExprieDate, ImportTime, CompanyID));
 }
示例#5
0
 public static int GetPatchTotalItems(string where)
 {
     return(PatchDAL.GetPatchTotalItems(where));
 }
示例#6
0
 public static DataSet GetPatchList(string where)
 {
     return(PatchDAL.GetPatchList(where));
 }
示例#7
0
 public static DataSet GetPatchList()
 {
     return(PatchDAL.GetPatchList());
 }
示例#8
0
 public static DataSet GetPatchByID(string id)
 {
     return(PatchDAL.GetPatchList("ID=" + id));
 }