类 Y9JobServiceImpl
- java.lang.Object
-
- net.risesoft.service.org.impl.Y9JobServiceImpl
-
- 所有已实现的接口:
Y9JobService
@Service @Transactional(value="rsTenantTransactionManager", readOnly=true) public class Y9JobServiceImpl extends Object implements Y9JobService- 作者:
- sdb, ls
- Date:
- 2022/9/22
-
-
构造器概要
构造器 构造器 说明 Y9JobServiceImpl()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 longcount()计数Y9Jobcreate(String name, String code)voiddelete(List<String> ids)根据id数组删除voiddeleteById(String id)根据id删除Optional<Y9Job>findById(String id)根据id获取职位List<Y9Job>findByPersonId(String personId)根据人员id查找其拥有的职位Y9JobgetById(String id)根据id获取职位List<Y9Job>listAll()获取所有职位List<Y9Job>listByNameLike(String name)根据职位名获取职位List<Y9Job>order(List<String> jobIds)按照tabindexs的顺序重新排序职位列表org.springframework.data.domain.Page<Y9Job>page(Integer page, Integer limit)分页查询职位Y9JobsaveOrUpdate(Y9Job job)保存或更新职位
-
-
-
方法详细资料
-
count
public long count()
从接口复制的说明:Y9JobService计数- 指定者:
count在接口中Y9JobService- 返回:
- long
-
create
@Transactional(readOnly=false) public Y9Job create(String name, String code)
- 指定者:
create在接口中Y9JobService
-
delete
@Transactional(readOnly=false) public void delete(List<String> ids)
从接口复制的说明:Y9JobService根据id数组删除- 指定者:
delete在接口中Y9JobService- 参数:
ids- id数组
-
deleteById
@Transactional(readOnly=false) public void deleteById(String id)
从接口复制的说明:Y9JobService根据id删除- 指定者:
deleteById在接口中Y9JobService- 参数:
id- id
-
findById
public Optional<Y9Job> findById(String id)
从接口复制的说明:Y9JobService根据id获取职位- 指定者:
findById在接口中Y9JobService- 参数:
id- id- 返回:
Y9Job
-
findByPersonId
public List<Y9Job> findByPersonId(String personId)
从接口复制的说明:Y9JobService根据人员id查找其拥有的职位- 指定者:
findByPersonId在接口中Y9JobService- 参数:
personId- 人员ID- 返回:
List<Y9Job>
-
getById
public Y9Job getById(String id)
从接口复制的说明:Y9JobService根据id获取职位- 指定者:
getById在接口中Y9JobService- 参数:
id- id- 返回:
Y9Job
-
listAll
public List<Y9Job> listAll()
从接口复制的说明:Y9JobService获取所有职位- 指定者:
listAll在接口中Y9JobService- 返回:
List<Y9Job>
-
listByNameLike
public List<Y9Job> listByNameLike(String name)
从接口复制的说明:Y9JobService根据职位名获取职位- 指定者:
listByNameLike在接口中Y9JobService- 参数:
name- 名字- 返回:
List<Y9Job>
-
order
@Transactional(readOnly=false) public List<Y9Job> order(List<String> jobIds)
从接口复制的说明:Y9JobService按照tabindexs的顺序重新排序职位列表- 指定者:
order在接口中Y9JobService- 参数:
jobIds- 岗位id- 返回:
List<Y9Job>
-
page
public org.springframework.data.domain.Page<Y9Job> page(Integer page, Integer limit)
从接口复制的说明:Y9JobService分页查询职位- 指定者:
page在接口中Y9JobService- 参数:
page- 页数limit- 每页的行数- 返回:
Page<Y9Job>
-
saveOrUpdate
@Transactional(readOnly=false) public Y9Job saveOrUpdate(Y9Job job)
从接口复制的说明:Y9JobService保存或更新职位- 指定者:
saveOrUpdate在接口中Y9JobService- 参数:
job- 职位- 返回:
Y9Job
-
-