|
|
@@ -60,6 +60,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
60
|
60
|
int sourcearea = RequestString.GetInt("sourcearea", 0);
|
|
61
|
61
|
|
|
62
|
62
|
int deptid = RequestString.GetInt("deptid", 0);
|
|
|
63
|
+ int dealtype = RequestString.GetInt("dealtype", -1);
|
|
63
|
64
|
|
|
64
|
65
|
string strpageindex = RequestString.GetQueryString("page");
|
|
65
|
66
|
int pageindex = 1;
|
|
|
@@ -123,6 +124,10 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
123
|
124
|
string sqlwhere = "select F_WorkOrderID from T_Bus_AssignedInfo where F_MainDeptId = '" + deptid + "' and F_State=1 and F_IsDelete=0 ";
|
|
124
|
125
|
sql += " and F_WorkOrderID in(" + sqlwhere + ")";
|
|
125
|
126
|
}
|
|
|
127
|
+ if (dealtype != -1)
|
|
|
128
|
+ {
|
|
|
129
|
+ sql += " and isnull(F_IsResult,0) = '" + dealtype + "' ";
|
|
|
130
|
+ }
|
|
126
|
131
|
if (strstarttime.Trim() != "" && strstarttime != "undefined")
|
|
127
|
132
|
{
|
|
128
|
133
|
sql += " and datediff(day,F_CreateTime,'" + strstarttime + "')<=0 ";
|