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
720bf242
Commit
720bf242
authored
Jun 05, 2020
by
陶光胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
回写修改
parent
4e389b89
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
StoreController.java
...ain/java/com/gic/plug/web/controller/StoreController.java
+10
-0
No files found.
src/main/java/com/gic/plug/web/controller/StoreController.java
View file @
720bf242
...
@@ -120,6 +120,16 @@ public class StoreController {
...
@@ -120,6 +120,16 @@ public class StoreController {
storeWidgetDTO
.
setAuthSearchParam
(
storeWidgetQO
.
getAuthSearchParam
());
storeWidgetDTO
.
setAuthSearchParam
(
storeWidgetQO
.
getAuthSearchParam
());
storeWidgetDTO
.
setSearchParam
(
storeWidgetQO
.
getSearchParam
());
storeWidgetDTO
.
setSearchParam
(
storeWidgetQO
.
getSearchParam
());
storeWidgetDTO
.
setStoreWidgetId
(
storeWidgetQO
.
getStoreWidgetId
());
storeWidgetDTO
.
setStoreWidgetId
(
storeWidgetQO
.
getStoreWidgetId
());
if
(
storeWidgetQO
.
getStoreWidgetId
()!=
null
){
StoreWidgetDTO
old
=
this
.
storeWidgetApiService
.
getStoreWidget
(
storeWidgetQO
.
getStoreWidgetId
()).
getResult
();
if
(
old
!=
null
){
if
(
StringUtils
.
isNotBlank
(
storeWidgetQO
.
getAuthSearchParam
())
&&
!
storeWidgetQO
.
getAuthSearchParam
().
equals
(
old
.
getAuthSearchParam
())){
storeWidgetDTO
.
setStoreWidgetId
(
null
);
}
else
if
(
StringUtils
.
isBlank
(
storeWidgetQO
.
getAuthSearchParam
())
&&
StringUtils
.
isNotBlank
(
storeWidgetQO
.
getAuthSearchParam
())){
storeWidgetDTO
.
setStoreWidgetId
(
null
);
}
}
}
storeWidgetDTO
.
setWriteBackParam
(
storeWidgetQO
.
getWriteBackParam
());
storeWidgetDTO
.
setWriteBackParam
(
storeWidgetQO
.
getWriteBackParam
());
storeWidgetDTO
.
setAuthMode
(
storeWidgetQO
.
getAuthMode
());
storeWidgetDTO
.
setAuthMode
(
storeWidgetQO
.
getAuthMode
());
ServiceResponse
<
Integer
>
storeWidgetResponse
=
this
.
storeWidgetApiService
.
saveAuthStoreWidget
(
storeWidgetDTO
);
ServiceResponse
<
Integer
>
storeWidgetResponse
=
this
.
storeWidgetApiService
.
saveAuthStoreWidget
(
storeWidgetDTO
);
...
...
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