update [重大更新]全业务 增加 接口文档注解 格式化代码

This commit is contained in:
疯狂的狮子li
2021-10-15 15:19:42 +08:00
parent bb43b2853d
commit a6fb88d74c
115 changed files with 2600 additions and 2868 deletions

View File

@ -9,7 +9,7 @@ import java.util.List;
/**
* 岗位信息 服务层
*
* @author ruoyi
* @author Lion Li
*/
public interface ISysPostService extends IService<SysPost> {
@ -22,14 +22,14 @@ public interface ISysPostService extends IService<SysPost> {
* @param post 岗位信息
* @return 岗位列表
*/
public List<SysPost> selectPostList(SysPost post);
List<SysPost> selectPostList(SysPost post);
/**
* 查询所有岗位
*
* @return 岗位列表
*/
public List<SysPost> selectPostAll();
List<SysPost> selectPostAll();
/**
* 通过岗位ID查询岗位信息
@ -37,7 +37,7 @@ public interface ISysPostService extends IService<SysPost> {
* @param postId 岗位ID
* @return 角色对象信息
*/
public SysPost selectPostById(Long postId);
SysPost selectPostById(Long postId);
/**
* 根据用户ID获取岗位选择框列表
@ -45,7 +45,7 @@ public interface ISysPostService extends IService<SysPost> {
* @param userId 用户ID
* @return 选中岗位ID列表
*/
public List<Integer> selectPostListByUserId(Long userId);
List<Integer> selectPostListByUserId(Long userId);
/**
* 校验岗位名称
@ -53,7 +53,7 @@ public interface ISysPostService extends IService<SysPost> {
* @param post 岗位信息
* @return 结果
*/
public String checkPostNameUnique(SysPost post);
String checkPostNameUnique(SysPost post);
/**
* 校验岗位编码
@ -61,7 +61,7 @@ public interface ISysPostService extends IService<SysPost> {
* @param post 岗位信息
* @return 结果
*/
public String checkPostCodeUnique(SysPost post);
String checkPostCodeUnique(SysPost post);
/**
* 通过岗位ID查询岗位使用数量
@ -69,7 +69,7 @@ public interface ISysPostService extends IService<SysPost> {
* @param postId 岗位ID
* @return 结果
*/
public long countUserPostById(Long postId);
long countUserPostById(Long postId);
/**
* 删除岗位信息
@ -77,7 +77,7 @@ public interface ISysPostService extends IService<SysPost> {
* @param postId 岗位ID
* @return 结果
*/
public int deletePostById(Long postId);
int deletePostById(Long postId);
/**
* 批量删除岗位信息
@ -86,7 +86,7 @@ public interface ISysPostService extends IService<SysPost> {
* @return 结果
* @throws Exception 异常
*/
public int deletePostByIds(Long[] postIds);
int deletePostByIds(Long[] postIds);
/**
* 新增保存岗位信息
@ -94,7 +94,7 @@ public interface ISysPostService extends IService<SysPost> {
* @param post 岗位信息
* @return 结果
*/
public int insertPost(SysPost post);
int insertPost(SysPost post);
/**
* 修改保存岗位信息
@ -102,5 +102,5 @@ public interface ISysPostService extends IService<SysPost> {
* @param post 岗位信息
* @return 结果
*/
public int updatePost(SysPost post);
int updatePost(SysPost post);
}