Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zh-baseversion-project
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王浩
zh-baseversion-project
Commits
576d3722
Commit
576d3722
authored
Aug 06, 2024
by
xulihui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改企业id
parent
c843fbbc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
TEnterpriseInfoController.java
...g/web/controller/supervise/TEnterpriseInfoController.java
+2
-0
No files found.
zh-baseversion-admin/src/main/java/com/zehong/web/controller/supervise/TEnterpriseInfoController.java
View file @
576d3722
...
@@ -9,6 +9,7 @@ import com.zehong.common.core.page.TableDataInfo;
...
@@ -9,6 +9,7 @@ import com.zehong.common.core.page.TableDataInfo;
import
com.zehong.common.enums.BusinessType
;
import
com.zehong.common.enums.BusinessType
;
import
com.zehong.common.utils.SecurityUtils
;
import
com.zehong.common.utils.SecurityUtils
;
import
com.zehong.common.utils.poi.ExcelUtil
;
import
com.zehong.common.utils.poi.ExcelUtil
;
import
com.zehong.common.utils.uuid.UUID
;
import
com.zehong.framework.config.ServerConfig
;
import
com.zehong.framework.config.ServerConfig
;
import
com.zehong.system.domain.TEnterpriseInfo
;
import
com.zehong.system.domain.TEnterpriseInfo
;
import
com.zehong.system.domain.vo.TEnterpriseInfoVO
;
import
com.zehong.system.domain.vo.TEnterpriseInfoVO
;
...
@@ -132,6 +133,7 @@ public class TEnterpriseInfoController extends BaseController
...
@@ -132,6 +133,7 @@ public class TEnterpriseInfoController extends BaseController
//获取用户信息
//获取用户信息
SysUser
user
=
SecurityUtils
.
getLoginUser
().
getUser
();
SysUser
user
=
SecurityUtils
.
getLoginUser
().
getUser
();
tEnterpriseInfo
.
setCreateEnterpriseId
(
user
.
getDeptId
());
tEnterpriseInfo
.
setCreateEnterpriseId
(
user
.
getDeptId
());
tEnterpriseInfo
.
setEnterpriseId
(
UUID
.
randomUUID
().
toString
());
return
toAjax
(
tEnterpriseInfoService
.
insertTEnterpriseInfo
(
tEnterpriseInfo
));
return
toAjax
(
tEnterpriseInfoService
.
insertTEnterpriseInfo
(
tEnterpriseInfo
));
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment