WIN-2308041133\Administrator hace 11 meses
padre
commit
4cd4045a4c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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();