rabin 2 years ago
parent
commit
a1d173180e
1 changed files with 2 additions and 1 deletions
  1. 2 1
      service/agent/database/member_shop_log.php

+ 2 - 1
service/agent/database/member_shop_log.php

@@ -22,7 +22,7 @@ $role = function()
 $new_shop = Dever::input('search_option_new_shop_id');
 $new_shop = Dever::input('search_option_new_shop_id');
 $group = 't_1.mid,t_1.new_shop_id';
 $group = 't_1.mid,t_1.new_shop_id';
 if ($new_shop) {
 if ($new_shop) {
-    $group = 't_1.mid';
+    Dever::input('search_option_status', 1);
 }
 }
 $admin = Dever::load('manage/auth.info');
 $admin = Dever::load('manage/auth.info');
 $admin_auth = false;
 $admin_auth = false;
@@ -235,6 +235,7 @@ return array
                 'start' => array('yes-cdate','>='),
                 'start' => array('yes-cdate','>='),
                 'end' => array('yes-cdate','<='),
                 'end' => array('yes-cdate','<='),
                 'new_shop_id' => 'yes',
                 'new_shop_id' => 'yes',
+                'status' => 1,
                 'state' => 1,
                 'state' => 1,
             ),
             ),
             'type' => 'all',
             'type' => 'all',