Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-webapp-plug
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-webapp-plug
Commits
68fd06b5
Commit
68fd06b5
authored
Aug 26, 2020
by
何文超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixbug
parent
07a8b5ea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
GoodsDomainController.java
.../gic/plug/web/controller/goods/GoodsDomainController.java
+3
-2
No files found.
src/main/java/com/gic/plug/web/controller/goods/GoodsDomainController.java
View file @
68fd06b5
...
@@ -43,7 +43,8 @@ public class GoodsDomainController extends BaseGoodsController {
...
@@ -43,7 +43,8 @@ public class GoodsDomainController extends BaseGoodsController {
*/
*/
@RequestMapping
(
"/get-all-goods-domain-list-for-rights"
)
@RequestMapping
(
"/get-all-goods-domain-list-for-rights"
)
public
RestResponse
getAllGoodsDomainListForRights
()
{
public
RestResponse
getAllGoodsDomainListForRights
()
{
ServiceResponse
<
List
<
GoodsDomainDTO
>>
serviceResponse
=
goodsDomainApiService
.
listAll
(
getEnterpriseId
(),
null
);
ServiceResponse
<
List
<
GoodsDomainDTO
>>
serviceResponse
=
goodsDomainApiService
.
listAll
(
getEnterpriseId
(),
(
Integer
)
null
);
if
(!
serviceResponse
.
isSuccess
())
{
if
(!
serviceResponse
.
isSuccess
())
{
return
RestResponse
.
failure
(
serviceResponse
.
getCode
(),
serviceResponse
.
getMessage
());
return
RestResponse
.
failure
(
serviceResponse
.
getCode
(),
serviceResponse
.
getMessage
());
}
}
...
@@ -82,7 +83,7 @@ public class GoodsDomainController extends BaseGoodsController {
...
@@ -82,7 +83,7 @@ public class GoodsDomainController extends BaseGoodsController {
goodsDomian
=
selectorDTOServiceResponse
.
getResult
().
getGoodsRightsDomains
();
goodsDomian
=
selectorDTOServiceResponse
.
getResult
().
getGoodsRightsDomains
();
hasRights
=
selectorDTOServiceResponse
.
getResult
().
getHasRights
();
hasRights
=
selectorDTOServiceResponse
.
getResult
().
getHasRights
();
}
}
ServiceResponse
<
List
<
GoodsDomainDTO
>>
serviceResponse
=
goodsDomainApiService
.
listAll
(
getEnterpriseId
(),
null
);
ServiceResponse
<
List
<
GoodsDomainDTO
>>
serviceResponse
=
goodsDomainApiService
.
listAll
(
getEnterpriseId
(),
(
Integer
)
null
);
// 是否最高权限
// 是否最高权限
boolean
isHighestRights
=
true
;
boolean
isHighestRights
=
true
;
JSONObject
json
=
null
;
JSONObject
json
=
null
;
...
...
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