类 EntrustServiceImpl
- java.lang.Object
-
- net.risesoft.service.impl.EntrustServiceImpl
-
- 所有已实现的接口:
EntrustService
@Service @Transactional(value="rsTenantTransactionManager", readOnly=true) public class EntrustServiceImpl extends Object implements EntrustService- 作者:
- qinman, zhangchongjie
- Date:
- 2022/12/20
-
-
构造器概要
构造器 构造器 说明 EntrustServiceImpl()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voiddestroyEntrust(String id)Description: 销假:删除ownerId所有的正在使用中的、或者已经过期的出差委托,并放入委托历史表voiddestroyEntrust(String ownerId, String itemId)销假:删除某个人的某个事项的正在使用中的、或者已经过期的出差委托,并放入委托历史表voiddestroyEntrustById(String id)销假:根据唯一标示删除正在使用中的、或者已经过期的出差委托,并放入委托历史表EntrustfindOneByOwnerIdAndItemId(String ownerId, String itemId)Description:EntrustfindOneByOwnerIdAndItemIdAndTime(String ownerId, String itemId, String dateTime)Description:EntrustgetById(String id)根据唯一标示获取委托对象IntegergetCountByOwnerIdAndItemId(String ownerId, String itemId)根据委托人和事项Id查找没有删除的委托对象的数量List<Entrust>list(String ownerId)Description:List<Entrust>listAll()获取某个用户没有删除的委托对象List<Entrust>listByAssigneeId(String assigneeId)Description: 获取某个用户没有删除的委托对象List<EntrustModel>listEntrustByUserId(String orgUnitId)获取委托列表List<EntrustItemModel>listItem(String userId, Integer page, Integer rows)获取事项列表List<EntrustModel>listMyEntrust(String orgUnitId)获取当前岗被委托记录voidremoveEntrust(String id)逻辑删除委托对象EntrustsaveOrUpdate(Entrust entrust)保存或者更新委托对象
-
-
-
方法详细资料
-
destroyEntrust
@Transactional public void destroyEntrust(String id)
从接口复制的说明:EntrustServiceDescription: 销假:删除ownerId所有的正在使用中的、或者已经过期的出差委托,并放入委托历史表- 指定者:
destroyEntrust在接口中EntrustService
-
destroyEntrust
@Transactional public void destroyEntrust(String ownerId, String itemId)
从接口复制的说明:EntrustService销假:删除某个人的某个事项的正在使用中的、或者已经过期的出差委托,并放入委托历史表- 指定者:
destroyEntrust在接口中EntrustService
-
destroyEntrustById
@Transactional public void destroyEntrustById(String id)
从接口复制的说明:EntrustService销假:根据唯一标示删除正在使用中的、或者已经过期的出差委托,并放入委托历史表- 指定者:
destroyEntrustById在接口中EntrustService
-
findOneByOwnerIdAndItemId
public Entrust findOneByOwnerIdAndItemId(String ownerId, String itemId)
从接口复制的说明:EntrustServiceDescription:- 指定者:
findOneByOwnerIdAndItemId在接口中EntrustService- 返回:
-
findOneByOwnerIdAndItemIdAndTime
public Entrust findOneByOwnerIdAndItemIdAndTime(String ownerId, String itemId, String dateTime)
从接口复制的说明:EntrustServiceDescription:- 指定者:
findOneByOwnerIdAndItemIdAndTime在接口中EntrustService- 返回:
-
getById
public Entrust getById(String id)
从接口复制的说明:EntrustService根据唯一标示获取委托对象- 指定者:
getById在接口中EntrustService- 返回:
-
getCountByOwnerIdAndItemId
public Integer getCountByOwnerIdAndItemId(String ownerId, String itemId)
从接口复制的说明:EntrustService根据委托人和事项Id查找没有删除的委托对象的数量- 指定者:
getCountByOwnerIdAndItemId在接口中EntrustService- 返回:
-
list
public List<Entrust> list(String ownerId)
从接口复制的说明:EntrustServiceDescription:- 指定者:
list在接口中EntrustService- 返回:
-
listAll
public List<Entrust> listAll()
从接口复制的说明:EntrustService获取某个用户没有删除的委托对象- 指定者:
listAll在接口中EntrustService- 返回:
-
listByAssigneeId
public List<Entrust> listByAssigneeId(String assigneeId)
从接口复制的说明:EntrustServiceDescription: 获取某个用户没有删除的委托对象- 指定者:
listByAssigneeId在接口中EntrustService- 返回:
-
listEntrustByUserId
public List<EntrustModel> listEntrustByUserId(String orgUnitId)
从接口复制的说明:EntrustService获取委托列表- 指定者:
listEntrustByUserId在接口中EntrustService- 返回:
-
listItem
public List<EntrustItemModel> listItem(String userId, Integer page, Integer rows)
从接口复制的说明:EntrustService获取事项列表- 指定者:
listItem在接口中EntrustService- 返回:
-
listMyEntrust
public List<EntrustModel> listMyEntrust(String orgUnitId)
从接口复制的说明:EntrustService获取当前岗被委托记录- 指定者:
listMyEntrust在接口中EntrustService- 返回:
-
removeEntrust
@Transactional public void removeEntrust(String id)
从接口复制的说明:EntrustService逻辑删除委托对象- 指定者:
removeEntrust在接口中EntrustService
-
saveOrUpdate
@Transactional public Entrust saveOrUpdate(Entrust entrust)
从接口复制的说明:EntrustService保存或者更新委托对象- 指定者:
saveOrUpdate在接口中EntrustService- 返回:
-
-