Quellcode durchsuchen

导出搜索集成

qr vor 2 Monaten
Ursprung
Commit
1e738b02b4
2 geänderte Dateien mit 77 neuen und 56 gelöschten Zeilen
  1. 68 47
      webmain/flow/page/rock_page_sealapl.php
  2. 9 9
      webmain/model/flow/sealaplModel.php

Datei-Diff unterdrückt, da er zu groß ist
+ 68 - 47
webmain/flow/page/rock_page_sealapl.php


+ 9 - 9
webmain/model/flow/sealaplModel.php

@@ -37,9 +37,9 @@ class flow_sealaplClassModel extends flowModel
 
         $startDate = $this->rock->post("start_date");
         $stopDate = $this->rock->post("stop_date");
-        $status = $this->rock->post("status");
-        $export_type = $this->rock->post("export_type");
-
+//        $status = $this->rock->post("status") ?? null;
+//        $export_type = $this->rock->post("export_type");
+//
         if ($uid == 'all') {
             $where .= 'and '.$this->adminid.' in (1, 28)';
         }
@@ -47,12 +47,12 @@ class flow_sealaplClassModel extends flowModel
         if (!empty($startDate)) {
             $where .= " and office_date > '{$startDate}'";
         }
-        // 结束时间
-        if (!empty($stopDate)) {
-            $where .= " and office_date < '{$stopDate}'";
-        }
-        // 审核完成
-        $where .= " and status = '{$status}'";
+//        // 结束时间
+//        if (!empty($stopDate)) {
+//            $where .= " and office_date < '{$stopDate}'";
+//        }
+//        // 审核完成
+//        $where .= " and status = 1";
 
         return [
             'where' 	=> $where,