root 5 년 전
부모
커밋
766d8369f0
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      addons/zh_jdgjb/wxapp.php

+ 2 - 1
addons/zh_jdgjb/wxapp.php

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