DuGuYang 2 лет назад
Родитель
Сommit
9c60c723e0
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      Areas/Admin/Controllers/MainServer/PosMachinesTwoController.cs

+ 1 - 1
Areas/Admin/Controllers/MainServer/PosMachinesTwoController.cs

@@ -817,7 +817,7 @@ namespace MySystem.Areas.Admin.Controllers
             }
             if (!string.IsNullOrEmpty(PosSn))
             {
-                condition += " and PosSn =" + PosSn + "";
+                condition += " and PosSn ='" + PosSn + "'";
             }
 
             if (!string.IsNullOrEmpty(RecycEndDateData))