Browse Source

no message

lvhao 5 months ago
parent
commit
639be15768
1 changed files with 7 additions and 7 deletions
  1. 7 7
      core/CoreApp/controllers/Zzququeu9.php

+ 7 - 7
core/CoreApp/controllers/Zzququeu9.php

@@ -600,24 +600,24 @@ class Zzququeu9 extends Start_Controller {
         $params = $this->input->get();
         $where = " type = 10 ";
         if(!empty($params['order_no'])){
-          $where .= " order_no =  '".$params['order_no']."' ";
+          $where .= " and  order_no =  '".$params['order_no']."' ";
         } 
         if(!empty($params['timetk'])){
-          $where .= " create_time >  ".strtotime($params['timetk'])." ";
+          $where .= " and create_time >  ".strtotime($params['timetk'])." ";
         }       
         if(!empty($params['timetj'])){
-          $where .= " create_time <  ".strtotime($params['timetj'])." ";
+          $where .= "and create_time <  ".strtotime($params['timetj'])." ";
         }    
         if(!empty($params['status'])){
                if($status = 1){
                     $where .= " and dc_status = 0 ";
-               }elseif($status = 2){
+               }elseif($status == 2){
                     $where .= " and dc_status = -1  ";
-               }elseif($status = 3){
+               }elseif($status == 3){
                     $where .= " and dc_status = -2  ";
-               }elseif($status = 4){
+               }elseif($status == 4){
                     $where .= " and dc_status = -3  ";
-               }elseif($status = 5){
+               }elseif($status == 5){
                     $where .= " and dc_status < 3  ";
                }
         }