From 2cc3ef3edc9f8391e971656b3db93dac3e65415d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E7=BE=8E=E8=8D=A3?= <10755671+mei-rong-he@user.noreply.gitee.com> Date: Mon, 5 Jan 2026 15:38:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B2=97=E4=BD=8D=E5=BD=93=E7=8F=AD=E6=98=AF?= =?UTF-8?q?=E5=90=A6=E8=A7=A6=E5=8F=91=E4=BA=A4=E6=8E=A5=E7=8F=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- APT.MicroApi/APT.FO.WebApi/Controllers/CurrentClassRecord.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/APT.MicroApi/APT.FO.WebApi/Controllers/CurrentClassRecord.cs b/APT.MicroApi/APT.FO.WebApi/Controllers/CurrentClassRecord.cs index ab659a5..bf77a73 100644 --- a/APT.MicroApi/APT.FO.WebApi/Controllers/CurrentClassRecord.cs +++ b/APT.MicroApi/APT.FO.WebApi/Controllers/CurrentClassRecord.cs @@ -74,6 +74,10 @@ namespace APT.FO.WebApi.Controllers.Api.FO userID = currTask.USER_ID; taskEndTime = currTask.TASK_ENDDT; } + } + if (entity.IS_HANDOVER == true) + { + isManual = true; } var currFMUser = GetEntity((Guid)userID, "Nav_Person.Nav_Post", "Nav_Department.Nav_Parent"); if (currFMUser != null) @@ -93,7 +97,6 @@ namespace APT.FO.WebApi.Controllers.Api.FO } if (entity.NAME == null) { - isManual = true; entity.NAME = DateTime.Now.ToShortDateString() + (team!=null?team?.NAME:depart?.NAME) + "-" + currFMUser.Nav_Person.Nav_Post.NAME + "当班工作记录"; entity.RECORD_DATE = DateTime.Now; }