Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
cms_sys
Project
Project
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
西魏
cms_sys
Commits
63217382
Commit
63217382
authored
Mar 05, 2019
by
sunxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
注释修改
parent
10c3e4c9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
CmsParserUtil.java
src/main/java/net/mingsoft/cms/util/CmsParserUtil.java
+2
-2
No files found.
src/main/java/net/mingsoft/cms/util/CmsParserUtil.java
View file @
63217382
...
@@ -213,7 +213,7 @@ public class CmsParserUtil extends ParserUtil {
...
@@ -213,7 +213,7 @@ public class CmsParserUtil extends ParserUtil {
// 第一篇文章没有上一篇
// 第一篇文章没有上一篇
if
(
ai
>
0
)
{
if
(
ai
>
0
)
{
ColumnArticleIdBean
preCaBean
=
articleIdList
.
get
(
ai
-
1
);
ColumnArticleIdBean
preCaBean
=
articleIdList
.
get
(
ai
-
1
);
//判断当前文档是否与上一页文
档
在同一栏目下,并且不能使用父栏目字符串,因为父栏目中没有所属栏目编号
//判断当前文档是否与上一页文
章
在同一栏目下,并且不能使用父栏目字符串,因为父栏目中没有所属栏目编号
if
(
articleColumnPath
.
contains
(
preCaBean
.
getCategoryId
()+
""
)){
if
(
articleColumnPath
.
contains
(
preCaBean
.
getCategoryId
()+
""
)){
parserParams
.
put
(
PRE_ID
,
preCaBean
.
getArticleId
());
parserParams
.
put
(
PRE_ID
,
preCaBean
.
getArticleId
());
}
}
...
@@ -221,7 +221,7 @@ public class CmsParserUtil extends ParserUtil {
...
@@ -221,7 +221,7 @@ public class CmsParserUtil extends ParserUtil {
// 最后一篇文章没有下一篇
// 最后一篇文章没有下一篇
if
(
ai
+
1
<
articleIdList
.
size
())
{
if
(
ai
+
1
<
articleIdList
.
size
())
{
ColumnArticleIdBean
nextCaBean
=
articleIdList
.
get
(
ai
+
1
);
ColumnArticleIdBean
nextCaBean
=
articleIdList
.
get
(
ai
+
1
);
//判断当前文档是否与
上一页文档
在同一栏目下并且不能使用父栏目字符串,因为父栏目中没有所属栏目编号
//判断当前文档是否与
下一页文章
在同一栏目下并且不能使用父栏目字符串,因为父栏目中没有所属栏目编号
if
(
articleColumnPath
.
contains
(
nextCaBean
.
getCategoryId
()+
""
)){
if
(
articleColumnPath
.
contains
(
nextCaBean
.
getCategoryId
()+
""
)){
parserParams
.
put
(
NEXT_ID
,
nextCaBean
.
getArticleId
());
parserParams
.
put
(
NEXT_ID
,
nextCaBean
.
getArticleId
());
}
}
...
...
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