Browse Source

VisitorStageChangeAndUpDateContacts.cs changes

Shanmukh 1 year ago
parent
commit
6946bce345

+ 1
- 1
CRM.Visitors/ActionProviders/VisitorStageChangeAndUpDateContacts.cs View File

145
                             photourl = visitordata.Result.PhotoUrl;
145
                             photourl = visitordata.Result.PhotoUrl;
146
                             var stages = await stageManager.GetStageByStageStatusAsync(srequest, installedAppId, stageStatusName);
146
                             var stages = await stageManager.GetStageByStageStatusAsync(srequest, installedAppId, stageStatusName);
147
                             var NewStageIds = stages.Result.StageId;
147
                             var NewStageIds = stages.Result.StageId;
148
-                            var UpdateStages = new Update("bizgazecrm_visitors").Value("photourl", image).Value("agreement", true).Value("stageid", NewStageIds).Value("lastupdateddate", DateTime.Now).Where(Exp.Eq("visitorId", visitorIds));
148
+                            var UpdateStages = new Update("bizgazecrm_visitors").Value("photourl", image).Value("agreement", true).Value("stageid", NewStageIds).Value("checkindate", DateTime.Now).Value("lastupdateddate", DateTime.Now).Where(Exp.Eq("visitorId", visitorIds));
149
                             await _repository.ExecuteAsync(request, UpdateStages);
149
                             await _repository.ExecuteAsync(request, UpdateStages);
150
                             var visitorTypeid = visitordata.Result.VisitorType;
150
                             var visitorTypeid = visitordata.Result.VisitorType;
151
 
151
 

Loading…
Cancel
Save