Exemplo n.º 1
0
        public void AddAuditBusiness(string hostName, string messageBody, string messageID, string methodName, string reqBeginTime, string serviceName, int status, string callBeginTime, string callEndTime)
        {
            AuditBusiness business = new AuditBusiness();
            AuditLogic auditLogic = new AuditLogic();

            business.HostName = hostName;
            business.MessageID = messageID;
            business.MethodName = methodName;
            business.ReqBeginTime = reqBeginTime;
            business.ReqEndTime = System.DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
            business.ServiceName = serviceName;
            business.Status = status;
            business.CallBeginTime = callBeginTime;
            business.CallEndTime = callEndTime;

            auditLogic.AddAuditBusiness(business);
        }
Exemplo n.º 2
0
 public List<AuditBusiness> AuditBusinessSearch(AuditBusinessSearchCondition condition, int pageIndex, int pageSize)
 {
     AuditLogic auditLogic = new AuditLogic();
     return auditLogic.AuditBusinessSearch(condition, pageIndex, pageSize);
 }
Exemplo n.º 3
0
 /// <summary>
 /// 审计日志查询
 /// </summary>
 /// <param name="condition"></param>
 /// <returns></returns>
 public List<AuditBusiness> AuditBusinessSearch(AuditBusinessSearchCondition condition)
 {
     AuditLogic auditLogic = new AuditLogic();
     return auditLogic.AuditBusinessSearch(condition);
 }
Exemplo n.º 4
0
 public void ExceptionResend(Guid messageID, Guid bindingID)
 {
     AuditLogic auditLogic = new AuditLogic();
     auditLogic.ExceptionResend(messageID, bindingID);
 }
Exemplo n.º 5
0
 public void ExceptionPigeonhole(Guid messageID)
 {
     AuditLogic auditLogic = new AuditLogic();
     auditLogic.ExceptionPigeonhole(messageID);
 }
Exemplo n.º 6
0
 public AuditBusiness GetAuditBusinessByOID(Guid oid)
 {
     AuditLogic auditLogic = new AuditLogic();
     return auditLogic.GetAuditBusinessByOID(oid);
 }
Exemplo n.º 7
0
 public int GetAuditBusinessCount(AuditBusinessSearchCondition condition)
 {
     AuditLogic auditLogic = new AuditLogic();
     return auditLogic.GetAuditBusinessCount(condition);
 }