@@ -201,7 +201,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>>;