Package net.risesoft.service.impl
Class ChaoSongServiceImpl
- java.lang.Object
-
- net.risesoft.service.impl.ChaoSongServiceImpl
-
- All Implemented Interfaces:
ChaoSongService
@Service @Transactional(value="rsTenantTransactionManager", readOnly=true) public class ChaoSongServiceImpl extends Object implements ChaoSongService- Author:
- qinman, zhangchongjie
- Date:
- 2022/12/20
-
-
Constructor Summary
Constructors Constructor Description ChaoSongServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidchangeChaoSongState(String id, String type)改变抄送件意见状态voidchangeStatus(String id)设置已阅voidchangeStatus(String[] ids)批量已阅intcountAllByUserId(String userId)获取个人抄送件计数intcountByProcessInstanceId(String userId, String processInstanceId)Description: 根据流程实例id统计除当前人外是否有抄送件intcountByUserIdAndProcessInstanceId(String userId, String processInstanceId)根据流程实例id统计当前人是否有抄送件voiddeleteById(String id)收回抄送件voiddeleteByIds(String[] ids)批量收回抄送件booleandeleteByProcessInstanceId(String processInstanceId)根据流程实例id删除抄送件OpenDataModeldetail(String processInstanceId, Integer status, boolean mobile)Description: 查看抄送件详情ChaoSonggetById(String id)根据id查找抄送件intgetDone4OpinionCountByUserId(String userId)获取批阅件计数intgetDoneCountByUserId(String userId)根据人员唯一标示查找已阅数量intgetTodoCountByUserId(String userId)根据人员唯一标示查找待阅数量net.risesoft.pojo.Y9Page<ChaoSongModel>pageByProcessInstanceIdAndUserName(String processInstanceId, String userName, int rows, int page)Description: 根据流程实例获取除当前人外的其他抄送件net.risesoft.pojo.Y9Page<ChaoSongModel>pageBySenderIdAndProcessInstanceId(String senderId, String processInstanceId, String userName, int rows, int page)Description: 根据流程实例获取当前人的抄送件net.risesoft.pojo.Y9Page<Map<String,Object>>pageByUserIdAndDocumentTitle(String userId, String documentTitle, int rows, int page)获取抄送所有件net.risesoft.pojo.Y9Page<ChaoSongModel>pageDoneList(String orgUnitId, String documentTitle, int rows, int page)Description: 获取抄送已阅件net.risesoft.pojo.Y9Page<ChaoSongModel>pageMyChaoSongList(String searchName, String itemId, String userName, String state, String year, int rows, int page)我的抄送列表net.risesoft.pojo.Y9Page<ChaoSongModel>pageOpinionChaosongByUserId(String userId, String documentTitle, int rows, int page)批阅件列表net.risesoft.pojo.Y9Page<ChaoSongModel>pageTodoList(String orgUnitId, String documentTitle, int rows, int page)获取抄送未阅件net.risesoft.pojo.Y9Result<Object>save(String processInstanceId, String users, String isSendSms, String isShuMing, String smsContent, String smsPersonId)Description: 根据选择的人员保存抄送voidsave(List<ChaoSong> chaoSongList)批量保存抄送ChaoSongsave(ChaoSong chaoSong)保存抄送net.risesoft.pojo.Y9Page<ChaoSongModel>searchAllByUserId(String searchName, String itemId, String userName, String state, String year, Integer page, Integer rows)Description: 个人阅件搜索net.risesoft.pojo.Y9Page<ChaoSongModel>searchAllList(String searchName, String itemId, String senderName, String userName, String state, String year, Integer page, Integer rows)监控阅件列表voidupdateTitle(String processInstanceId, String documentTitle)更新抄送件标题
-
-
-
Method Detail
-
changeChaoSongState
@Transactional public void changeChaoSongState(String id, String type)
Description copied from interface:ChaoSongService改变抄送件意见状态- Specified by:
changeChaoSongStatein interfaceChaoSongService
-
changeStatus
@Transactional public void changeStatus(String id)
Description copied from interface:ChaoSongService设置已阅- Specified by:
changeStatusin interfaceChaoSongService
-
changeStatus
@Transactional public void changeStatus(String[] ids)
Description copied from interface:ChaoSongService批量已阅- Specified by:
changeStatusin interfaceChaoSongService
-
countAllByUserId
public int countAllByUserId(String userId)
Description copied from interface:ChaoSongService获取个人抄送件计数- Specified by:
countAllByUserIdin interfaceChaoSongService- Returns:
-
countByProcessInstanceId
public int countByProcessInstanceId(String userId, String processInstanceId)
Description copied from interface:ChaoSongServiceDescription: 根据流程实例id统计除当前人外是否有抄送件- Specified by:
countByProcessInstanceIdin interfaceChaoSongService- Returns:
-
countByUserIdAndProcessInstanceId
public int countByUserIdAndProcessInstanceId(String userId, String processInstanceId)
Description copied from interface:ChaoSongService根据流程实例id统计当前人是否有抄送件- Specified by:
countByUserIdAndProcessInstanceIdin interfaceChaoSongService- Returns:
-
deleteById
@Transactional public void deleteById(String id)
Description copied from interface:ChaoSongService收回抄送件- Specified by:
deleteByIdin interfaceChaoSongService
-
deleteByIds
@Transactional public void deleteByIds(String[] ids)
Description copied from interface:ChaoSongService批量收回抄送件- Specified by:
deleteByIdsin interfaceChaoSongService
-
deleteByProcessInstanceId
@Transactional public boolean deleteByProcessInstanceId(String processInstanceId)
Description copied from interface:ChaoSongService根据流程实例id删除抄送件- Specified by:
deleteByProcessInstanceIdin interfaceChaoSongService- Returns:
-
detail
public OpenDataModel detail(String processInstanceId, Integer status, boolean mobile)
Description copied from interface:ChaoSongServiceDescription: 查看抄送件详情- Specified by:
detailin interfaceChaoSongService- Returns:
-
getById
public ChaoSong getById(String id)
Description copied from interface:ChaoSongService根据id查找抄送件- Specified by:
getByIdin interfaceChaoSongService- Returns:
-
getDone4OpinionCountByUserId
public int getDone4OpinionCountByUserId(String userId)
Description copied from interface:ChaoSongService获取批阅件计数- Specified by:
getDone4OpinionCountByUserIdin interfaceChaoSongService- Returns:
-
getDoneCountByUserId
public int getDoneCountByUserId(String userId)
Description copied from interface:ChaoSongService根据人员唯一标示查找已阅数量- Specified by:
getDoneCountByUserIdin interfaceChaoSongService- Returns:
-
getTodoCountByUserId
public int getTodoCountByUserId(String userId)
Description copied from interface:ChaoSongService根据人员唯一标示查找待阅数量- Specified by:
getTodoCountByUserIdin interfaceChaoSongService- Returns:
-
pageByProcessInstanceIdAndUserName
public net.risesoft.pojo.Y9Page<ChaoSongModel> pageByProcessInstanceIdAndUserName(String processInstanceId, String userName, int rows, int page)
Description copied from interface:ChaoSongServiceDescription: 根据流程实例获取除当前人外的其他抄送件- Specified by:
pageByProcessInstanceIdAndUserNamein interfaceChaoSongService- Returns:
-
pageBySenderIdAndProcessInstanceId
public net.risesoft.pojo.Y9Page<ChaoSongModel> pageBySenderIdAndProcessInstanceId(String senderId, String processInstanceId, String userName, int rows, int page)
Description copied from interface:ChaoSongServiceDescription: 根据流程实例获取当前人的抄送件- Specified by:
pageBySenderIdAndProcessInstanceIdin interfaceChaoSongService- Returns:
-
pageByUserIdAndDocumentTitle
public net.risesoft.pojo.Y9Page<Map<String,Object>> pageByUserIdAndDocumentTitle(String userId, String documentTitle, int rows, int page)
Description copied from interface:ChaoSongService获取抄送所有件- Specified by:
pageByUserIdAndDocumentTitlein interfaceChaoSongService- Returns:
-
pageDoneList
public net.risesoft.pojo.Y9Page<ChaoSongModel> pageDoneList(String orgUnitId, String documentTitle, int rows, int page)
Description copied from interface:ChaoSongServiceDescription: 获取抄送已阅件- Specified by:
pageDoneListin interfaceChaoSongService- Returns:
-
pageMyChaoSongList
public net.risesoft.pojo.Y9Page<ChaoSongModel> pageMyChaoSongList(String searchName, String itemId, String userName, String state, String year, int rows, int page)
Description copied from interface:ChaoSongService我的抄送列表- Specified by:
pageMyChaoSongListin interfaceChaoSongService- Returns:
-
pageOpinionChaosongByUserId
public net.risesoft.pojo.Y9Page<ChaoSongModel> pageOpinionChaosongByUserId(String userId, String documentTitle, int rows, int page)
Description copied from interface:ChaoSongService批阅件列表- Specified by:
pageOpinionChaosongByUserIdin interfaceChaoSongService- Returns:
-
pageTodoList
public net.risesoft.pojo.Y9Page<ChaoSongModel> pageTodoList(String orgUnitId, String documentTitle, int rows, int page)
Description copied from interface:ChaoSongService获取抄送未阅件- Specified by:
pageTodoListin interfaceChaoSongService- Returns:
-
save
@Transactional public ChaoSong save(ChaoSong chaoSong)
Description copied from interface:ChaoSongService保存抄送- Specified by:
savein interfaceChaoSongService- Returns:
-
save
@Transactional public void save(List<ChaoSong> chaoSongList)
Description copied from interface:ChaoSongService批量保存抄送- Specified by:
savein interfaceChaoSongService
-
save
@Transactional public net.risesoft.pojo.Y9Result<Object> save(String processInstanceId, String users, String isSendSms, String isShuMing, String smsContent, String smsPersonId)
Description copied from interface:ChaoSongServiceDescription: 根据选择的人员保存抄送- Specified by:
savein interfaceChaoSongService- Returns:
-
searchAllByUserId
public net.risesoft.pojo.Y9Page<ChaoSongModel> searchAllByUserId(String searchName, String itemId, String userName, String state, String year, Integer page, Integer rows)
Description copied from interface:ChaoSongServiceDescription: 个人阅件搜索- Specified by:
searchAllByUserIdin interfaceChaoSongService- Returns:
-
searchAllList
public net.risesoft.pojo.Y9Page<ChaoSongModel> searchAllList(String searchName, String itemId, String senderName, String userName, String state, String year, Integer page, Integer rows)
Description copied from interface:ChaoSongService监控阅件列表- Specified by:
searchAllListin interfaceChaoSongService- Returns:
-
updateTitle
@Transactional public void updateTitle(String processInstanceId, String documentTitle)
Description copied from interface:ChaoSongService更新抄送件标题- Specified by:
updateTitlein interfaceChaoSongService
-
-