|
|
@@ -224,14 +224,18 @@ namespace Learun.Application.TwoDevelopment.PersonnelManagement |
|
|
|
var meetEntity = this.BaseRepository("CollegeMIS") |
|
|
|
.FindEntity<MeetingSignInRecordEntity>(a => |
|
|
|
a.MeetID == scanParamMeetid && a.ParticipantID == scanParamUserid); |
|
|
|
if (meetEntity != null) |
|
|
|
var date = DateTime.Now; |
|
|
|
var meetEntityList = this.BaseRepository("CollegeMIS") |
|
|
|
.FindEntity<MeetingManagementEntity>(x => x.Id == scanParamMeetid); |
|
|
|
var beginTime = meetEntityList.BeginTime; |
|
|
|
if (meetEntityList != null && beginTime > date) |
|
|
|
{ |
|
|
|
meetEntity.IsSignIn = true; |
|
|
|
meetEntity.SignInTime = DateTime.Now; |
|
|
|
this.BaseRepository("CollegeMIS").Update(meetEntity); |
|
|
|
result = true; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
return result; |
|
|
|
|
|
|
|
} |
|
|
|