/// <summary>
 /// 更新
 /// </summary>
 /// <param name="info"></param>
 /// <returns></returns>
 public static bool Update(M_DicCategory model)
 {
     return(Sql.UpdateByIDs(model.TbName, model.PK, model.DicCateID.ToString(), BLLCommon.GetFieldAndPara(model), model.GetParameters()));
 }
 /// <summary>
 /// 添加数据字典分类
 /// </summary>
 /// <param name="info"></param>
 /// <returns></returns>
 public static bool AddCate(M_DicCategory model)
 {
     return(Sql.insertID(model.TbName, model.GetParameters(), BLLCommon.GetParas(model), BLLCommon.GetFields(model)) > 0);
 }