/// <summary> /// 添加设计师自己的模块 /// </summary> /// <param name="par"></param> /// <returns></returns> public string AddDesingerModular(string par) { DesingerBLL.DesignerPlatform bll = new DesingerBLL.DesignerPlatform(); return(bll.AddRom(par));; }
/// <summary> /// 保存方案 /// </summary> /// <param name="par"></param> /// <returns></returns> public string Savescheme(string par) { //{"desingerid":"设计师id","pic":"","name":"","totlearea":"总面积","totleprice":"总价格","data":[{"room":"kct","did":"4","area":"100"},{"room":"kct","did":"4"}]} //{"desingerid":"10086","pic":"http://www.mj100.com/img/index/l_2bg.png","name":"新古风","totlearea":"100","totleprice":"3000","data":[{"room":"kct","did":"3582","area":"100"},{"room":"kct","did":"3582","area":"500"}]} DesingerBLL.DesignerPlatform bll = new DesingerBLL.DesignerPlatform(); return(bll.AddallRoom(par)); }
/// <summary> /// 添加收藏 /// </summary> /// <param name="desingerid"></param> /// <param name="pic"></param> /// <param name="name"></param> /// <param name="mj"></param> /// <param name="totleprice"></param> /// <param name="ids"></param> /// <returns></returns> public string AddCollection(string desingerid, string pic, string name, string mj, string totleprice, string ids) { DesingerBLL.DesignerPlatform bll = new DesingerBLL.DesignerPlatform(); return(bll.AddCol(desingerid, "", pic, name, mj, totleprice, "0", "1", ids, 0)); }
/// <summary> /// 使用备选方案 /// </summary> /// <param name="par"></param> /// <returns></returns> public string Usageplan(string par) { DesingerBLL.DesignerPlatform bll = new DesingerBLL.DesignerPlatform(); return(bll.SyFj(par)); }
/// <summary> /// 得到设计师自己的模块 /// </summary> /// <param name="par"></param> /// <returns></returns> public string GetDesingerModular(string tempid) { DesingerBLL.DesignerPlatform bll = new DesingerBLL.DesignerPlatform(); return(bll.GetUserModule(tempid));; }