|
|
@@ -554,12 +554,14 @@ namespace CallCenterApi.Interface.Controllers
|
|
554
|
554
|
// "营业部","电话号码","用户分类","问题","结果","日期"
|
|
555
|
555
|
StringBuilder tablenew = new StringBuilder();
|
|
556
|
556
|
tablenew.Append("(select callState , phone, salesOffice, orderNature,question1,F_Id,answerTime, ");
|
|
557
|
|
- tablenew.Append(" (case when isconnect = 1 then case result1 when '10' then '10' when '9' then '9' when '8' then '8' else '未评价' end else '' end ) result1,question2, ");
|
|
558
|
|
- tablenew.Append(" ( case when isconnect = 1 then case result2 when '10' then '10' when '9' then '9' when '8' then '8' else '未评价' end else '' end )result2,question3,");
|
|
|
557
|
+ tablenew.Append("result1,question2,result2,question3,result3, ");
|
|
|
558
|
+
|
|
|
559
|
+ //tablenew.Append(" (case when isconnect = 1 then case result1 when '10' then '10' when '9' then '9' when '8' then '8' else '未评价' end else '' end ) result1,question2, ");
|
|
|
560
|
+ //tablenew.Append(" ( case when isconnect = 1 then case result2 when '10' then '10' when '9' then '9' when '8' then '8' else '未评价' end else '' end )result2,question3,");
|
|
559
|
561
|
// tablenew.Append(" case when isconnect = 1 then case result3 when 1 then '十分满意' when 2 then '满意' when 3 then '不满意' else '未评价' end else '' end result3");
|
|
560
|
562
|
// tablenew.Append(" (case when question3 IS NULL then '' else case result3 when 1 then '十分满意' when 2 then '满意' when 3 then '不满意' else '未评价' end end else '' end ) result3 ");
|
|
561
|
563
|
|
|
562
|
|
- tablenew.Append("(case when question3 IS NULL then '' else case when isconnect = 1 then case result3 when '10' then '10' when '9' then '9' when '8' then '8' else '未评价' end else '' end end ) result3 ,");
|
|
|
564
|
+ //tablenew.Append("(case when question3 IS NULL then '' else case when isconnect = 1 then case result3 when '10' then '10' when '9' then '9' when '8' then '8' else '未评价' end else '' end end ) result3 ,");
|
|
563
|
565
|
tablenew.Append(" (case when isconnect =1 then '是' else '否' end ) connect, isconnect,calltime , phone.taskid ,Isnull(phone.totalTime,0) totalTime from T_AutomaticCall_Phone phone left join T_AutomaticCall_Task task on phone.taskid = task.taskid) as t");
|
|
564
|
566
|
var recordCount = 0;
|
|
565
|
567
|
dt = BLL.PagerBLL.GetListPager(
|
|
|
@@ -594,6 +596,7 @@ namespace CallCenterApi.Interface.Controllers
|
|
594
|
596
|
}
|
|
595
|
597
|
}
|
|
596
|
598
|
|
|
|
599
|
+
|
|
597
|
600
|
}
|
|
598
|
601
|
|
|
599
|
602
|
var obj = new
|