修改排班

This commit is contained in:
wjn 2024-05-27 15:53:44 +08:00
parent 5b361c8400
commit b5e69edd62

View File

@ -45,6 +45,10 @@ namespace APT.FM.WebApi.Controllers.Api.FM
throw new Exception(repeatNames + "重复,不允许重复添加人员!");
}
entity.Nav_DepartmentSchedulingDetail = null;
if (entity.DATE_TIME == DateTime.MinValue)
{
entity.DATE_TIME = entity.START_TIME;
}
UnifiedCommit(() =>
{
this.UpdateEntityNoCommit(entity);