zhengbingbing лет назад: 7
Родитель
Сommit
37794261ef

+ 3 - 3
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/IVRWelcomeController.cs

@@ -260,11 +260,11 @@ namespace CallCenterApi.Interface.Controllers
260 260
             }
261 261
             if (item != null && item != "")
262 262
             {
263
-                sql += " and F_Item<>'" + item + "'";
263
+                sql += " and F_Item='" + item + "'";
264 264
             }
265 265
             sql += " and( "
266
-                + "('" + ssdate.ToString("yyyy-MM-dd HH:mm:ss") + "' between F_StartDate and F_EndDate) "
267
-                + "or ('" + eedate.ToString("yyyy-MM-dd HH:mm:ss") + "' between F_StartDate and F_EndDate) "
266
+                + "('" + ssdate.ToString("yyyy-MM-dd") + "' between F_StartDate and F_EndDate) "
267
+                + "or ('" + eedate.ToString("yyyy-MM-dd") + "' between F_StartDate and F_EndDate) "
268 268
                 + ")";
269 269
             return dBLL.GetRecordCount(sql);
270 270
         }