fix 任务userId
This commit is contained in:
@@ -251,7 +251,9 @@ public class AssignmentService : IAssignmentService
|
||||
.Select((deviceTask, device, deviceTemplate, ga, gaLeave, department, gainfoEx) => new TaskDto
|
||||
{
|
||||
UserId = deviceTask.UserId == 0 || deviceTask.UserId == null
|
||||
? gaLeave.IdentityUserId
|
||||
? ga.Id == 0
|
||||
? gaLeave.IdentityUserId
|
||||
: ga.Id
|
||||
: deviceTask.UserId,
|
||||
TaskId = deviceTask.Id,
|
||||
Type = deviceTask.Type,
|
||||
|
||||
Reference in New Issue
Block a user