fix 考勤上传增加安全人员名单
This commit is contained in:
@@ -29,7 +29,7 @@ public class SyncOriginCardInfoJob : BaseJob
|
||||
var requests = await DbContext.Queryable<DeviceUploadLogEntity>()
|
||||
.LeftJoin<DeviceEntity>((x, device) => x.DeviceUniqueNo == device.UniqueNo)
|
||||
.Where(x => x.ModifiedTime > start)
|
||||
.Where(x => x.NeedUpload && x.Sync == false && x.UserType == GainfoUserTypeEnumType.Normal)
|
||||
.Where(x => x.NeedUpload && x.Sync == false && (x.UserType == GainfoUserTypeEnumType.Normal || x.UserType == GainfoUserTypeEnumType.SecurityWhite))
|
||||
.OrderBy(x => x.ModifiedTime)
|
||||
.Select((x, device) => new UploadAttendanceRequestItem
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user