Browse Source

报告文件用总检时间

master
wxd 1 year ago
parent
commit
b52946878a
  1. 11
      src/Shentun.WebPeis.Application/PatientRegisters/PatientRegisterAppService.cs

11
src/Shentun.WebPeis.Application/PatientRegisters/PatientRegisterAppService.cs

@ -78,8 +78,15 @@ namespace Shentun.WebPeis.PatientRegisters
var requestPath = virtualPathsHelper.GetReportRequestPath(); var requestPath = virtualPathsHelper.GetReportRequestPath();
var physicsPath = virtualPathsHelper.GetReportPhysicsPath(); var physicsPath = virtualPathsHelper.GetReportPhysicsPath();
requestPath = $"{requestPath}\\{DateTime.Now.Year}\\{DateTime.Now.Month}\\{DateTime.Now.Day}\\";
physicsPath = $"{physicsPath}\\{DateTime.Now.Year}\\{DateTime.Now.Month}\\{DateTime.Now.Day}\\";
DateTime dateTime = DateTime.Now;
if (patientRegister.SummaryDate != null)
{
dateTime = patientRegister.SummaryDate.Value;
}
requestPath = $"{requestPath}\\{dateTime.Year}\\{dateTime.Month}\\{dateTime.Day}\\";
physicsPath = $"{physicsPath}\\{dateTime.Year}\\{dateTime.Month}\\{dateTime.Day}\\";

Loading…
Cancel
Save