public static string AddNewTag(string tagName, string insertName) { if (Sys_TagInfoBLL.Add(tagName, insertName) != 0) { return("1"); } else { return("0"); } }
//Test tagImport public static string TagImport() { return(Sys_TagInfoBLL.TagImport()); }
public static string ModifyModel(int id, string tagName, string tagTypeId, string tagTypeName, int tagStatus) { return(Sys_TagInfoBLL.ModifyModel(id, tagName, tagTypeId, tagTypeName, tagStatus)); }
public static string GetSingleModel(int id) { return(CommonLib.Helper.JsonSerializeObject(Sys_TagInfoBLL.GetSingleModel(id))); }
public static string GetTagInfo(int pageIndex, int tagType, string insertName = "", string tagName = "") { return (CommonLib.Helper.JsonSerializeObject(Sys_TagInfoBLL.GetTagInfoByCondition(pageIndex, tagType, insertName, tagName))); }
/// <summary> /// 增加标签 /// </summary> /// <param name="tagName"></param> /// <param name="insertName"></param> /// <returns></returns> public static int AddSysTag(string tagName, string insertName) { return(Sys_TagInfoBLL.Add(tagName, insertName)); }
/// <summary> /// 得到所有标签列表 /// </summary> /// <returns></returns> public static List <Sys_TagInfoBasic> GetSysTagList() { return(Sys_TagInfoBLL.GetAllList()); }
/// <summary> /// 得到标签问题 /// </summary> /// <returns></returns> public static List <SysTagTypeBasic> GetTagQuestions(int accid, int[] excludTypeList) { return(Sys_TagInfoBLL.GetTagQuestions(accid, excludTypeList)); }