| 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);
|