예제 #1
0
 public static bool InsertNewContractBasnew(ContractBas Bas, ref string a_strErr)
 {
     if (CustomerServicePro.InsertNewContractBasnew(Bas, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
예제 #2
0
        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);
        }
예제 #3
0
 //修改
 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);
     }
 }
예제 #4
0
 //添加
 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);
     }
 }
예제 #5
0
        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);
        }
예제 #6
0
        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);
        }
예제 #7
0
 //撤销
 public static bool DeEquipmentCommissioning(string TRID, ref string strErr)
 {
     return(CustomerServicePro.DeEquipmentCommissioning(TRID, ref strErr));
 }
예제 #8
0
 public static string GetTopQKID()
 {
     return(CustomerServicePro.GetTopQKID());
 }
예제 #9
0
 public static DataTable UpTime(string TYID)
 {
     return(CustomerServicePro.UpTime(TYID));
 }
예제 #10
0
 public static UIDataTable PressureAdjustingInspectionDetailList(int a_intPageSize, int a_intPageIndex, string TYID)
 {
     return(CustomerServicePro.PressureAdjustingInspectionDetailList(a_intPageSize, a_intPageIndex, TYID));
 }
예제 #11
0
 public static UIDataTable PressureAdjustingInspectionList(int a_intPageSize, int a_intPageIndex, string where)
 {
     return(CustomerServicePro.PressureAdjustingInspectionList(a_intPageSize, a_intPageIndex, where));
 }
예제 #12
0
 // 保存数据
 //维修记录编号	保修卡所属单位	合同编号	保修卡编号	产品名称	产品编号	产品规格型号	购买日期  (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));
 }
예제 #13
0
 //修改
 public static DataTable UpDateModifyTaskComplaintsa(string BXID)
 {
     return(CustomerServicePro.UpDateModifyTaskComplaintsa(BXID));
 }
예제 #14
0
 public static bool SaveUpMainten(tk_WXRecord Project, List <tk_WXRecord_Product> list, ref string strErr)
 {
     return(CustomerServicePro.SaveUpMainten(Project, list, ref strErr));
 }
예제 #15
0
 public static DataTable UpWXRecordList(string BXID)
 {
     return(CustomerServicePro.UpWXRecordList(BXID));
 }
예제 #16
0
 public static DataTable UPdateWarrantyCardList(string BXKID)
 {
     return(CustomerServicePro.UPdateWarrantyCardList(BXKID));
 }
예제 #17
0
 //导出
 public static DataTable GetWarrantyCardToExcel(string strWhere, ref string strErr)
 {
     return(CustomerServicePro.GetWarrantyCardToExcel(strWhere, ref strErr));
 }
예제 #18
0
 public static UIDataTable UserMaintenanceTaskThreeList(int a_intPageSize, int a_intPageIndex, string where, string BXID)
 {
     return(CustomerServicePro.UserMaintenanceTaskThreeList(a_intPageSize, a_intPageIndex, where, BXID));
 }
예제 #19
0
 public static bool SavePressureAdjustingInspection(tk_PressureAdjustingInspection record, List <tk_PressureAdjustingInspectionDetail> detailList, string type, ref string strErr)
 {
     return(CustomerServicePro.SavePressureAdjustingInspection(record, detailList, type, ref strErr));
 }
예제 #20
0
 //根据产品id加载产品信息
 public static DataTable GetPronewSpec(string PID)
 {
     return(CustomerServicePro.GetPronewSpec(PID));
 }
예제 #21
0
 //撤销
 public static bool DePressureAdjustingInspection(string TYID, ref string strErr)
 {
     return(CustomerServicePro.DePressureAdjustingInspection(TYID, ref strErr));
 }
예제 #22
0
 //根据用户加载报装编号
 public static DataTable GetUserBAO(string Tel)
 {
     return(CustomerServicePro.GetUserBAO(Tel));
 }
예제 #23
0
 public static DataTable UpPrintPressureAdjustingInspection(string TYID)
 {
     return(CustomerServicePro.UpPrintPressureAdjustingInspection(TYID));
 }
예제 #24
0
 public static UIDataTable WarrantyCardList(int a_intPageSize, int a_intPageIndex, string where)
 {
     return(CustomerServicePro.WarrantyCardList(a_intPageSize, a_intPageIndex, where));
 }
예제 #25
0
 public static bool SaveEquipmentCommissioning(tk_EquipmentDebugging record, List <tk_DebuggingSituation> delist, string type, ref string strErr)
 {
     return(CustomerServicePro.SaveEquipmentCommissioning(record, delist, type, ref strErr));
 }
예제 #26
0
 public static bool SaveWarrantyCard(tk_WXGuaranteeCard record, ref string strErr)
 {
     return(CustomerServicePro.SaveWarrantyCard(record, ref strErr));
 }
예제 #27
0
 public static UIDataTable EquipmentCommissioningList(int a_intPageSize, int a_intPageIndex, string where)
 {
     return(CustomerServicePro.EquipmentCommissioningList(a_intPageSize, a_intPageIndex, where));
 }
예제 #28
0
 //撤销
 public static bool DeWarrantyCard(string BXKID, ref string strErr)
 {
     return(CustomerServicePro.DeWarrantyCard(BXKID, ref strErr));
 }
예제 #29
0
 public static DataTable UpEquipmentCommissioning(string TRID)
 {
     return(CustomerServicePro.UpEquipmentCommissioning(TRID));
 }
예제 #30
0
 public static bool UPdateWarrantyCard(tk_WXGuaranteeCard card, string BXKIDold, ref string strErr)
 {
     return(CustomerServicePro.UPdateWarrantyCard(card, BXKIDold, ref strErr));
 }