Package net.risesoft.service.impl
Class ReceiveDeptAndPersonServiceImpl
- java.lang.Object
-
- net.risesoft.service.impl.ReceiveDeptAndPersonServiceImpl
-
- All Implemented Interfaces:
ReceiveDeptAndPersonService
@Service @Transactional(value="rsTenantTransactionManager", readOnly=true) public class ReceiveDeptAndPersonServiceImpl extends Object implements ReceiveDeptAndPersonService- Author:
- qinman, zhangchongjie
- Date:
- 2022/12/20
-
-
Constructor Summary
Constructors Constructor Description ReceiveDeptAndPersonServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegercountByDeptId(String deptId)获取部门收发人员数量net.risesoft.pojo.Y9Result<String>delDepartment(String id)删除收发单位net.risesoft.pojo.Y9Result<String>delPerson(String id)删除人员ReceiveDepartmentfindByDeptId(String id)根据部门id获取信息List<Object>getParentId(String deptId, List<Object> list)获取上一parentIdList<Map<String,Object>>personList(String deptId)获取单位收发人员ReceiveDepartmentsave(ReceiveDepartment receiveDepartment)Description:net.risesoft.pojo.Y9Result<String>saveDepartment(String id)保存收发部门net.risesoft.pojo.Y9Result<String>saveOrder(String ids)保存排序net.risesoft.pojo.Y9Result<String>savePosition(String deptId, String ids)保存收发岗位voidsetParentId(String deptId, String parentId)往下设parentIdnet.risesoft.pojo.Y9Result<String>setReceive(boolean receive, String ids)Description: 保存是否可发送net.risesoft.pojo.Y9Result<String>setSend(boolean send, String ids)Description: 保存是否可发送
-
-
-
Method Detail
-
countByDeptId
public Integer countByDeptId(String deptId)
Description copied from interface:ReceiveDeptAndPersonService获取部门收发人员数量- Specified by:
countByDeptIdin interfaceReceiveDeptAndPersonService- Returns:
-
delDepartment
@Transactional(readOnly=false) public net.risesoft.pojo.Y9Result<String> delDepartment(String id)
Description copied from interface:ReceiveDeptAndPersonService删除收发单位- Specified by:
delDepartmentin interfaceReceiveDeptAndPersonService- Returns:
-
delPerson
@Transactional(readOnly=false) public net.risesoft.pojo.Y9Result<String> delPerson(String id)
Description copied from interface:ReceiveDeptAndPersonService删除人员- Specified by:
delPersonin interfaceReceiveDeptAndPersonService- Returns:
-
findByDeptId
public ReceiveDepartment findByDeptId(String id)
Description copied from interface:ReceiveDeptAndPersonService根据部门id获取信息- Specified by:
findByDeptIdin interfaceReceiveDeptAndPersonService- Returns:
-
getParentId
public List<Object> getParentId(String deptId, List<Object> list)
获取上一parentId- Parameters:
deptId-list-- Returns:
-
personList
public List<Map<String,Object>> personList(String deptId)
Description copied from interface:ReceiveDeptAndPersonService获取单位收发人员- Specified by:
personListin interfaceReceiveDeptAndPersonService- Returns:
-
save
@Transactional(readOnly=false) public ReceiveDepartment save(ReceiveDepartment receiveDepartment)
Description copied from interface:ReceiveDeptAndPersonServiceDescription:- Specified by:
savein interfaceReceiveDeptAndPersonService- Returns:
-
saveDepartment
@Transactional(readOnly=false) public net.risesoft.pojo.Y9Result<String> saveDepartment(String id)
Description copied from interface:ReceiveDeptAndPersonService保存收发部门- Specified by:
saveDepartmentin interfaceReceiveDeptAndPersonService- Returns:
-
saveOrder
@Transactional(readOnly=false) public net.risesoft.pojo.Y9Result<String> saveOrder(String ids)
Description copied from interface:ReceiveDeptAndPersonService保存排序- Specified by:
saveOrderin interfaceReceiveDeptAndPersonService- Returns:
-
savePosition
@Transactional(readOnly=false) public net.risesoft.pojo.Y9Result<String> savePosition(String deptId, String ids)
Description copied from interface:ReceiveDeptAndPersonService保存收发岗位- Specified by:
savePositionin interfaceReceiveDeptAndPersonService- Returns:
-
setParentId
@Transactional(readOnly=false) public void setParentId(String deptId, String parentId)
往下设parentId- Parameters:
deptId-parentId-
-
setReceive
@Transactional(readOnly=false) public net.risesoft.pojo.Y9Result<String> setReceive(boolean receive, String ids)
Description copied from interface:ReceiveDeptAndPersonServiceDescription: 保存是否可发送- Specified by:
setReceivein interfaceReceiveDeptAndPersonService- Returns:
-
setSend
@Transactional(readOnly=false) public net.risesoft.pojo.Y9Result<String> setSend(boolean send, String ids)
Description copied from interface:ReceiveDeptAndPersonServiceDescription: 保存是否可发送- Specified by:
setSendin interfaceReceiveDeptAndPersonService- Returns:
-
-