package com.yaoyuan.jiscuss.service; import java.util.List; import java.util.Map; import com.yaoyuan.jiscuss.entity.Post; import com.yaoyuan.jiscuss.entity.custom.PostCustom; public interface IPostsService { List getAllList(); Post insert(Post post); List findOneBy(Integer id); List findAllByDIdAndparentIdNull(Integer dId); List findAllByDIdAndparentIdNotNull(Integer dId); List findPostCustomById(Integer id); Post findOneByid(Integer parentId); }