/// <summary>
 /// 根据主键删除安全监督检查整改明细信息
 /// </summary>
 /// <param name="superviseCheckRectifyItemId"></param>
 public static void DeleteSuperviseCheckRectifyItem(string superviseCheckRectifyItemId)
 {
     Model.SUBHSSEDB db = Funs.DB;
     Model.Supervise_SuperviseCheckRectifyItem superviseCheckRectifyItem = db.Supervise_SuperviseCheckRectifyItem.FirstOrDefault(e => e.SuperviseCheckRectifyItemId == superviseCheckRectifyItemId);
     if (superviseCheckRectifyItem != null)
     {
         db.Supervise_SuperviseCheckRectifyItem.DeleteOnSubmit(superviseCheckRectifyItem);
         db.SubmitChanges();
     }
 }
 /// <summary>
 /// 添加安全监督检查整改明细信息
 /// </summary>
 /// <param name="superviseCheckRectifyItem"></param>
 public static void AddSuperviseCheckRectifyItem(Model.Supervise_SuperviseCheckRectifyItem superviseCheckRectifyItem)
 {
     Model.SUBHSSEDB db = Funs.DB;
     Model.Supervise_SuperviseCheckRectifyItem newSuperviseCheckRectifyItem = new Model.Supervise_SuperviseCheckRectifyItem
     {
         SuperviseCheckRectifyItemId = superviseCheckRectifyItem.SuperviseCheckRectifyItemId,
         SuperviseCheckRectifyId     = superviseCheckRectifyItem.SuperviseCheckRectifyId,
         RectifyItemId  = superviseCheckRectifyItem.RectifyItemId,
         ConfirmMan     = superviseCheckRectifyItem.ConfirmMan,
         ConfirmDate    = superviseCheckRectifyItem.ConfirmDate,
         OrderEndDate   = superviseCheckRectifyItem.OrderEndDate,
         OrderEndPerson = superviseCheckRectifyItem.OrderEndPerson,
         RealEndDate    = superviseCheckRectifyItem.RealEndDate,
         AttachUrl      = superviseCheckRectifyItem.AttachUrl
     };
     db.Supervise_SuperviseCheckRectifyItem.InsertOnSubmit(newSuperviseCheckRectifyItem);
     db.SubmitChanges();
 }