package com.ots.project.system.post.mapper;
|
import com.ots.project.system.post.domain.Post;
|
import java.util.List;
|
|
public interface PostMapper {
|
|
public List<Post> selectPostList(Post post);
|
|
public List<Post> selectPostAll();
|
|
public List<Post> selectPostsByUserId(Long userId);
|
|
public Post selectPostById(Long postId);
|
|
public int deletePostByIds(Long[] ids);
|
|
public int updatePost(Post post);
|
|
public int insertPost(Post post);
|
|
public Post checkPostNameUnique(String postName);
|
|
public Post checkPostCodeUnique(String postCode);
|
}
|