类 Y9CustomGroupServiceImpl
- java.lang.Object
-
- net.risesoft.service.org.impl.Y9CustomGroupServiceImpl
-
- 所有已实现的接口:
Y9CustomGroupService
@Service @Transactional(value="rsTenantTransactionManager", readOnly=true) public class Y9CustomGroupServiceImpl extends Object implements Y9CustomGroupService- 作者:
- dingzhaojun, qinman, mengjuhua
- Date:
- 2022/2/10
-
-
构造器概要
构造器 构造器 说明 Y9CustomGroupServiceImpl()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voiddelete(List<String> idList)删除用户组Optional<Y9CustomGroup>findByCustomId(String customId)根据自定义id查找用户组Optional<Y9CustomGroup>findById(String id)根据id查找自定义用户组Y9CustomGroupgetById(String id)根据id获取自定义用户组List<Y9CustomGroup>listByPersonId(String personId)根据人员id获取所有自定义群组org.springframework.data.domain.Page<Y9CustomGroup>pageByPersonId(String personId, net.risesoft.pojo.Y9PageQuery pageQuery)获取自定用户组列表Y9CustomGroupsave(Y9CustomGroup y9CustomGroup)保存用户组booleansaveCustomGroupOrder(List<String> sortIdList)保存用户组排序Y9CustomGroupsaveOrUpdate(String personId, List<String> personIdList, String groupId, String groupName)保存用户组Y9CustomGroupshare(String personId, String groupId)booleanshare(List<String> personIds, List<String> groupIds)共享用户组
-
-
-
方法详细资料
-
delete
@Transactional(readOnly=false) public void delete(List<String> idList)
从接口复制的说明:Y9CustomGroupService删除用户组- 指定者:
delete在接口中Y9CustomGroupService- 参数:
idList- id集合
-
findByCustomId
public Optional<Y9CustomGroup> findByCustomId(String customId)
从接口复制的说明:Y9CustomGroupService根据自定义id查找用户组- 指定者:
findByCustomId在接口中Y9CustomGroupService- 参数:
customId- 自定义id- 返回:
Y9CustomGroup
-
findById
public Optional<Y9CustomGroup> findById(String id)
从接口复制的说明:Y9CustomGroupService根据id查找自定义用户组- 指定者:
findById在接口中Y9CustomGroupService- 参数:
id- 唯一标识- 返回:
- 自定义用户组对象 或 null
-
getById
public Y9CustomGroup getById(String id)
从接口复制的说明:Y9CustomGroupService根据id获取自定义用户组- 指定者:
getById在接口中Y9CustomGroupService- 参数:
id- 唯一标识- 返回:
- 自定义用户组对象
-
listByPersonId
public List<Y9CustomGroup> listByPersonId(String personId)
从接口复制的说明:Y9CustomGroupService根据人员id获取所有自定义群组- 指定者:
listByPersonId在接口中Y9CustomGroupService- 参数:
personId- 人员id- 返回:
List<Y9CustomGroup>
-
pageByPersonId
public org.springframework.data.domain.Page<Y9CustomGroup> pageByPersonId(String personId, net.risesoft.pojo.Y9PageQuery pageQuery)
从接口复制的说明:Y9CustomGroupService获取自定用户组列表- 指定者:
pageByPersonId在接口中Y9CustomGroupService- 参数:
personId- 人员id- 返回:
Page<Y9CustomGroup>
-
save
@Transactional(readOnly=false) public Y9CustomGroup save(Y9CustomGroup y9CustomGroup)
从接口复制的说明:Y9CustomGroupService保存用户组- 指定者:
save在接口中Y9CustomGroupService- 参数:
y9CustomGroup- 自定义用户组对象- 返回:
Y9CustomGroup
-
saveCustomGroupOrder
@Transactional(readOnly=false) public boolean saveCustomGroupOrder(List<String> sortIdList)
从接口复制的说明:Y9CustomGroupService保存用户组排序- 指定者:
saveCustomGroupOrder在接口中Y9CustomGroupService- 参数:
sortIdList- 自定义用户组id集合- 返回:
- boolean
-
saveOrUpdate
@Transactional(readOnly=false) public Y9CustomGroup saveOrUpdate(String personId, List<String> personIdList, String groupId, String groupName)
从接口复制的说明:Y9CustomGroupService保存用户组- 指定者:
saveOrUpdate在接口中Y9CustomGroupService- 参数:
personId- 人员idpersonIdList- 人员IdsgroupId- 用户组Id,绑定人员时传入groupName- 用户组名称- 返回:
Y9CustomGroup
-
share
@Transactional(readOnly=false) public boolean share(List<String> personIds, List<String> groupIds)
从接口复制的说明:Y9CustomGroupService共享用户组- 指定者:
share在接口中Y9CustomGroupService- 参数:
personIds- 人员IdsgroupIds- 用户组Ids- 返回:
- boolean
-
share
@Transactional(readOnly=false) public Y9CustomGroup share(String personId, String groupId)
-
-