| | |
| | | package com.ruoyi.project.system.service.impl;
|
| | |
|
| | | import java.util.Collections;
|
| | | import java.util.List;
|
| | |
|
| | | import com.ruoyi.framework.aspectj.lang.annotation.DataScope;
|
| | | import org.springframework.beans.factory.annotation.Autowired;
|
| | | import org.springframework.stereotype.Service;
|
| | | import com.ruoyi.common.constant.UserConstants;
|
| | |
| | | * @return 岗位信息集合
|
| | | */
|
| | | @Override
|
| | | @DataScope(tenantIdFelid = "p")
|
| | | public List<SysPost> selectPostList(SysPost post)
|
| | | {
|
| | | return postMapper.selectPostList(post);
|
| | |
| | | {
|
| | | return postMapper.updatePost(post);
|
| | | }
|
| | |
|
| | | @Override
|
| | | @DataScope(tenantIdFelid = "p")
|
| | | public List<SysPost> selectPostByTenantId(Long tenantId) {
|
| | | return postMapper.selectPostByTenantId(tenantId);
|
| | | }
|
| | | }
|