@@ -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." ";