904118851 8 ماه پیش
والد
کامیت
19174aacd3
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      service/backmgr/promotion_audit_suggestions.lua

+ 1 - 1
service/backmgr/promotion_audit_suggestions.lua

@@ -48,7 +48,7 @@ function M.search_promotion_audit_suggestions(msg_body)
 
     local material_type_param = ""
     if msg_body.material_type~="" then
-        material_type_param =  " AND material_type = "..msg_body.material_type
+        material_type_param =  string.format( " AND material_type = '%s' ",msg_body.material_type)
     end
 
     local material_item_param = ""