Commit 688d10b7 by 阳浪

nacos地址切换

parent 2f79f68b
......@@ -933,7 +933,7 @@ public class InformationServiceImpl extends ServiceImpl<InformationMapper, Infor
list = informationMapper.informationFirstList(infomationParamVO, page);
} else {
DataClassification selectByParentId = dataClassificationService.selectById(selectById.getParentId());
if (selectByParentId == null || selectById.getParentId() == 0) {
if (selectByParentId == null || selectByParentId.getParentId() == 0) {
list = informationMapper.informationTwoList(infomationParamVO, page);//新闻分类列表
} else {
list = informationMapper.informationThreeList(infomationParamVO, page);//新闻分类列表
......@@ -1002,7 +1002,7 @@ public class InformationServiceImpl extends ServiceImpl<InformationMapper, Infor
list = informationMapper.informationFirstList(vo, page);
} else {
DataClassification selectByParentId = dataClassificationService.selectById(selectById.getParentId());
if (selectByParentId == null || selectById.getParentId() == 0) {
if (selectByParentId == null || selectByParentId.getParentId() == 0) {
list = informationMapper.informationTwoList(vo, page);//新闻分类列表
} else {
list = informationMapper.informationThreeList(vo, page);//新闻分类列表
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment