| | |
| | | package com.ruoyi.project.system.mapper;
|
| | |
|
| | | import java.util.List;
|
| | |
|
| | | import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
|
| | | import com.ruoyi.project.system.domain.SysPost;
|
| | | import org.apache.ibatis.annotations.Param;
|
| | |
|
| | | /**
|
| | | * 岗位信息 数据层
|
| | |
| | | * @param postId 岗位ID
|
| | | * @return 结果
|
| | | */
|
| | | @InterceptorIgnore(tenantLine = "true")
|
| | | public int deletePostById(Long postId);
|
| | |
|
| | | /**
|
| | |
| | | * @param postIds 需要删除的岗位ID
|
| | | * @return 结果
|
| | | */
|
| | | @InterceptorIgnore(tenantLine = "true")
|
| | | public int deletePostByIds(Long[] postIds);
|
| | |
|
| | | /**
|
| | |
| | | * @param post 岗位信息
|
| | | * @return 结果
|
| | | */
|
| | | @InterceptorIgnore(tenantLine = "true")
|
| | | public int updatePost(SysPost post);
|
| | |
|
| | | /**
|
| | |
| | | * @param post 岗位信息
|
| | | * @return 结果
|
| | | */
|
| | | @InterceptorIgnore(tenantLine = "true")
|
| | | public int insertPost(SysPost post);
|
| | |
|
| | | /**
|
| | |
| | | * @return 结果
|
| | | */
|
| | | public SysPost checkPostCodeUnique(String postCode);
|
| | |
|
| | | List<SysPost> selectPostByTenantId(@Param("tenantId") Long tenantId);
|
| | | }
|