Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-enterprise-base
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
base_platform_enterprise
gic-enterprise-base
Commits
a208ead6
Commit
a208ead6
authored
May 09, 2020
by
zhiwj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
审核日志修改
parent
306043ad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
LogUtils.java
...ad/src/main/java/com/gic/download/utils/log/LogUtils.java
+8
-2
No files found.
gic-enterprise-download/src/main/java/com/gic/download/utils/log/LogUtils.java
View file @
a208ead6
...
@@ -78,10 +78,12 @@ public class LogUtils {
...
@@ -78,10 +78,12 @@ public class LogUtils {
* @Description:
* @Description:
* @author guojuxing
* @author guojuxing
* @param content 操作内容
* @param content 操作内容
* @param operationObject 操作对象
* @param operationObject 操作对象
* @param s
* @param auditorPhone
* @return void
* @return void
*/
*/
public
static
void
createLog
(
String
content
,
String
operationObject
,
String
username
,
Integer
enterpriseId
,
String
enterpriseName
)
{
public
static
void
createLog
(
String
content
,
String
operationObject
,
String
username
,
Integer
enterpriseId
,
String
enterpriseName
,
String
phoneAreaCode
,
String
auditorPhone
)
{
UserDetail
userDetail
=
UserDetailUtils
.
getUserDetail
();
UserDetail
userDetail
=
UserDetailUtils
.
getUserDetail
();
final
SystemSetLogDTO
logDTO
=
new
SystemSetLogDTO
();
final
SystemSetLogDTO
logDTO
=
new
SystemSetLogDTO
();
//操作时间
//操作时间
...
@@ -94,6 +96,10 @@ public class LogUtils {
...
@@ -94,6 +96,10 @@ public class LogUtils {
logDTO
.
setContent
(
content
);
logDTO
.
setContent
(
content
);
//
//
logDTO
.
setBusinessName
(
operationObject
);
logDTO
.
setBusinessName
(
operationObject
);
//账号(手机号)
logDTO
.
setRemark1
(
userDetail
.
getUserInfo
().
getPhoneAreaCode
());
logDTO
.
setRemark2
(
userDetail
.
getUserInfo
().
getPhoneNumber
());
//操作模块
//操作模块
// String moduleMenuName = (String) RequestContext.getContext().getRequest().getAttribute("moduleMenuName");
// String moduleMenuName = (String) RequestContext.getContext().getRequest().getAttribute("moduleMenuName");
// Integer moduleMenuId = (Integer) RequestContext.getContext().getRequest().getAttribute("moduleMenuId");
// Integer moduleMenuId = (Integer) RequestContext.getContext().getRequest().getAttribute("moduleMenuId");
...
...
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