From f359249885cb589f00dc51cbe93dae5c3175529f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BD=87=E9=98=B3=20=E9=82=B9?= Date: Tue, 5 Dec 2023 16:15:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=86=85=E7=BD=91=E6=89=8B=E5=8A=A8=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E6=97=B6=E6=B7=BB=E5=8A=A0=E9=BB=98=E8=AE=A4=E5=88=9B?= =?UTF-8?q?=E5=BB=BA=E6=97=B6=E9=97=B4=E5=92=8C=E6=98=AF=E5=90=A6=E5=88=86?= =?UTF-8?q?=E9=85=8D=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 24Hour/Controllers/Common/LawyerservicesController.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/24Hour/Controllers/Common/LawyerservicesController.cs b/24Hour/Controllers/Common/LawyerservicesController.cs index 8da81de..1edd36e 100644 --- a/24Hour/Controllers/Common/LawyerservicesController.cs +++ b/24Hour/Controllers/Common/LawyerservicesController.cs @@ -157,6 +157,8 @@ namespace _24Hour.Controllers.Common Lawyerdata.Id = Guid.NewGuid().ToString(); Lawyerdata.state = 1; Lawyerdata.unitCode = _userdata.unitCode; + Lawyerdata.IsAssigned = false; + Lawyerdata.creationtime = DateTime.Now; var num = await _db.Insertable(Lawyerdata).ExecuteCommandAsync(); _db.CommitTran(); if (num > 0)