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
b0204398
Commit
b0204398
authored
Sep 16, 2019
by
陶光胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
回写修改
parent
6adf9bd7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
ScreeningController.java
...java/com/gic/plug/web/controller/ScreeningController.java
+6
-0
StoreController.java
...ain/java/com/gic/plug/web/controller/StoreController.java
+3
-3
No files found.
src/main/java/com/gic/plug/web/controller/ScreeningController.java
View file @
b0204398
...
...
@@ -150,4 +150,10 @@ public class ScreeningController {
}
return
RestResponse
.
success
(
backMessage
.
toString
());
}
@RequestMapping
(
"save-store-widget"
)
@ResponseBody
public
RestResponse
saveStoreWidget
(
String
searchParam
,
String
writeBackParam
){
return
null
;
}
}
src/main/java/com/gic/plug/web/controller/StoreController.java
View file @
b0204398
...
...
@@ -5,7 +5,7 @@ import com.gic.commons.util.EntityUtil;
import
com.gic.commons.webapi.reponse.RestResponse
;
import
com.gic.plug.web.vo.StoreRegionVO
;
import
com.gic.plug.web.vo.StoreVO
;
import
com.gic.store.dto.StoreDTO
;
import
com.gic.store.dto.Store
Info
DTO
;
import
com.gic.store.dto.StoreRegionDTO
;
import
com.gic.store.service.StoreApiService
;
import
com.gic.store.service.StoreRegionApiService
;
...
...
@@ -43,9 +43,9 @@ public class StoreController {
@RequestMapping
(
"/list-part-store"
)
public
RestResponse
listPartStore
(
Integer
storeGroupId
,
String
search
)
{
Integer
enterpriseId
=
1111
;
ServiceResponse
<
List
<
StoreDTO
>>
serviceResponse
=
storeApiService
.
listPartStore
(
enterpriseId
,
storeGroupId
,
search
);
ServiceResponse
<
List
<
Store
Info
DTO
>>
serviceResponse
=
storeApiService
.
listPartStore
(
enterpriseId
,
storeGroupId
,
search
);
if
(
serviceResponse
.
isSuccess
())
{
List
<
StoreDTO
>
result
=
serviceResponse
.
getResult
();
List
<
Store
Info
DTO
>
result
=
serviceResponse
.
getResult
();
return
RestResponse
.
success
(
EntityUtil
.
changeEntityListByOrika
(
StoreVO
.
class
,
result
));
}
else
{
return
RestResponse
.
failure
(
serviceResponse
.
getCode
(),
serviceResponse
.
getMessage
());
...
...
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