public int Data_Update_PinCi(string data) { token = appClass.CRM_Gettoken(); CRM_KH_BF model = Newtonsoft.Json.JsonConvert.DeserializeObject <CRM_KH_BF>(data); int i = crmModels.KH_BF.Update(model, token); return(i); }
public string Data_Select_PinCi(string cxdata) { token = appClass.CRM_Gettoken(); CRM_KH_BF model = Newtonsoft.Json.JsonConvert.DeserializeObject <CRM_KH_BF>(cxdata); CRM_KH_BFList[] data = crmModels.KH_BF.Read(model, token); string s = Newtonsoft.Json.JsonConvert.SerializeObject(data); return(s); }
public int Data_Insert_PinCi(string data) { token = appClass.CRM_Gettoken(); CRM_KH_BF model = Newtonsoft.Json.JsonConvert.DeserializeObject <CRM_KH_BF>(data); model.STAFFID = Convert.ToInt32(Session["STAFFID"]); int i = crmModels.KH_BF.Create(model, token); return(i); }
public string Data_Select_KH_BF() //查询出所有的拜访频次信息 { token = appClass.CRM_Gettoken(); CRM_KH_BF model = new CRM_KH_BF(); model.ISACTIVE = 1; CRM_KH_BFList[] data = crmModels.KH_BF.Read(model, token); string s = Newtonsoft.Json.JsonConvert.SerializeObject(data); return(s); }
public CRM_KH_BFList[] Read(CRM_KH_BF model, string ptoken) { return(client.Read(model, ptoken)); }
public int Update(CRM_KH_BF model, string ptoken) { return(client.Update(model, ptoken)); }