fix 下发任务数据补充
This commit is contained in:
@@ -203,7 +203,7 @@ public class GainfoPermissionService : IGainfoPermissionService
|
||||
.Where(x => x.No == request.UserNo)
|
||||
.SingleAsync();
|
||||
|
||||
if (request.IsLeave)
|
||||
if (gainfo == null && request.IsLeave)
|
||||
{
|
||||
gainfo = await _dbContext.Queryable<GainfoEntity>().AS("GainfoLeave")
|
||||
.Where(x => x.No == request.UserNo)
|
||||
|
||||
Reference in New Issue
Block a user