You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tcZz-java/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysPostService.java

101 lines
2.1 KiB

5 years ago
package com.ruoyi.system.service;
6 years ago
import java.util.List;
5 years ago
import com.ruoyi.system.domain.SysPost;
6 years ago
/**
*
*
* @author ruoyi
*/
public interface ISysPostService
{
/**
*
*
* @param post
* @return
*/
public List<SysPost> selectPostList(SysPost post);
/**
*
*
* @return
*/
public List<SysPost> selectPostAll();
/**
* ID
*
* @param postId ID
* @return
*/
public SysPost selectPostById(Long postId);
/**
* ID
*
* @param userId ID
* @return ID
*/
public List<Long> selectPostListByUserId(Long userId);
6 years ago
/**
*
*
* @param post
* @return
*/
public String checkPostNameUnique(SysPost post);
/**
*
*
* @param post
* @return
*/
public String checkPostCodeUnique(SysPost post);
6 years ago
/**
* ID使
*
* @param postId ID
* @return
*/
public int countUserPostById(Long postId);
6 years ago
/**
*
*
* @param postId ID
* @return
*/
public int deletePostById(Long postId);
6 years ago
/**
*
*
* @param postIds ID
* @return
* @throws Exception
*/
public int deletePostByIds(Long[] postIds);
6 years ago
/**
*
*
* @param post
* @return
*/
public int insertPost(SysPost post);
/**
*
*
* @param post
* @return
*/
public int updatePost(SysPost post);
}