Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-platform-auth
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-platform-auth
Commits
d2d4297c
Commit
d2d4297c
authored
Mar 27, 2020
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
日志查询接口修改
parent
4ce4d032
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
41 deletions
+29
-41
MenuController.java
...main/java/com/gic/auth/web/controller/MenuController.java
+2
-21
LogListVO.java
...auth-web/src/main/java/com/gic/auth/web/vo/LogListVO.java
+27
-20
No files found.
gic-platform-auth-web/src/main/java/com/gic/auth/web/controller/MenuController.java
View file @
d2d4297c
...
...
@@ -201,7 +201,7 @@ public class MenuController {
Integer
enterpriseId
=
UserDetailUtils
.
getUserDetail
().
getEnterpriseId
();
LogSearchDTO
searchParam
=
new
LogSearchDTO
();
searchParam
.
setEnterpriseId
(
Stri
ng
.
valueOf
(
enterpriseId
));
searchParam
.
setEnterpriseId
(
Lo
ng
.
valueOf
(
enterpriseId
));
searchParam
.
setInterfaceName
(
search
);
if
(
menuId
!=
null
)
{
searchParam
.
setRelationId
(
Long
.
valueOf
(
menuId
));
...
...
@@ -219,26 +219,7 @@ public class MenuController {
ServiceResponse
<
Page
<
SystemSetLogDTO
>>
response
=
logApiService
.
listSystemSetLog
(
pageQO
.
getCurrentPage
(),
pageQO
.
getPageSize
(),
searchParam
);
Page
<
LogListVO
>
result
=
new
Page
<>();
if
(
response
.
isSuccess
())
{
Page
<
SystemSetLogDTO
>
pageResult
=
response
.
getResult
();
List
<
SystemSetLogDTO
>
list
=
pageResult
.
getResult
();
if
(
CollectionUtils
.
isNotEmpty
(
list
))
{
List
<
LogListVO
>
voList
=
new
ArrayList
<>(
list
.
size
());
result
=
EntityUtil
.
changeEntityNew
(
Page
.
class
,
pageResult
);
for
(
SystemSetLogDTO
logDTO
:
list
)
{
LogListVO
vo
=
EntityUtil
.
changeEntityNew
(
LogListVO
.
class
,
logDTO
);
vo
.
setNationCode
(
logDTO
.
getRemark1
());
vo
.
setPhone
(
logDTO
.
getRemark2
());
voList
.
add
(
vo
);
vo
.
setOperationObject
(
logDTO
.
getBusinessName
());
}
result
.
setResult
(
voList
);
}
}
return
RestResponse
.
success
(
result
);
return
ResultControllerUtils
.
commonPageResult
(
response
,
LogListVO
.
class
);
}
public
static
List
<
Map
<
String
,
Object
>>
changePageListToTree
(
int
storeGroupId
,
List
<
MenuDTO
>
list
)
{
...
...
gic-platform-auth-web/src/main/java/com/gic/auth/web/vo/LogListVO.java
View file @
d2d4297c
...
...
@@ -39,10 +39,9 @@ public class LogListVO implements Serializable{
*/
private
Long
relationId
;
/**
*
*/
private
String
operationObject
;
private
String
businessName
;
private
String
remark1
;
private
String
remark2
;
public
Long
getLogId
()
{
return
logId
;
...
...
@@ -72,21 +71,11 @@ public class LogListVO implements Serializable{
}
public
String
getNationCode
()
{
return
nationCode
;
}
public
LogListVO
setNationCode
(
String
nationCode
)
{
this
.
nationCode
=
nationCode
;
return
this
;
return
remark1
;
}
public
String
getPhone
()
{
return
phone
;
}
public
LogListVO
setPhone
(
String
phone
)
{
this
.
phone
=
phone
;
return
this
;
return
remark2
;
}
public
String
getProject
()
{
...
...
@@ -134,12 +123,30 @@ public class LogListVO implements Serializable{
return
this
;
}
public
String
getOperationObject
()
{
return
operationObject
;
public
String
getBusinessName
()
{
return
businessName
;
}
public
LogListVO
setBusinessName
(
String
businessName
)
{
this
.
businessName
=
businessName
;
return
this
;
}
public
String
getRemark1
()
{
return
remark1
;
}
public
LogListVO
setRemark1
(
String
remark1
)
{
this
.
remark1
=
remark1
;
return
this
;
}
public
String
getRemark2
()
{
return
remark2
;
}
public
LogListVO
set
OperationObject
(
String
operationObject
)
{
this
.
operationObject
=
operationObject
;
public
LogListVO
set
Remark2
(
String
remark2
)
{
this
.
remark2
=
remark2
;
return
this
;
}
}
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