zgg 3 일 전
부모
커밋
c67fedf6ab
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      application/common/model/PhOrders.php

+ 1 - 0
application/common/model/PhOrders.php

@@ -498,6 +498,7 @@ class PhOrders extends Base
                 ->where('order_id',$v['order_id'])
                 ->where('user_id',$v['user_id'])
                 ->where('id','<>',$data['id'])
+                ->where('status',1)
                 ->select();
             if(count($todos) >=1){
                 foreach ($todos as $kk=>$vv){