package com.ots.project.system.post.service;
|
import com.ots.project.system.post.domain.Post;
|
import java.util.List;
|
|
public interface IPostService {
|
|
public List<Post> selectPostList(Post post);
|
|
public List<Post> selectPostAll();
|
|
public List<Post> selectPostsByUserId(Long userId);
|
|
public Post selectPostById(Long postId);
|
|
public int deletePostByIds(String ids) throws Exception;
|
|
public int insertPost(Post post);
|
|
public int updatePost(Post post);
|
|
public int countUserPostById(Long postId);
|
|
public String checkPostNameUnique(Post post);
|
|
public String checkPostCodeUnique(Post post);
|
}
|