wugg 2 years ago
parent
commit
024774131e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/admin/controller/User.php

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

@@ -105,7 +105,7 @@ class User extends BaseController{
             return app_show(1002,"员工信息不存在");
             return app_show(1002,"员工信息不存在");
         }
         }
         $data = $userinfo['data'];
         $data = $userinfo['data'];
-        $where=[["uid","=", $data['id']],["status","=",1],["is_del","=",1]];
+        $where=[["uid","=", $data['id']],["status","=",1],["is_del","=",0]];
         if($post['relaComNo']!=""){
         if($post['relaComNo']!=""){
         	$where[]=["companyNo","=",$post['relaComNo']];
         	$where[]=["companyNo","=",$post['relaComNo']];
         }else{
         }else{