public void ExceptionPigeonhole(String messageID) { AuditBusiness audit = AuditBusiness.Find(AuditBusiness._.OID, messageID); if (audit != null) { audit.Status = 9; audit.Update(); } }
public List <AuditBusiness> GetAuditListByTraceID(String traceID) { AuditBusiness audit = AuditBusiness.Find(AuditBusiness._.OID, traceID); List <AuditBusiness> lstAuditBusiness = AuditBusiness.FindAllByTraceID(audit.TraceID); foreach (var item in lstAuditBusiness) { item.ReqBeginTime = item.ReqBeginTime.Substring(11); item.ReqEndTime = item.ReqEndTime.Substring(11); } return(lstAuditBusiness); }