public static bool InsertNewProCCashBack(CCashBack Cash, string PID, ref string a_strErr) { if (ContractPro.InsertProCCashBack(Cash, PID, ref a_strErr) >= 2) { return(true); } else { return(false); } }
public static bool UpdateNewCCashBack(CCashBack Cash, ref string a_strErr) { if (ContractPro.UpdateCCashBack(Cash, ref a_strErr) >= 1) { return(true); } else { return(false); } }
public static bool checkNewMoney(string CID, string Money) { if (ContractPro.checkMoney(CID, Money) == true) { return(true); } else { return(false); } }
public static bool InsertNewProjectContract(ContractBas Bas, ref string a_strErr) { if (ContractPro.InsertProjectContract(Bas, ref a_strErr) >= 1) { return(true); } else { return(false); } }
public static List <string> GetNewContractID() { List <string> list = new List <string>(); DataTable dt = ContractPro.getContractID(); foreach (DataRow item in dt.Rows) { list.Add(item["ContractID"].ToString()); } return(list); }
public static bool dellNewCCashBack(string cbid, string cid, ref string a_strErr) { if (ContractPro.dellCCashBack(cbid, cid, ref a_strErr) >= 1) { return(true); } else { return(false); } }
public static bool UpdateNewContractBas(ContractBas Bas, ref string a_strErr) { if (ContractPro.UpdateContract(Bas, ref a_strErr) >= 2) { return(true); } else { return(false); } }
public static bool InsertNewFile(string id, byte[] fileByte, string FileName, ref string a_strErr) { if (ContractPro.InsertFile(id, fileByte, FileName, ref a_strErr) >= 1) { return(true); } else { return(false); } }
public static bool DellNewFile(string ID, ref string a_strErr) { if (ContractPro.DeleteFile(ID, ref a_strErr) >= 1) { return(true); } else { return(false); } }
public static bool InsertNewSettlementPro(CSettlement CST, string PID, ref string a_strErr) { if (ContractPro.InsertSettlementPro(CST, PID, ref a_strErr) >= 2) { return(true); } else { return(false); } }
public static List <SelectListItem> GetNewState() { List <SelectListItem> ListItem = new List <SelectListItem>(); DataTable dtDesc = ContractPro.getContractState(); if (dtDesc == null) { return(ListItem); } SelectListItem SelListItem = new SelectListItem(); //ListItem.Add(SelListItem); for (int i = 0; i < dtDesc.Rows.Count; i++) { SelListItem = new SelectListItem(); SelListItem.Value = dtDesc.Rows[i]["StateId"].ToString(); SelListItem.Text = dtDesc.Rows[i]["name"].ToString(); ListItem.Add(SelListItem); } return(ListItem); }
public static decimal getNewDebtAmountPro(string CID) { return(ContractPro.getDebtAmountPro(CID)); }
public static CCashBack getNewUpdateCashBack(string id) { return(ContractPro.getUpdateCashBack(id)); }
public static DataTable GetNewDownloadFile(string id) { return(ContractPro.GetDownloadFile(id)); }
public static string GetNewshowCBID(string CID) { return(ContractPro.getCBID(CID)); }
public static int getNewCurProjectAmountNum(string CID) { return(ContractPro.getCurProjectAmountNum(CID)); }
public static DataTable getNewMoneyFromProjectBas(string ProID) { return(ContractPro.getMoneyFromProjectBas(ProID)); }
public static string GetNewCBID() { return(ContractPro.GetCBID()); }
public static ContractBas getNewChangeProContractBas(string id) { return(ContractPro.getChangeProContractBas(id)); }
public static DataTable getNewDetailContract(string where) { return(ContractPro.getDetailContract(where)); }
public static UIDataTable getNewUserlogGrid(int a_intPageSize, int a_intPageIndex, string where) { return(ContractPro.getUserlogGrid(a_intPageSize, a_intPageIndex, where)); }
public static DataTable getNewPrintStandingBook(string where) { return(ContractPro.getPrintStandingBook(where)); }
public static DataTable GetNewDownLoadProject(string id) { return(ContractPro.GetDownloadProject(id)); }
public static UIDataTable getNewStandingBookGrid(int a_intPageSize, int a_intPageIndex, string where) { return(ContractPro.getStandingBookGrid(a_intPageSize, a_intPageIndex, where)); }
public static string getNewCPlanTime() { return(ContractPro.getCPlanTime()); }
public static string getNewReturnTime() { return(ContractPro.getReturnTime()); }
public static string GetNewShowCID() { return(ContractPro.GetShowCID()); }
public static string getNewCashBackTime() { return(ContractPro.getCashBackTime()); }
public static bool judgeNewCIDinContractBas(string CID) { return(ContractPro.judgeCIDinContractBas(CID)); }