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
93065f6f
Commit
93065f6f
authored
Mar 05, 2020
by
何文超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix
parent
69617185
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
GoodsSelectorController.java
...ic/plug/web/controller/goods/GoodsSelectorController.java
+4
-0
No files found.
src/main/java/com/gic/plug/web/controller/goods/GoodsSelectorController.java
View file @
93065f6f
...
...
@@ -13,6 +13,7 @@ import com.gic.goods.api.dto.GoodsSelectorDTO;
import
com.gic.goods.api.service.GoodsRightsSelectorApiService
;
import
com.gic.goods.api.service.GoodsSelectorApiService
;
import
com.gic.goods.api.util.Constant
;
import
com.gic.mall.base.api.enums.ErrorCodeEnums
;
import
com.gic.plug.web.qo.goods.GoodsSelectorSaveQO
;
import
com.gic.plug.web.qo.goods.GoodsSelectorUpdateQO
;
import
com.gic.plug.web.vo.goods.GoodsSelectorVO
;
...
...
@@ -103,6 +104,9 @@ public class GoodsSelectorController {
if
(
goodsSelectorId
==
null
)
{
ServiceResponse
<
GoodsRightsSelectorDTO
>
serviceResponse
=
goodsRightsSelectorApiService
.
getGoodsRightsSelector
(
UserDetailUtils
.
getUserDetail
().
getUserResourceInfo
().
getGoodsResourceId
(),
Constant
.
TEST_ENTERPRISE_ID
);
if
(
serviceResponse
.
getResult
()
==
null
)
{
return
RestResponse
.
failure
(
ErrorCodeEnums
.
MAll_ERR
.
getCode
(),
"没有权限"
);
}
GoodsRightsSelectorDTO
goodsRightsSelectorDTO
=
new
GoodsRightsSelectorDTO
();
goodsRightsSelectorDTO
.
setHasRights
(
serviceResponse
.
getResult
().
getHasRights
());
goodsRightsSelectorDTO
.
setGoodsRightsSearchText
(
serviceResponse
.
getResult
().
getGoodsRightsSearchText
());
...
...
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