Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
midjourney-proxy
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
徐少华
midjourney-proxy
Commits
ca5ef5e3
Commit
ca5ef5e3
authored
Sep 09, 2021
by
朱亚洁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug:[none]保存空页面
parent
f73976be
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ResourcePageBizImpl.java
...a/com/pcloud/book/group/biz/impl/ResourcePageBizImpl.java
+2
-2
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/group/biz/impl/ResourcePageBizImpl.java
View file @
ca5ef5e3
...
@@ -1257,6 +1257,8 @@ public class ResourcePageBizImpl implements ResourcePageBiz {
...
@@ -1257,6 +1257,8 @@ public class ResourcePageBizImpl implements ResourcePageBiz {
Long
resourcePageId
=
this
.
updateResourcePage
(
updateResourcePageVO
);
Long
resourcePageId
=
this
.
updateResourcePage
(
updateResourcePageVO
);
//当前所有栏目
//当前所有栏目
List
<
Long
>
originColumnIds
=
resourcePageColumnDao
.
getColumnIdsByPageId
(
resourcePageId
);
List
<
Long
>
originColumnIds
=
resourcePageColumnDao
.
getColumnIdsByPageId
(
resourcePageId
);
//删除栏目资源
resourcePageItemDao
.
deleteByPageId
(
resourcePageId
);
if
(!
ListUtils
.
isEmpty
(
updateResourcePageVO
.
getColumnVOS
()))
{
if
(!
ListUtils
.
isEmpty
(
updateResourcePageVO
.
getColumnVOS
()))
{
List
<
UpdateResourceColumnVO
>
list
=
updateResourcePageVO
.
getColumnVOS
();
List
<
UpdateResourceColumnVO
>
list
=
updateResourcePageVO
.
getColumnVOS
();
List
<
Long
>
columnIds
=
new
ArrayList
<>();
List
<
Long
>
columnIds
=
new
ArrayList
<>();
...
@@ -1283,8 +1285,6 @@ public class ResourcePageBizImpl implements ResourcePageBiz {
...
@@ -1283,8 +1285,6 @@ public class ResourcePageBizImpl implements ResourcePageBiz {
throw
new
BookBizException
(
BookBizException
.
PARAM_IS_NULL
,
"弹窗式公众号只能配置一个"
);
throw
new
BookBizException
(
BookBizException
.
PARAM_IS_NULL
,
"弹窗式公众号只能配置一个"
);
}
}
}
}
//栏目资源
resourcePageItemDao
.
deleteByPageId
(
resourcePageId
);
for
(
UpdateResourceColumnVO
columnVO
:
list
)
{
for
(
UpdateResourceColumnVO
columnVO
:
list
)
{
this
.
updateResourceColumn
(
columnVO
);
this
.
updateResourceColumn
(
columnVO
);
}
}
...
...
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