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
4cc44f2e
Commit
4cc44f2e
authored
May 21, 2021
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
是否是有人群筛选的页面判断修复
parent
a202ff56
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
1 deletions
+25
-1
AppletPageTypeEnum.java
...om/gic/enterprise/constant/applet/AppletPageTypeEnum.java
+1
-1
AppletCustomPageApiService.java
...om/gic/enterprise/service/AppletCustomPageApiService.java
+7
-0
AppletCustomPageApiServiceImpl.java
...se/service/outer/impl/AppletCustomPageApiServiceImpl.java
+17
-0
No files found.
gic-platform-enterprise-api/src/main/java/com/gic/enterprise/constant/applet/AppletPageTypeEnum.java
View file @
4cc44f2e
...
...
@@ -133,7 +133,7 @@ public enum AppletPageTypeEnum {
if
(
pageType
==
null
)
{
return
false
;
}
if
(
AppletPageTypeEnum
.
INTEGRAL_SERVICE
.
get
Typ
e
()
==
pageType
)
{
if
(
AppletPageTypeEnum
.
INTEGRAL_SERVICE
.
get
Cod
e
()
==
pageType
)
{
return
true
;
}
return
false
;
...
...
gic-platform-enterprise-api/src/main/java/com/gic/enterprise/service/AppletCustomPageApiService.java
View file @
4cc44f2e
...
...
@@ -95,6 +95,13 @@ public interface AppletCustomPageApiService {
ServiceResponse
<
Void
>
setSerialNumber
(
Integer
pageId
,
Integer
serialNumber
);
/**
* 复制页面
* @param pageId
* @return
*/
ServiceResponse
<
Void
>
copyPage
(
Integer
pageId
);
/**
* 开启
* @Title: enable
* @Description:
...
...
gic-platform-enterprise-service/src/main/java/com/gic/enterprise/service/outer/impl/AppletCustomPageApiServiceImpl.java
View file @
4cc44f2e
...
...
@@ -368,6 +368,23 @@ public class AppletCustomPageApiServiceImpl implements AppletCustomPageApiServic
}
@Override
public
ServiceResponse
<
Void
>
copyPage
(
Integer
pageId
)
{
TabAppletCustomPage
record
=
exist
(
pageId
);
TabAppletCustomPage
copy
=
EntityUtil
.
changeEntityNew
(
TabAppletCustomPage
.
class
,
record
);
//新增一个
copy
.
setPageId
(
null
);
//未发布
copy
.
setStatus
(
2
);
Integer
newPageId
=
appletCustomPageService
.
save
(
copy
);
//复制组件数据
List
<
TabAppletPageComponent
>
componentList
=
appletPageComponentService
.
listByPageId
(
pageId
);
if
(
CollectionUtils
.
isNotEmpty
(
componentList
))
{
}
return
ServiceResponse
.
success
();
}
@Override
public
ServiceResponse
<
String
>
enable
(
Integer
pageId
)
{
TabAppletCustomPage
record
=
exist
(
pageId
);
if
(
record
.
getStatus
().
intValue
()
==
1
)
{
...
...
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