root 5 年之前
父节点
当前提交
7fbdfec92f
共有 1 个文件被更改,包括 3 次插入4 次删除
  1. 3 4
      addons/zh_jdgjb/wxapp.php

+ 3 - 4
addons/zh_jdgjb/wxapp.php

xqd
@@ -883,11 +883,10 @@ public function doPageMyOrder(){
         $data[':uniacid']=$_W['uniacid'];
         $data[':user_id']=$_GPC['user_id'];
         $where=" where uniacid=:uniacid and user_id=:user_id  ";
-        if($_GPC['status']){
-            $where.=" and status = :status and is_out_time = :is_out_time";
-            $data[':status'] = 10;
+
+            $where.=" and is_out_time = :is_out_time";
             $data[':is_out_time'] = 1;
-        }
+
         $sql="select *  from " . tablename("zh_jdgjb_order") .$where." order by id desc ";
         $select_sql=$sql." LIMIT " .($pageindex - 1) * $pagesize.",".$pagesize;
         $list=pdo_fetchall($select_sql,$data);