This commit is contained in:
潘鸿锋 2024-11-26 10:12:19 +08:00
parent 70ff1350bb
commit 9bcd11cf28
3 changed files with 14 additions and 2 deletions

View File

@ -1412,7 +1412,7 @@
sb.Append("<meta http-equiv=\"content-type\" content=\"application/word; charset=UTF-8\"/>");
sb.Append("<table width=\"100% \" cellspacing=\"0\" rules=\"all\" border=\"0\" style=\"border-collapse:collapse;font-size: 12pt;\">");
sb.Append("<tr style=\"height: 35px\">");
sb.AppendFormat("<td align=\"center\" style=\"width: 100%; font-size: 12pt; font-weight: bold;\">{0}</td> ", "中国天辰" + ProjectService.GetProjectNameByProjectId(getTestRecord.ProjectId));
sb.AppendFormat("<td align=\"center\" style=\"width: 100%; font-size: 12pt; font-weight: bold;\">{0}</td> ", "新疆邮建" + ProjectService.GetProjectNameByProjectId(getTestRecord.ProjectId));
sb.Append("</tr>");
sb.Append("<tr style=\"height:35px\">");
var getTrainTypeName = (from x in db.Training_TestPlan

View File

@ -1230,3 +1230,15 @@ IP地址:::1
启用环境定时器开始!
启用环境定时器结束!
通用定时器结束!
通用定时器开启!
启用环境定时器开始!
启用环境定时器结束!
通用定时器结束!
通用定时器开启!
启用环境定时器开始!
启用环境定时器结束!
通用定时器结束!
通用定时器开启!
启用环境定时器开始!
启用环境定时器结束!
通用定时器结束!

View File

@ -145,7 +145,7 @@ namespace WebAPI.Controllers
db.SubmitChanges();
// FormsAuthentication.SetAuthCookie(person.PersonId, true, FormsAuthentication.FormsCookiePath);
FormsAuthenticationTicket Tick = new FormsAuthenticationTicket(1,
sysUser.Account,
person.PersonName,
DateTime.Now,
DateTime.Now.AddYears(10), //十年有效期
false,