|
|
@@ -121,7 +121,7 @@ namespace CallCenterApi.Interface.Controllers.report
|
|
121
|
121
|
dtnew = DbHelperSQL.Query(sqlnew).Tables[0];
|
|
122
|
122
|
for (int j = 0; j < dtnew.Rows.Count; j++)
|
|
123
|
123
|
{
|
|
124
|
|
- string str = "select count(*) from T_Wo_WorkOrder where IsDel=0 and type=" + Convert.ToInt32(dtnew.Rows[j]["F_DictionaryValueId"].ToString()) + " and CreateUserID='" + dt.Rows[i]["F_Userid"].ToString() + "'" + sqltimeCallRecords;
|
|
|
124
|
+ string str = "select count(*) from T_Wo_WorkOrder where IsDel=0 and type=" + Convert.ToInt32(dtnew.Rows[j]["F_DictionaryValueId"].ToString()) + " and CreateUser='" + dt.Rows[i]["F_UserCode"].ToString() + "'" + sqltimeCallRecords;
|
|
125
|
125
|
DataTable dtj = DbHelperSQL.Query(str).Tables[0];
|
|
126
|
126
|
int sum = 0;
|
|
127
|
127
|
if (dtj.Rows[0][0] != null && dtj.Rows[0][0].ToString() != "")
|