Commit d46974b2 authored by xulihui's avatar xulihui

修改燃气用户关联企业

parent 576d3722
...@@ -154,8 +154,8 @@ public class TDetectorUserController extends BaseController ...@@ -154,8 +154,8 @@ public class TDetectorUserController extends BaseController
public AjaxResult add(@RequestBody TDetectorUser tDetectorUser) public AjaxResult add(@RequestBody TDetectorUser tDetectorUser)
{ {
//获取用户信息 //获取用户信息
SysUser user = SecurityUtils.getLoginUser().getUser(); //SysUser user = SecurityUtils.getLoginUser().getUser();
tDetectorUser.setBeyondEnterpriseId(user.getDeptId()); //tDetectorUser.setBeyondEnterpriseId(user.getDeptId());
return toAjax(tDetectorUserService.insertTDetectorUser(tDetectorUser)); return toAjax(tDetectorUserService.insertTDetectorUser(tDetectorUser));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment