diff --git a/application/api/controller/Index.php b/application/api/controller/Index.php
index 2b2421b..86ca072 100644
--- a/application/api/controller/Index.php
+++ b/application/api/controller/Index.php
@@ -286,7 +286,7 @@ class Index extends Api
         $OrderSn = $this->order_sn();
         //押金
         $MoneyArr = Db::name('money_config')->where('battery_id', $params['battery_id'])->find();
-        $res111 = Db::name('agreement')->where('user_id', $UserId)->where('seller_id', $params['seller_id'])->find();
+        $res111 = Db::name('agreement')->where('user_id', $UserId)->where('seller_id', $params['seller_id'])->where('status', 'IN', '0,1')->find();
         if (!empty($res111)) {
             $this->error('禁止重复签订协议', 0);
             die;