[测评系统]--测评系统核心代码库
林致杰
2022-06-26 99f7f9adac08f3a3fa3211f7a6062c26d62fa224
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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);
}