diff --git a/mcwl-resource/src/main/java/com/mcwl/resource/service/impl/SysUserAttentionServiceImpl.java b/mcwl-resource/src/main/java/com/mcwl/resource/service/impl/SysUserAttentionServiceImpl.java index dac4506..242185a 100644 --- a/mcwl-resource/src/main/java/com/mcwl/resource/service/impl/SysUserAttentionServiceImpl.java +++ b/mcwl-resource/src/main/java/com/mcwl/resource/service/impl/SysUserAttentionServiceImpl.java @@ -18,6 +18,7 @@ import com.mcwl.system.mapper.SysUserMapper; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; +import java.util.ArrayList; import java.util.Date; import java.util.List; @@ -138,6 +139,12 @@ public class SysUserAttentionServiceImpl extends ServiceImpl(new ArrayList()); + } + if (pageVo.getType() == null) { pageVo.setType(userIdMax); @@ -148,12 +155,11 @@ public class SysUserAttentionServiceImpl extends ServiceImpl(sysUserList); @@ -166,6 +172,12 @@ public class SysUserAttentionServiceImpl extends ServiceImpl(new ArrayList()); + } + if (pageVo.getType() == null) { pageVo.setType(userIdMax); @@ -177,12 +189,11 @@ public class SysUserAttentionServiceImpl extends ServiceImpl