Explorar o código

修复商户列表机具sn查询功能

DuGuYang %!s(int64=3) %!d(string=hai) anos
pai
achega
27632ef757

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

@@ -85,7 +85,7 @@ namespace MySystem.Areas.Admin.Controllers
             //机具号
             if (!string.IsNullOrEmpty(PosSn))
             {
-                condition += " and KqSnNo=" + PosSn;
+                condition += " and KqSnNo='" + PosSn + "'";
             }
             Dictionary<string, object> obj = new AdminContentOther(_accessor.HttpContext, PublicFunction.MainTables).IndexData("PosMerchantInfo", Fields, "Id desc", "0", page, limit, condition);
             List<Dictionary<string, object>> diclist = obj["data"] as List<Dictionary<string, object>>;