Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-platform-enterprise
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-enterprise
Commits
a120359d
Commit
a120359d
authored
Apr 27, 2020
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
微盟店铺列表添加字段还未配置的项目列表
parent
977e6b31
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
0 deletions
+21
-0
WmMallStoreController.java
...c/enterprise/web/controller/wm/WmMallStoreController.java
+5
-0
WmStoreVO.java
...src/main/java/com/gic/enterprise/web/vo/wm/WmStoreVO.java
+16
-0
No files found.
gic-platform-enterprise-web/src/main/java/com/gic/enterprise/web/controller/wm/WmMallStoreController.java
View file @
a120359d
...
...
@@ -75,6 +75,11 @@ public class WmMallStoreController {
if
(
isAllConfig
){
vo
.
setHasCompleteConfig
(
1
);
}
//还未配置的项目
vo
.
setHasNotConfig
(
Stream
.
of
(
WmStoreConfigTypeEnum
.
values
())
.
filter
(
configItem
->
!
set
.
contains
(
String
.
valueOf
(
configItem
.
getCode
())))
.
map
(
configItem
->
configItem
.
getCode
())
.
collect
(
Collectors
.
toList
()));
}
return
vo
;
})
...
...
gic-platform-enterprise-web/src/main/java/com/gic/enterprise/web/vo/wm/WmStoreVO.java
View file @
a120359d
package
com
.
gic
.
enterprise
.
web
.
vo
.
wm
;
import
java.io.Serializable
;
import
java.util.List
;
/**
* 微盟店铺列表
* @ClassName: WmStoreVO
...
...
@@ -56,6 +58,11 @@ public class WmStoreVO implements Serializable{
*/
private
Integer
hasCompleteConfig
;
/**
* 还未配置的项目 WmStoreConfigTypeEnum枚举
*/
private
List
<
Integer
>
hasNotConfig
;
public
String
getWmMainAccount
()
{
return
wmMainAccount
;
}
...
...
@@ -136,4 +143,13 @@ public class WmStoreVO implements Serializable{
this
.
wmMallStoreId
=
wmMallStoreId
;
return
this
;
}
public
List
<
Integer
>
getHasNotConfig
()
{
return
hasNotConfig
;
}
public
WmStoreVO
setHasNotConfig
(
List
<
Integer
>
hasNotConfig
)
{
this
.
hasNotConfig
=
hasNotConfig
;
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