示例#1
0
        public webobj.Status updateAuditLog(webobj.User webUser, webobj.ActivityLog webActivityLog)
        {
            AFIS360Common.User user = new AFIS360Common.User();
            user.setPersonId(webUser.PersonId);
            user.setId(webUser.Id);

            AFIS360Common.ActivityLog activityLog  = new AFIS360Common.ActivityLog();
            List <string>             webActivites = webActivityLog.Activity;

            foreach (string webActivity in webActivites)
            {
                activityLog.setActivity(webActivity);
            }

            DataAccess dataaccess = new DataAccess();

            AFIS360Common.Status status = dataaccess.updateUserAuditLog(user, DateTime.Now, 0, activityLog);

            webobj.Status webStatus = new webobj.Status();
            webStatus.StatusCode = status.getStatusCode();
            webStatus.StatusDesc = status.getStatusDesc();
            webStatus.AuditLogId = status.getAuditLogId();
            return(webStatus);
        }
示例#2
0
文件: AuditLog.cs 项目: jerem/afis
 public void setActivityLog(ActivityLog activityLog)
 {
     this.activityLog = activityLog;
 }