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
4ea4a0f4
Commit
4ea4a0f4
authored
Jan 25, 2021
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
小程序管理调整:卡显示改成单选
parent
e164e8d8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
AppletDecorationConfigDTO.java
...ava/com/gic/enterprise/dto/AppletDecorationConfigDTO.java
+7
-5
No files found.
gic-platform-enterprise-api/src/main/java/com/gic/enterprise/dto/AppletDecorationConfigDTO.java
View file @
4ea4a0f4
...
...
@@ -24,7 +24,7 @@ public class AppletDecorationConfigDTO implements Serializable{
private
Integer
enterpriseId
;
/**
* 会员中心页面卡范围,会员卡ID,
英文逗号隔开
* 会员中心页面卡范围,会员卡ID,
改成单选
*/
private
String
memberCardArea
;
...
...
@@ -90,6 +90,10 @@ public class AppletDecorationConfigDTO implements Serializable{
}
public
String
getMemberCardArea
()
{
if
(
memberCardArea
!=
null
)
{
//改成单选
return
memberCardArea
.
split
(
","
)[
0
];
}
return
memberCardArea
;
}
...
...
@@ -156,7 +160,7 @@ public class AppletDecorationConfigDTO implements Serializable{
public
String
getMemberCode
()
{
if
(
memberCode
==
null
)
{
//如果是空的,则默认卡显示数据
return
memberCardArea
;
return
getMemberCardArea
()
;
}
return
memberCode
;
}
...
...
@@ -168,9 +172,7 @@ public class AppletDecorationConfigDTO implements Serializable{
public
String
getMemberPrivilege
()
{
if
(
memberPrivilege
==
null
)
{
if
(
memberCardArea
!=
null
)
{
return
memberCardArea
.
split
(
","
)[
0
];
}
return
getMemberCardArea
();
}
return
memberPrivilege
;
}
...
...
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