소스 검색

质抵押订单

afa 7 달 전
부모
커밋
907015b7e7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      application/common/logic/PledgeLogic.php

+ 1 - 1
application/common/logic/PledgeLogic.php

@@ -59,7 +59,7 @@ class PledgeLogic
         $pledge->day_num, $pledge_num);
        
         //修改状态
-        return $model->whereIn('order_no', $order_no)->limit(count($order_no))->setField('status', $model::Freeze);
+        return $model->whereIn('order_no', $order_no)->where('status', $model::Paid)->limit(count($order_no))->setField('status', $model::Freeze);
     }
 
     //获取质抵押订单列表