public static bool InsertNewContractBasnew(ContractBas Bas, ref string a_strErr) { if (CustomerServicePro.InsertNewContractBasnew(Bas, ref a_strErr) >= 1) { return(true); } else { return(false); } }
public static List <string> GetCode() { List <string> list = new List <string>(); DataTable dt = CustomerServicePro.GetSupCode(); foreach (DataRow item in dt.Rows) { list.Add(item["RecordID"].ToString()); } return(list); }
//修改 public static bool UpdateNewContentnew(string xid, string type, string text, ref string a_strErr) { if (CustomerServicePro.UpdateContentnew(xid, type, text, ref a_strErr) >= 1) { return(true); } else { return(false); } }
//添加 public static bool InsertNewContentnew(string type, string text, ref string a_strErr) { if (CustomerServicePro.InsertNewContentnew(type, text, ref a_strErr) >= 1) { return(true); } else { return(false); } }
public static List <SelectListItem> GetSpec() { List <SelectListItem> ListItem = new List <SelectListItem>(); DataTable dtDesc = CustomerServicePro.GetSpec(); if (dtDesc == null) { return(ListItem); } SelectListItem SelListItem = new SelectListItem(); SelListItem.Value = ""; SelListItem.Text = "请选择"; ListItem.Add(SelListItem); for (int i = 0; i < dtDesc.Rows.Count; i++) { SelListItem = new SelectListItem(); SelListItem.Value = dtDesc.Rows[i]["ID"].ToString(); SelListItem.Text = dtDesc.Rows[i]["Text"].ToString(); ListItem.Add(SelListItem); } return(ListItem); }
public static List <SelectListItem> GetUM_USERNEW(string DeptID) { List <SelectListItem> ListItem = new List <SelectListItem>(); DataTable dt = CustomerServicePro.GetUM_USERNEW(DeptID); if (dt == null) { return(ListItem); } SelectListItem SelListItem = new SelectListItem(); //SelListItem.Value = ""; //SelListItem.Text = ""; //ListItem.Add(SelListItem); for (int i = 0; i < dt.Rows.Count; i++) { SelListItem = new SelectListItem(); SelListItem.Value = dt.Rows[i]["UserName"].ToString();//UserId SelListItem.Text = dt.Rows[i]["UserName"].ToString(); ListItem.Add(SelListItem); } return(ListItem); }
//撤销 public static bool DeEquipmentCommissioning(string TRID, ref string strErr) { return(CustomerServicePro.DeEquipmentCommissioning(TRID, ref strErr)); }
public static string GetTopQKID() { return(CustomerServicePro.GetTopQKID()); }
public static DataTable UpTime(string TYID) { return(CustomerServicePro.UpTime(TYID)); }
public static UIDataTable PressureAdjustingInspectionDetailList(int a_intPageSize, int a_intPageIndex, string TYID) { return(CustomerServicePro.PressureAdjustingInspectionDetailList(a_intPageSize, a_intPageIndex, TYID)); }
public static UIDataTable PressureAdjustingInspectionList(int a_intPageSize, int a_intPageIndex, string where) { return(CustomerServicePro.PressureAdjustingInspectionList(a_intPageSize, a_intPageIndex, where)); }
// 保存数据 //维修记录编号 保修卡所属单位 合同编号 保修卡编号 产品名称 产品编号 产品规格型号 购买日期 (2015-10-19 00:00:00.000) //保修时间 最终用户单位 联系人 联系方式 备注 创建时间 (2015-10-19 00:00:00.000) //登记人 初始状态0 客户地址 public static bool SaveWarrantyCardData(string strData, ref string strErr) { return(CustomerServicePro.SaveWarrantyCardData(strData, ref strErr)); }
//修改 public static DataTable UpDateModifyTaskComplaintsa(string BXID) { return(CustomerServicePro.UpDateModifyTaskComplaintsa(BXID)); }
public static bool SaveUpMainten(tk_WXRecord Project, List <tk_WXRecord_Product> list, ref string strErr) { return(CustomerServicePro.SaveUpMainten(Project, list, ref strErr)); }
public static DataTable UpWXRecordList(string BXID) { return(CustomerServicePro.UpWXRecordList(BXID)); }
public static DataTable UPdateWarrantyCardList(string BXKID) { return(CustomerServicePro.UPdateWarrantyCardList(BXKID)); }
//导出 public static DataTable GetWarrantyCardToExcel(string strWhere, ref string strErr) { return(CustomerServicePro.GetWarrantyCardToExcel(strWhere, ref strErr)); }
public static UIDataTable UserMaintenanceTaskThreeList(int a_intPageSize, int a_intPageIndex, string where, string BXID) { return(CustomerServicePro.UserMaintenanceTaskThreeList(a_intPageSize, a_intPageIndex, where, BXID)); }
public static bool SavePressureAdjustingInspection(tk_PressureAdjustingInspection record, List <tk_PressureAdjustingInspectionDetail> detailList, string type, ref string strErr) { return(CustomerServicePro.SavePressureAdjustingInspection(record, detailList, type, ref strErr)); }
//根据产品id加载产品信息 public static DataTable GetPronewSpec(string PID) { return(CustomerServicePro.GetPronewSpec(PID)); }
//撤销 public static bool DePressureAdjustingInspection(string TYID, ref string strErr) { return(CustomerServicePro.DePressureAdjustingInspection(TYID, ref strErr)); }
//根据用户加载报装编号 public static DataTable GetUserBAO(string Tel) { return(CustomerServicePro.GetUserBAO(Tel)); }
public static DataTable UpPrintPressureAdjustingInspection(string TYID) { return(CustomerServicePro.UpPrintPressureAdjustingInspection(TYID)); }
public static UIDataTable WarrantyCardList(int a_intPageSize, int a_intPageIndex, string where) { return(CustomerServicePro.WarrantyCardList(a_intPageSize, a_intPageIndex, where)); }
public static bool SaveEquipmentCommissioning(tk_EquipmentDebugging record, List <tk_DebuggingSituation> delist, string type, ref string strErr) { return(CustomerServicePro.SaveEquipmentCommissioning(record, delist, type, ref strErr)); }
public static bool SaveWarrantyCard(tk_WXGuaranteeCard record, ref string strErr) { return(CustomerServicePro.SaveWarrantyCard(record, ref strErr)); }
public static UIDataTable EquipmentCommissioningList(int a_intPageSize, int a_intPageIndex, string where) { return(CustomerServicePro.EquipmentCommissioningList(a_intPageSize, a_intPageIndex, where)); }
//撤销 public static bool DeWarrantyCard(string BXKID, ref string strErr) { return(CustomerServicePro.DeWarrantyCard(BXKID, ref strErr)); }
public static DataTable UpEquipmentCommissioning(string TRID) { return(CustomerServicePro.UpEquipmentCommissioning(TRID)); }
public static bool UPdateWarrantyCard(tk_WXGuaranteeCard card, string BXKIDold, ref string strErr) { return(CustomerServicePro.UPdateWarrantyCard(card, BXKIDold, ref strErr)); }