Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
MCMS
Commits
63217382
Commit
63217382
authored
Mar 05, 2019
by
sunxin
Browse files
注释修改
parent
10c3e4c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
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
Supports
Markdown
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