Browse Source

心电图

bjmzak
wxd 1 year ago
parent
commit
a7ff237f78
  1. 10
      ThirdPlugIns/Shentun.Peis.PlugIns.Gem/ImportPacsResultPlugInsGem.cs
  2. 8
      src/Shentun.Peis.HttpApi.Host/PeisHttpApiHostModule.cs

10
ThirdPlugIns/Shentun.Peis.PlugIns.Gem/ImportPacsResultPlugInsGem.cs

@ -15,7 +15,7 @@ namespace Shentun.Peis.PlugIns.Gem
{
public class ImportPacsResultPlugInsGem : ImportPacsResultPlugInsBase
{
public ImportPacsResultPlugInsGem(Guid thirdInterfaceId):base(thirdInterfaceId)
public ImportPacsResultPlugInsGem(Guid thirdInterfaceId) : base(thirdInterfaceId)
{
}
public ImportPacsResultPlugInsGem(string parmValue) : base(parmValue)
@ -42,8 +42,9 @@ namespace Shentun.Peis.PlugIns.Gem
tjNum = pacsRequest.CheckRequestNo,
organizeCode = "1",
patientType = "3",
//requestId = pacsRequest.CheckRequestNo,
beginTime = beginTime.ToString("yyyy-MM-dd HH:mm:ss"),
////requestId = pacsRequest.CheckRequestNo,
//beginTime = beginTime.ToString("yyyy-MM-dd HH:mm:ss"),
//endTime=DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"),
pageNo = 1,
pageSize = 20
};
@ -66,7 +67,7 @@ namespace Shentun.Peis.PlugIns.Gem
{
CheckRequestNo = pacsRequest.CheckRequestNo,
PatientName = pacsRequest.PatientName,
Result = firstData.examDescript,
Result = string.IsNullOrEmpty(firstData.examDescript) ? firstData.examDiagnosis : "",
Summary = firstData.examDiagnosis,
Suggestion = firstData.suggestion,
CheckDate = checkDate,
@ -86,6 +87,7 @@ namespace Shentun.Peis.PlugIns.Gem
}
};
var callResult = await CallAppServiceAsync<CreateImportPacsResultDto, object>("api/app/ImportPacsResult/ImportResult", createImportPacsResultDto);
}

8
src/Shentun.Peis.HttpApi.Host/PeisHttpApiHostModule.cs

@ -627,19 +627,19 @@ public class PeisHttpApiHostModule : AbpModule
{
if (thirdInterfaceDto.ThirdInterfaceType == "02")
{
RecurringJob.AddOrUpdate<IChargeRequestInterfaceQueryWorker>("收费接口", o => o.DoWork(thirdInterfaceDto.Id), corn, TimeZoneInfo.Local);
RecurringJob.AddOrUpdate<IChargeRequestInterfaceQueryWorker>(thirdInterfaceDto.DisplayName, o => o.DoWork(thirdInterfaceDto.Id), corn, TimeZoneInfo.Local);
}
else if (thirdInterfaceDto.ThirdInterfaceType == "03")
{
RecurringJob.AddOrUpdate<IImportLisResultInterfaceWorker>("导入检验结果接口", o => o.DoWork(thirdInterfaceDto.Id), corn, TimeZoneInfo.Local);
RecurringJob.AddOrUpdate<IImportLisResultInterfaceWorker>(thirdInterfaceDto.DisplayName, o => o.DoWork(thirdInterfaceDto.Id), corn, TimeZoneInfo.Local);
}
else if (thirdInterfaceDto.ThirdInterfaceType == "04")
{
RecurringJob.AddOrUpdate<IImportPacsResultInterfaceWorker>("导入Pacs结果接口", o => o.DoWork(thirdInterfaceDto.Id), corn, TimeZoneInfo.Local);
RecurringJob.AddOrUpdate<IImportPacsResultInterfaceWorker>(thirdInterfaceDto.DisplayName, o => o.DoWork(thirdInterfaceDto.Id), corn, TimeZoneInfo.Local);
}
else if (thirdInterfaceDto.ThirdInterfaceType == "05")
{
RecurringJob.AddOrUpdate<IImportPatientRegisterInterfaceWorker>("导入人员登记信息结果接口", o => o.DoWork(thirdInterfaceDto.Id), corn, TimeZoneInfo.Local);
RecurringJob.AddOrUpdate<IImportPatientRegisterInterfaceWorker>(thirdInterfaceDto.DisplayName, o => o.DoWork(thirdInterfaceDto.Id), corn, TimeZoneInfo.Local);
}
}
}

Loading…
Cancel
Save