Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
chnmuseum-party
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
liqin
chnmuseum-party
Commits
71ef46a2
Commit
71ef46a2
authored
Apr 26, 2021
by
wzp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
2143a69a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
SystemOperationLogService.java
...chnmuseum/party/common/log/SystemOperationLogService.java
+6
-1
TOrganController.java
...a/cn/chnmuseum/party/web/controller/TOrganController.java
+3
-0
No files found.
src/main/java/cn/chnmuseum/party/common/log/SystemOperationLogService.java
View file @
71ef46a2
...
@@ -107,13 +107,18 @@ public class SystemOperationLogService extends ServiceImpl<SysLogMapper, SysLog>
...
@@ -107,13 +107,18 @@ public class SystemOperationLogService extends ServiceImpl<SysLogMapper, SysLog>
}
}
Object
[]
method_param
=
point
.
getArgs
();
//获取方法参数;
Object
[]
method_param
=
point
.
getArgs
();
//获取方法参数;
if
(
OperModule
.
STBOPERATION
.
getMsg
().
equals
(
methodLog
.
operModule
().
getMsg
()))
{
if
(
OperModule
.
STBOPERATION
.
getMsg
().
equals
(
methodLog
.
operModule
().
getMsg
()))
{
TBoxOperation
t
=
(
TBoxOperation
)
method_param
[
0
];
TOperationLog
operationLog
=
new
TOperationLog
();
TOperationLog
operationLog
=
new
TOperationLog
();
operationLog
.
setCreateTime
(
LocalDateTime
.
now
());
operationLog
.
setCreateTime
(
LocalDateTime
.
now
());
operationLog
.
setUserId
(
user
.
getId
());
operationLog
.
setUserId
(
user
.
getId
());
if
(
user
.
getAreaName
()
!=
null
)
{
if
(
user
.
getAreaName
()
!=
null
)
{
operationLog
.
setArea
(
user
.
getAreaName
());
operationLog
.
setArea
(
user
.
getAreaName
());
}
}
if
(
OperType
.
ACTIVATION
.
getMsg
().
equals
(
methodLog
.
operType
().
getMsg
())&&
"3"
.
equals
(
t
.
getStatus
())){
operationLog
.
setOperationType
(
OperType
.
FAULT
.
getMsg
());
}
else
{
operationLog
.
setOperationType
(
methodLog
.
operType
().
getMsg
());
operationLog
.
setOperationType
(
methodLog
.
operType
().
getMsg
());
}
operationLogService
.
save
(
operationLog
);
operationLogService
.
save
(
operationLog
);
return
method_param
;
return
method_param
;
}
}
...
...
src/main/java/cn/chnmuseum/party/web/controller/TOrganController.java
View file @
71ef46a2
...
@@ -123,6 +123,9 @@ public class TOrganController extends BaseController {
...
@@ -123,6 +123,9 @@ public class TOrganController extends BaseController {
if
(!
byId
.
getParentId
().
equals
(
tOrgan
.
getParentId
()))
{
if
(!
byId
.
getParentId
().
equals
(
tOrgan
.
getParentId
()))
{
tOrgan
.
setCode
(
getOrganCode
(
tOrgan
.
getParentId
()));
tOrgan
.
setCode
(
getOrganCode
(
tOrgan
.
getParentId
()));
}
}
}
else
{
tOrgan
.
setParentId
(
"0"
);
tOrgan
.
setCode
(
getOrganCode
(
tOrgan
.
getParentId
()));
}
}
if
(
StringUtils
.
isNotBlank
(
tOrgan
.
getCode
()))
{
if
(
StringUtils
.
isNotBlank
(
tOrgan
.
getCode
()))
{
if
(
byId
.
getChildren
().
size
()
>
0
)
{
if
(
byId
.
getChildren
().
size
()
>
0
)
{
...
...
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