扫描更新

master
cheney 2 years ago
parent 89019922ff
commit 013178aeb1
  1. 2
      src/main/java/com/huoran/iasf/service/impl/SysColumnServiceImpl.java
  2. 2
      src/main/java/com/huoran/iasf/service/impl/SysContentServiceImpl.java

@ -95,7 +95,7 @@ public class SysColumnServiceImpl extends ServiceImpl<SysColumnMapper, SysColumn
if(column.getRole()==null){
}else if (column.getRole()!=null&&column.getRole().equals("admin") || ObjectUtil.isNotNull(column.isIsadmin()) && column.isIsadmin()){
}else if (column.getRole()!=null||column.getRole().equals("admin") || ObjectUtil.isNotNull(column.isIsadmin()) || column.isIsadmin()){
throw new IllegalArgumentException("参数名不能包含admin");
}
//查询所有栏目

@ -82,7 +82,7 @@ public class SysContentServiceImpl extends ServiceImpl<SysContentMapper, SysCont
public R newlyPublishedArticles(PageContentReqVO reqVO) {
if(reqVO.getRole()==null){
}else if (reqVO.getRole()!=null&&reqVO.getRole().equals("admin") || ObjectUtil.isNotNull(reqVO.isIsadmin()) && reqVO.isIsadmin()){
}else if (reqVO.getRole()!=null||reqVO.getRole().equals("admin") || ObjectUtil.isNotNull(reqVO.isIsadmin()) || reqVO.isIsadmin()){
throw new IllegalArgumentException("参数名不能包含admin");
}
Page<PageContentRespVO> page = new Page<PageContentRespVO>(reqVO.getPageNum(), reqVO.getPageSize());

Loading…
Cancel
Save