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