added visitorid
这个提交包含在:
@@ -79,6 +79,9 @@ namespace Bizgaze.CRM.Visitors.ActionProviders
|
|||||||
{
|
{
|
||||||
stageStatusName = "CheckIn";
|
stageStatusName = "CheckIn";
|
||||||
visitorid = visitorsinfo.Result.VisitorId;
|
visitorid = visitorsinfo.Result.VisitorId;
|
||||||
|
dictObj["visitorid"] = visitorid;
|
||||||
|
dictObj["visitoremailid"] = visitorsinfo.Result.VisitorEmailId;
|
||||||
|
dictObj["visitornumberid"] = visitorsinfo.Result.VisitorNumberId;
|
||||||
var installedAppId = visitorsinfo.Result.Installedappid;
|
var installedAppId = visitorsinfo.Result.Installedappid;
|
||||||
var stage = await stageManager.GetStageByStageStatusAsync(srequest, installedAppId, stageStatusName);
|
var stage = await stageManager.GetStageByStageStatusAsync(srequest, installedAppId, stageStatusName);
|
||||||
var NewStageId = stage.Result.StageId;
|
var NewStageId = stage.Result.StageId;
|
||||||
@@ -94,7 +97,7 @@ namespace Bizgaze.CRM.Visitors.ActionProviders
|
|||||||
updateValues.Add("checkindate", DateTime.Now);
|
updateValues.Add("checkindate", DateTime.Now);
|
||||||
var updateQry = new Update("bizgazecrm_visitors").Values(updateValues).Where(Exp.Eq("visitorid", visitorid));
|
var updateQry = new Update("bizgazecrm_visitors").Values(updateValues).Where(Exp.Eq("visitorid", visitorid));
|
||||||
var ds = await _repository.ExecuteAsync(request, updateQry);
|
var ds = await _repository.ExecuteAsync(request, updateQry);
|
||||||
returnresponse.Obj = null;
|
returnresponse.Obj = dictObj as ExpandoObject;
|
||||||
returnresponse.PkValue = defaultPKValue;
|
returnresponse.PkValue = defaultPKValue;
|
||||||
return ActionResponse<FormActionResponse>.CreateSuccessResponse("success", returnresponse);
|
return ActionResponse<FormActionResponse>.CreateSuccessResponse("success", returnresponse);
|
||||||
}
|
}
|
||||||
|
|||||||
在新工单中引用
屏蔽一个用户