Exemple #1
0
 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);
     }
 }
Exemple #2
0
 public static bool UpdateNewCCashBack(CCashBack Cash, ref string a_strErr)
 {
     if (ContractPro.UpdateCCashBack(Cash, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Exemple #3
0
 public static bool checkNewMoney(string CID, string Money)
 {
     if (ContractPro.checkMoney(CID, Money) == true)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Exemple #4
0
 public static bool InsertNewProjectContract(ContractBas Bas, ref string a_strErr)
 {
     if (ContractPro.InsertProjectContract(Bas, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Exemple #5
0
        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);
        }
Exemple #6
0
 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);
     }
 }
Exemple #7
0
 public static bool UpdateNewContractBas(ContractBas Bas, ref string a_strErr)
 {
     if (ContractPro.UpdateContract(Bas, ref a_strErr) >= 2)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Exemple #8
0
 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);
     }
 }
Exemple #9
0
 public static bool DellNewFile(string ID, ref string a_strErr)
 {
     if (ContractPro.DeleteFile(ID, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Exemple #10
0
 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);
     }
 }
Exemple #11
0
        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);
        }
Exemple #12
0
 public static decimal getNewDebtAmountPro(string CID)
 {
     return(ContractPro.getDebtAmountPro(CID));
 }
Exemple #13
0
 public static CCashBack getNewUpdateCashBack(string id)
 {
     return(ContractPro.getUpdateCashBack(id));
 }
Exemple #14
0
 public static DataTable GetNewDownloadFile(string id)
 {
     return(ContractPro.GetDownloadFile(id));
 }
Exemple #15
0
 public static string GetNewshowCBID(string CID)
 {
     return(ContractPro.getCBID(CID));
 }
Exemple #16
0
 public static int getNewCurProjectAmountNum(string CID)
 {
     return(ContractPro.getCurProjectAmountNum(CID));
 }
Exemple #17
0
 public static DataTable getNewMoneyFromProjectBas(string ProID)
 {
     return(ContractPro.getMoneyFromProjectBas(ProID));
 }
Exemple #18
0
 public static string GetNewCBID()
 {
     return(ContractPro.GetCBID());
 }
Exemple #19
0
 public static ContractBas getNewChangeProContractBas(string id)
 {
     return(ContractPro.getChangeProContractBas(id));
 }
Exemple #20
0
 public static DataTable getNewDetailContract(string where)
 {
     return(ContractPro.getDetailContract(where));
 }
Exemple #21
0
 public static UIDataTable getNewUserlogGrid(int a_intPageSize, int a_intPageIndex, string where)
 {
     return(ContractPro.getUserlogGrid(a_intPageSize, a_intPageIndex, where));
 }
Exemple #22
0
 public static DataTable getNewPrintStandingBook(string where)
 {
     return(ContractPro.getPrintStandingBook(where));
 }
Exemple #23
0
 public static DataTable GetNewDownLoadProject(string id)
 {
     return(ContractPro.GetDownloadProject(id));
 }
Exemple #24
0
 public static UIDataTable getNewStandingBookGrid(int a_intPageSize, int a_intPageIndex, string where)
 {
     return(ContractPro.getStandingBookGrid(a_intPageSize, a_intPageIndex, where));
 }
Exemple #25
0
 public static string getNewCPlanTime()
 {
     return(ContractPro.getCPlanTime());
 }
Exemple #26
0
 public static string getNewReturnTime()
 {
     return(ContractPro.getReturnTime());
 }
Exemple #27
0
 public static string GetNewShowCID()
 {
     return(ContractPro.GetShowCID());
 }
Exemple #28
0
 public static string getNewCashBackTime()
 {
     return(ContractPro.getCashBackTime());
 }
Exemple #29
0
 public static bool judgeNewCIDinContractBas(string CID)
 {
     return(ContractPro.judgeCIDinContractBas(CID));
 }