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