|
@@ -106,6 +106,7 @@ namespace Hotline.Api.Controllers
|
|
|
var aiOrderVisitDetail = aiOrderVisit.AiOrderVisitDetails.FirstOrDefault(x => x.TaskUid == dto.TaskUid);
|
|
|
if (aiOrderVisitDetail != null)
|
|
|
{
|
|
|
+ // 回访结果(ReturnVisit)[1成功、0不涉及、-1失败]
|
|
|
var callRecord = dto.CallRecordList.OrderByDescending(x => x.CallNo).FirstOrDefault(x => x.ReturnVisit == 1);
|
|
|
if (callRecord != null) //有结果的任务
|
|
|
{
|
|
@@ -130,7 +131,7 @@ namespace Hotline.Api.Controllers
|
|
|
foreach (var item in callRecord.QuestionnaireResult)
|
|
|
{
|
|
|
//服务过程满意度
|
|
|
- if (item.QuestionId == "2" )
|
|
|
+ if (item.QuestionId == "MTAwMDAxK1F9Qnu-QXYolr9JoOI8fM")
|
|
|
{
|
|
|
if (item.QuestionResult == "满意")
|
|
|
{
|
|
@@ -142,7 +143,7 @@ namespace Hotline.Api.Controllers
|
|
|
}
|
|
|
}
|
|
|
//办件结果满意度
|
|
|
- if (item.QuestionId == "3")
|
|
|
+ if (item.QuestionId == "MTAwMDAxWQWym04VSRwn4dmWKnYEsQ")
|
|
|
{
|
|
|
if (item.QuestionResult == "满意")
|
|
|
{
|