yuqian лет назад: 7
Родитель
Сommit
afaa53b392

+ 2 - 2
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/tel/CallrecordsController.cs

284
                 }
284
                 }
285
                 if (starttime.Trim() != "")
285
                 if (starttime.Trim() != "")
286
                 {
286
                 {
287
-                    sql += $" and  BeginTime>='{starttime}' ";
287
+                    sql += $" and  BeginTime>='{starttime} 00:00:00' ";
288
                 }
288
                 }
289
                 if (endtime.Trim() != "")
289
                 if (endtime.Trim() != "")
290
                 {
290
                 {
291
-                    sql += $" and  BeginTime<='{endtime}' ";
291
+                    sql += $" and  BeginTime<='{endtime} 23:59:59' ";
292
                 }
292
                 }
293
 
293
 
294
                 List<Model.T_Call_CallRecordsExpt> callRecordList = callRecordBLL.DataTableToListExpt(callRecordBLL.GetListExpt(sql).Tables[0]);
294
                 List<Model.T_Call_CallRecordsExpt> callRecordList = callRecordBLL.DataTableToListExpt(callRecordBLL.GetListExpt(sql).Tables[0]);