|
|
@@ -63,7 +63,7 @@ namespace CallCenterApi.Interface.Controllers.tel
|
|
63
|
63
|
{
|
|
64
|
64
|
if (Business == 2)
|
|
65
|
65
|
{
|
|
66
|
|
- sql += " and (Business = 2 or Business is null)";
|
|
|
66
|
+ sql += " and (Business = '2' or Business is null)";
|
|
67
|
67
|
}
|
|
68
|
68
|
else
|
|
69
|
69
|
{
|
|
|
@@ -145,7 +145,7 @@ namespace CallCenterApi.Interface.Controllers.tel
|
|
145
|
145
|
}
|
|
146
|
146
|
else if (callstate.Trim() == "3")
|
|
147
|
147
|
{
|
|
148
|
|
- sql += " and CallState=0 and CallType=0 and isnull(UserCode,'')='' and Business!='1' and Business!='4' ";
|
|
|
148
|
+ sql += " and CallState=0 and CallType=0 and isnull(UserCode,'')='' and (Business is null or Business='2' or Business='3') ";
|
|
149
|
149
|
}
|
|
150
|
150
|
else if (callstate.Trim() == "4")
|
|
151
|
151
|
{
|