From 9f5cb3766cc8b3af69b6907ed0da95f9f9b69404 Mon Sep 17 00:00:00 2001
From: wxd <123@qq.com>
Date: Fri, 12 Apr 2024 17:49:07 +0800
Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E8=BF=87=E6=BB=A4=E9=A2=84?=
=?UTF-8?q?=E7=99=BB=E8=AE=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../PatientRegisterAppService.cs | 23 ++++++++++---------
1 file changed, 12 insertions(+), 11 deletions(-)
diff --git a/src/Shentun.Peis.Application/PatientRegisters/PatientRegisterAppService.cs b/src/Shentun.Peis.Application/PatientRegisters/PatientRegisterAppService.cs
index b274233..6ecf9f1 100644
--- a/src/Shentun.Peis.Application/PatientRegisters/PatientRegisterAppService.cs
+++ b/src/Shentun.Peis.Application/PatientRegisters/PatientRegisterAppService.cs
@@ -679,6 +679,7 @@ namespace Shentun.Peis.PatientRegisters
///
///
[HttpPost("api/patientregister/createreturninfo")]
+ [RemoteService(false)]
public async Task CreateReturnInfoAsync(CreatePatientRegisterDto input)
{
throw new UserFriendlyException("改接口已经禁止使用");
@@ -1011,19 +1012,19 @@ namespace Shentun.Peis.PatientRegisters
sumquery = sumquery.Where(m => m.a.CompleteFlag == input.CompleteFlag);
- if (input.CompleteFlag != PatientRegisterCompleteFlag.PreRegistration && input.IsFilterPreRegistration != null && input.IsFilterPreRegistration == 'Y')
- {
- //直接过滤
- sumquery = sumquery.Where(m => m.a.CompleteFlag != PatientRegisterCompleteFlag.PreRegistration);
- }
+ //if (input.CompleteFlag != PatientRegisterCompleteFlag.PreRegistration && input.IsFilterPreRegistration != null && input.IsFilterPreRegistration == 'Y')
+ //{
+ // //直接过滤
+ // sumquery = sumquery.Where(m => m.a.CompleteFlag != PatientRegisterCompleteFlag.PreRegistration);
+ //}
}
else
{
- if (input.IsFilterPreRegistration != null && input.IsFilterPreRegistration == 'Y')
- {
- //直接过滤
- sumquery = sumquery.Where(m => m.a.CompleteFlag != PatientRegisterCompleteFlag.PreRegistration);
- }
+ //if (input.IsFilterPreRegistration != null && input.IsFilterPreRegistration == 'Y')
+ //{
+ //直接过滤
+ sumquery = sumquery.Where(m => m.a.CompleteFlag != PatientRegisterCompleteFlag.PreRegistration);
+ //}
}
if (input.IsAudit != null)
@@ -2499,7 +2500,7 @@ namespace Shentun.Peis.PatientRegisters
patientRegisterList.ForEach(f =>
{
f.IsMedicalStart = 'Y';
- f.MedicalStartDate =DateTime.Now;
+ f.MedicalStartDate = DateTime.Now;
}
);