rabin 3 年之前
父節點
當前提交
ccf7c03e64
共有 1 個文件被更改,包括 8 次插入4 次删除
  1. 8 4
      service/mail/database/area_stat.php

+ 8 - 4
service/mail/database/area_stat.php

@@ -19,11 +19,15 @@ $type = array
     3 => '街道',
 );
 
-$desc = '';
-$month = Dever::input('search_option_month', date('Y-m'));
-if ($month) {
-    Dever::setInput('search_option_month', $month);
+$table = Dever::input('table');
+if ($table == 'area_stat') {
+    $month = Dever::input('search_option_month', date('Y-m'));
+    if ($month) {
+        Dever::setInput('search_option_month', $month);
+    }
 }
+$desc = '';
+
 
 $button = array();