|
|
@@ -73,6 +73,12 @@ namespace CallCenterApi.Interface.Controllers.tel
|
|
73
|
73
|
// sql += " and isnull(UserCode,'')<>'' ";
|
|
74
|
74
|
if (calltype.Trim() != "")
|
|
75
|
75
|
{
|
|
|
76
|
+ if (calltype=="3")
|
|
|
77
|
+ {
|
|
|
78
|
+ sql += " and CallType='1'";
|
|
|
79
|
+ sql += " and CallId in(select F_CallRecordId from T_Bus_VisitResult where F_CallRecordId !='' and F_CallRecordId is not null )";
|
|
|
80
|
+ }
|
|
|
81
|
+ else
|
|
76
|
82
|
sql += " and CallType='" + calltype + "'";
|
|
77
|
83
|
}
|
|
78
|
84
|
if (tasktype.Trim() != "")
|