Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hp-smart
Overview
Overview
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
platform
hp-smart
Commits
ebbb44b0
Commit
ebbb44b0
authored
Mar 29, 2024
by
wasx8023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.实体类修改
parent
de81c24d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
DaoUtils.java
src/main/java/com/baosight/hpjx/core/dao/DaoUtils.java
+5
-7
No files found.
src/main/java/com/baosight/hpjx/core/dao/DaoUtils.java
View file @
ebbb44b0
...
@@ -160,20 +160,18 @@ public class DaoUtils {
...
@@ -160,20 +160,18 @@ public class DaoUtils {
map
.
put
(
"createdName"
,
userName
);
map
.
put
(
"createdName"
,
userName
);
map
.
put
(
"updatedName"
,
""
);
map
.
put
(
"updatedName"
,
""
);
// 创建人企业编码
// 创建人企业编码
String
companyCode
=
UserSessionUtils
.
getCompanyCode
();
AssertUtils
.
isEmpty
(
companyCode
,
"当前用户未绑定公司,无法操作数据,请联系管理员!"
);
try
{
try
{
String
companyCode
;
try
{
companyCode
=
UserSessionUtils
.
getCompanyCode
();
}
catch
(
Exception
e
)
{
companyCode
=
""
;
}
map
.
put
(
"companyCode"
,
companyCode
);
map
.
put
(
"companyCode"
,
companyCode
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
log
.
warn
(
"写入创建人企业编码失败"
,
e
);
log
.
warn
(
"写入创建人企业编码失败"
,
e
);
}
}
// 创建人部门编码
// 创建人部门编码
List
<
String
>
orgIds
=
UserSessionUtils
.
getOrgId
();
AssertUtils
.
isEmpty
(
orgIds
,
"当前用户未绑定部门,无法操作数据,请联系管理员!"
);
try
{
try
{
map
.
put
(
"depCode"
,
HPXSTools
.
XsOrg
.
getOrgId
(
));
map
.
put
(
"depCode"
,
orgIds
.
get
(
0
));
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
log
.
warn
(
"写入创建人企业编码失败"
,
e
);
log
.
warn
(
"写入创建人企业编码失败"
,
e
);
}
}
...
...
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