|
|
@ -15,6 +15,7 @@ import org.apache.commons.lang3.StringUtils; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
|
|
|
|
import java.util.Collections; |
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
/** |
|
|
@ -150,6 +151,7 @@ public class SysPostService extends MybatisBaseService<SysPostMapper, SysPost> { |
|
|
|
qw.like("post.name", name); |
|
|
|
} |
|
|
|
List<SysPostAllVo> list = baseMapper.getAllPost(qw); |
|
|
|
return null; |
|
|
|
list.removeAll(Collections.singleton(null)); |
|
|
|
return rb.success().setData(list); |
|
|
|
} |
|
|
|
} |