fix 修复外包上传问题
This commit is contained in:
@@ -109,6 +109,10 @@ public class GainfoFaceService : IGainfoFaceService
|
||||
var gainfo = await _gainfoStore.Queryable(GainfoStatusEnumType.External)
|
||||
.Where(x => x.IdNo == request.UserNo)
|
||||
.SingleAsync();
|
||||
|
||||
gainfo ??= await _gainfoStore.Queryable(GainfoStatusEnumType.Working)
|
||||
.Where(x => x.IdNo == request.UserNo)
|
||||
.SingleAsync();
|
||||
|
||||
gainfo.ThrowIfNull("人员信息不存在");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user