fix 查询匹配错误
This commit is contained in:
@@ -28,7 +28,7 @@ public class AutoConfirmAppointmentJob : BaseJob
|
||||
|
||||
foreach (var detail in details)
|
||||
{
|
||||
var gainfo = await DbContext.Queryable<GainfoEntity>().Where(x => x.No == detail.No).SingleAsync();
|
||||
var gainfo = await DbContext.Queryable<GainfoEntity>().Where(x => x.No == detail.UserNo).SingleAsync();
|
||||
var isExternal = gainfo.Type == GainfoUserTypeEnumType.External;
|
||||
|
||||
var areaCodes = GetValidAreaCodes(isExternal, detail);
|
||||
|
||||
Reference in New Issue
Block a user