Exemplo n.º 1
0
 /// <summary>
 /// 添加自定义编号
 /// </summary>
 /// <param name="customNumber">自定义编号</param>
 /// <param name="describe">描述</param>
 /// <returns></returns>
 public bool AddCustomNumber(string customNumber, string describe)
 {
     try
     {
         CompanyService.AddCustomNumber(customNumber.ToUpper(), describe, CurrentCompany.CompanyId, this.CurrentUser.UserName);
         return(true);
     }
     catch (DbException)
     {
         throw new Exception("保存失败!");
     }
 }