岗位当班是否触发交接班
This commit is contained in:
parent
2638d6650b
commit
2cc3ef3edc
@ -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<T_FM_USER>((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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user