|
|
@@ -554,12 +554,12 @@ 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 1 then '1' when 2 then '2' when 3 then '3' else '未评价' end else '' end ) result1,question2, ");
|
|
558
|
|
- tablenew.Append(" ( case when isconnect = 1 then case result2 when 1 then '1' when 2 then '2' when 3 then '3' else '未评价' end else '' end )result2,question3,");
|
|
|
557
|
+ tablenew.Append(" (case when isconnect = 1 then case result1 when 1 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 1 then '10' when 9 then '9' when 8 then '8' else '未评价' end else '' end )result2,question3,");
|
|
559
|
559
|
// tablenew.Append(" case when isconnect = 1 then case result3 when 1 then '十分满意' when 2 then '满意' when 3 then '不满意' else '未评价' end else '' end result3");
|
|
560
|
560
|
// 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
|
561
|
|
|
562
|
|
- tablenew.Append("(case when question3 IS NULL then '' else case when isconnect = 1 then case result3 when 1 then '1' when 2 then '2' when 3 then '3' else '未评价' end else '' end end ) result3 ,");
|
|
|
562
|
+ tablenew.Append("(case when question3 IS NULL then '' else case when isconnect = 1 then case result3 when 1 then '10' when 9 then '9' when 8 then '8' else '未评价' end else '' end end ) result3 ,");
|
|
563
|
563
|
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
|
564
|
var recordCount = 0;
|
|
565
|
565
|
dt = BLL.PagerBLL.GetListPager(
|