WIN-2308041133\Administrator 1 day ago
parent
commit
4cd4045a4c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/api/controller/User.php

+ 1 - 1
app/api/controller/User.php

@@ -1535,7 +1535,7 @@ class User extends BaseController
 //            $where[] = ["create_time",'=',strtotime($post['time'])];
         }
         if ($post['contract_id']>0){
-            $where[] = ["contract_id",$post['contract_id']];
+            $where[] = ["contract_id",'=',$post['contract_id']];
         }
         $totalCount = (new UserClockModel())->where($where)->count();