Esempio n. 1
0
 /// <summary>
 /// 生成缺陷报告
 /// </summary>
 /// <param name="vercode"></param>
 /// <param name="creator"></param>
 /// <returns></returns>
 public int CreateDefectReport(string vercode, string creator)
 {
     using (DBContainer db = new DBContainer())
     {
         int result = db.P_DEF_CreateDefectReport(vercode, creator);
         if (result > 0)
         {
             return(1);
         }
         else
         {
             return(0);
         }
     }
 }