From 2840fcc468be744a8b0caf117169129c09b3877b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BD=87=E9=98=B3=20=E9=82=B9?= Date: Sun, 3 Dec 2023 16:56:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=88=86=E9=85=8D=E7=AD=9B?= =?UTF-8?q?=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 24Hour/Controllers/Common/LawyerservicesController.cs | 1 + Elight.Logic/Model/App_LawyerServicesInput.cs | 2 ++ 2 files changed, 3 insertions(+) diff --git a/24Hour/Controllers/Common/LawyerservicesController.cs b/24Hour/Controllers/Common/LawyerservicesController.cs index 31b3f37..df45ed6 100644 --- a/24Hour/Controllers/Common/LawyerservicesController.cs +++ b/24Hour/Controllers/Common/LawyerservicesController.cs @@ -94,6 +94,7 @@ namespace _24Hour.Controllers.Common .WhereIF(Lawyerdata?.objectstr != null, q => q.objectstr.Contains(Lawyerdata.objectstr)) .WhereIF(Lawyerdata?.unitId != null, q => q.unitCode.Contains(Lawyerdata.unitId)) .WhereIF(Lawyerdata?.state != null, q => q.state == Lawyerdata.state) + .WhereIF(Lawyerdata?.IsAssigned != null, q => q.IsAssigned == Lawyerdata.IsAssigned) .WhereIF(Lawyerdata?.StartTime != null && Lawyerdata.EndTime != null, q => q.receptiontime >= Lawyerdata.StartTime && q.receptiontime < Lawyerdata.EndTime.Value.AddDays(1)) .WhereIF(string.IsNullOrEmpty(Lawyerdata.Id) == false, q => q.Id == Lawyerdata.Id) diff --git a/Elight.Logic/Model/App_LawyerServicesInput.cs b/Elight.Logic/Model/App_LawyerServicesInput.cs index 1b1aa1d..10f664e 100644 --- a/Elight.Logic/Model/App_LawyerServicesInput.cs +++ b/Elight.Logic/Model/App_LawyerServicesInput.cs @@ -82,5 +82,7 @@ namespace Elight.Logic /// [DataMember] public int? state { get; set; } + [DataMember] + public bool? IsAssigned { get; set; } } }