DuGuYang 3 лет назад
Родитель
Сommit
7b26bef16e
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      Areas/Admin/Controllers/MainServer/SysToolsController.cs

+ 4 - 4
Areas/Admin/Controllers/MainServer/SysToolsController.cs

@@ -4947,14 +4947,14 @@ namespace MySystem.Areas.Admin.Controllers
                 string[] datelist = BindingTime.Split(new string[] { " - " }, StringSplitOptions.None);
                 bstart = datelist[0] + " 00:00:00";
                 bend = datelist[1] + " 23:59:59";
-                condition += " and tb.BindingTime>='" + bstart + "' and tb.BindingTime<'" + bend + "'";
+                condition += " and tb.BindingTime>='" + bstart + "' and tb.BindingTime<='" + bend + "'";
             }
             if (!string.IsNullOrEmpty(ActivationTime))
             {
                 string[] datelist = ActivationTime.Split(new string[] { " - " }, StringSplitOptions.None);
                 astart = datelist[0] + " 00:00:00";
                 aend = datelist[1] + " 23:59:59";
-                condition += " and tb.ActivationTime>='" + astart + "' and tb.ActivationTime<'" + aend + "'";
+                condition += " and tb.ActivationTime>='" + astart + "' and tb.ActivationTime<='" + aend + "'";
             }
             if (!string.IsNullOrEmpty(PosFeeSelect))
             {
@@ -5025,14 +5025,14 @@ namespace MySystem.Areas.Admin.Controllers
                 string[] datelist = BindingTime.Split(new string[] { " - " }, StringSplitOptions.None);
                 bstart = datelist[0] + " 00:00:00";
                 bend = datelist[1] + " 23:59:59";
-                condition += " and tb.BindingTime>='" + bstart + "' and tb.BindingTime<'" + bend + "'";
+                condition += " and tb.BindingTime>='" + bstart + "' and tb.BindingTime<='" + bend + "'";
             }
             if (!string.IsNullOrEmpty(ActivationTime))
             {
                 string[] datelist = ActivationTime.Split(new string[] { " - " }, StringSplitOptions.None);
                 astart = datelist[0] + " 00:00:00";
                 aend = datelist[1] + " 23:59:59";
-                condition += " and tb.ActivationTime>='" + astart + "' and tb.ActivationTime<'" + aend + "'";
+                condition += " and tb.ActivationTime>='" + astart + "' and tb.ActivationTime<='" + aend + "'";
             }
             if (!string.IsNullOrEmpty(PosFeeSelect))
             {