protected string GetAccountName(string accid, string type) { accountMange accountMange = new accountMange(); prjaccountModel prjaccountModel = new prjaccountModel(); prjaccountModel = accountMange.GetModelByConId(accid); if (prjaccountModel != null) { if (type != null) { if (type == "0") { return(prjaccountModel.acountName.ToString()); } if (type == "1") { if (!(prjaccountModel.isnullify.ToString() == "0")) { return("注销"); } return("正常"); } } return(prjaccountModel.acountName.ToString()); } return(string.Empty); }
protected void GetAccountNum() { new prjaccountModel(); accountMange accountMange = new accountMange(); if (!string.IsNullOrEmpty(this.hdfcontrcn.Value)) { accountMange.GetTable(" contractNum='" + this.hdfcontrcn.Value + "'"); } }
protected string GetPriBankNum(string contenum) { new prjaccountModel(); DataTable table = new accountMange().GetTable(" prjNum='" + contenum + "'"); if (table.Rows.Count == 1) { return(table.Rows[0]["accountID"].ToString()); } return(string.Empty); }
protected string GetAccount(string accounum) { accountMange accountMange = new accountMange(); prjaccountModel prjaccountModel = new prjaccountModel(); prjaccountModel = accountMange.GetModelByConId(accounum); if (prjaccountModel != null) { return(prjaccountModel.accountNum); } return(""); }
protected string GetBankName(string contenum) { new prjaccountModel(); accountMange accountMange = new accountMange(); DataTable table = accountMange.GetTable(" contractNum='" + contenum + "'"); if (table.Rows.Count == 1) { return(table.Rows[0]["accountNum"].ToString()); } return(string.Empty); }
protected string GetAccount(string accounum) { accountMange accountMange = new accountMange(); return(accountMange.GetModelByConId(accounum).accountNum); }