|
|
@@ -474,7 +474,7 @@ namespace CallCenterApi.Interface.Controllers
|
|
474
|
474
|
|
|
475
|
475
|
//sql = " select count(1) from dbo.T_Call_CallRecords where CallType=0 and datediff(day, BeginTime, getdate()) = 0 "
|
|
476
|
476
|
// + " and DealType=4 and datepart(hh,BeginTime)=" + hours[i];
|
|
477
|
|
- sql = " select count(1) from dbo.T_Call_LeaveRecord where CallType=0 and datediff(day, F_LeaveTime, getdate()) = 0 "
|
|
|
477
|
+ sql = " select count(1) from dbo.T_Call_LeaveRecord where datediff(day, F_LeaveTime, getdate()) = 0 "
|
|
478
|
478
|
+ "and datepart(hh,F_LeaveTime)=" + hours[i];
|
|
479
|
479
|
lcounts[i] = Int32.Parse(DbHelperSQL.Query(sql).Tables[0].Rows[0][0].ToString());
|
|
480
|
480
|
|