예제 #1
0
 public static string AddNewTag(string tagName, string insertName)
 {
     if (Sys_TagInfoBLL.Add(tagName, insertName) != 0)
     {
         return("1");
     }
     else
     {
         return("0");
     }
 }
예제 #2
0
 //Test tagImport
 public static string TagImport()
 {
     return(Sys_TagInfoBLL.TagImport());
 }
예제 #3
0
 public static string ModifyModel(int id, string tagName, string tagTypeId, string tagTypeName, int tagStatus)
 {
     return(Sys_TagInfoBLL.ModifyModel(id, tagName, tagTypeId, tagTypeName, tagStatus));
 }
예제 #4
0
 public static string GetSingleModel(int id)
 {
     return(CommonLib.Helper.JsonSerializeObject(Sys_TagInfoBLL.GetSingleModel(id)));
 }
예제 #5
0
 public static string GetTagInfo(int pageIndex, int tagType, string insertName = "", string tagName = "")
 {
     return
         (CommonLib.Helper.JsonSerializeObject(Sys_TagInfoBLL.GetTagInfoByCondition(pageIndex, tagType, insertName,
                                                                                    tagName)));
 }
예제 #6
0
 /// <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));
 }
예제 #7
0
 /// <summary>
 /// 得到所有标签列表
 /// </summary>
 /// <returns></returns>
 public static List <Sys_TagInfoBasic> GetSysTagList()
 {
     return(Sys_TagInfoBLL.GetAllList());
 }
예제 #8
0
 /// <summary>
 /// 得到标签问题
 /// </summary>
 /// <returns></returns>
 public static List <SysTagTypeBasic> GetTagQuestions(int accid, int[] excludTypeList)
 {
     return(Sys_TagInfoBLL.GetTagQuestions(accid, excludTypeList));
 }