lvhao 11 小时之前
父节点
当前提交
4e88906f46
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/CoreApp/controllers/Beihuogl.php

+ 1 - 1
core/CoreApp/controllers/Beihuogl.php

@@ -498,7 +498,7 @@ class Beihuogl extends Start_Controller {
             $where .= " and add_time >= ".$ktime."  and add_time  < ".$jtime." ";
 
             if(!empty($sqr)){
-                $where .= " and sqr = ".$sqr." ";
+                $where .= " and sqr = '".$sqr."' ";
             }
             if(!empty($shop_id)){
                 $where .= " and shop_id = ".$shop_id." ";