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