19 lines
384 B
Java
19 lines
384 B
Java
package com.yaoyuan.jiscuss.service;
|
|
|
|
import com.yaoyuan.jiscuss.entity.Post;
|
|
import com.yaoyuan.jiscuss.entity.custom.PostCustom;
|
|
|
|
import java.util.List;
|
|
|
|
public interface IPostsService {
|
|
List<Post> getAllList();
|
|
|
|
Post insert(Post post);
|
|
|
|
List<Post> findOneBy(Integer id);
|
|
|
|
List findPostCustomById(Integer id, String sort);
|
|
|
|
Post findOneByid(Integer parentId);
|
|
}
|