Package net.risesoft.service.impl
Class ChaoSongInfoServiceImpl
- java.lang.Object
-
- net.risesoft.service.impl.ChaoSongInfoServiceImpl
-
- All Implemented Interfaces:
ChaoSongInfoService
@Service public class ChaoSongInfoServiceImpl extends Object implements ChaoSongInfoService
- Author:
- qinman, zhangchongjie
- Date:
- 2022/12/20
-
-
Constructor Summary
Constructors Constructor Description ChaoSongInfoServiceImpl()
-
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: 查看抄送件详情ChaoSongInfogetById(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<ChaoSongInfo> chaoSongList)批量保存抄送ChaoSongInfosave(ChaoSongInfo 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:ChaoSongInfoService改变抄送件意见状态- Specified by:
changeChaoSongStatein interfaceChaoSongInfoService
-
changeStatus
public void changeStatus(String id)
Description copied from interface:ChaoSongInfoService设置已阅- Specified by:
changeStatusin interfaceChaoSongInfoService
-
changeStatus
public void changeStatus(String[] ids)
Description copied from interface:ChaoSongInfoService批量已阅- Specified by:
changeStatusin interfaceChaoSongInfoService
-
countAllByUserId
public int countAllByUserId(String userId)
Description copied from interface:ChaoSongInfoService获取个人抄送件计数- Specified by:
countAllByUserIdin interfaceChaoSongInfoService- Returns:
-
countByProcessInstanceId
public int countByProcessInstanceId(String userId, String processInstanceId)
Description copied from interface:ChaoSongInfoServiceDescription: 根据流程实例id统计除当前人外是否有抄送件- Specified by:
countByProcessInstanceIdin interfaceChaoSongInfoService- Returns:
-
countByUserIdAndProcessInstanceId
public int countByUserIdAndProcessInstanceId(String userId, String processInstanceId)
Description copied from interface:ChaoSongInfoService根据流程实例id统计当前人是否有抄送件- Specified by:
countByUserIdAndProcessInstanceIdin interfaceChaoSongInfoService- Returns:
-
deleteById
public void deleteById(String id)
Description copied from interface:ChaoSongInfoService收回抄送件- Specified by:
deleteByIdin interfaceChaoSongInfoService
-
deleteByIds
public void deleteByIds(String[] ids)
Description copied from interface:ChaoSongInfoService批量收回抄送件- Specified by:
deleteByIdsin interfaceChaoSongInfoService
-
deleteByProcessInstanceId
@Transactional public boolean deleteByProcessInstanceId(String processInstanceId)
Description copied from interface:ChaoSongInfoService根据流程实例id删除抄送件- Specified by:
deleteByProcessInstanceIdin interfaceChaoSongInfoService- Returns:
-
detail
public OpenDataModel detail(String processInstanceId, Integer status, boolean mobile)
Description copied from interface:ChaoSongInfoServiceDescription: 查看抄送件详情- Specified by:
detailin interfaceChaoSongInfoService- Returns:
-
getById
public ChaoSongInfo getById(String id)
Description copied from interface:ChaoSongInfoService根据id查找抄送件- Specified by:
getByIdin interfaceChaoSongInfoService- Returns:
-
getDone4OpinionCountByUserId
public int getDone4OpinionCountByUserId(String userId)
Description copied from interface:ChaoSongInfoService获取批阅件计数- Specified by:
getDone4OpinionCountByUserIdin interfaceChaoSongInfoService- Returns:
-
getDoneCountByUserId
public int getDoneCountByUserId(String userId)
Description copied from interface:ChaoSongInfoService根据人员唯一标示查找已阅数量- Specified by:
getDoneCountByUserIdin interfaceChaoSongInfoService- Returns:
-
getTodoCountByUserId
public int getTodoCountByUserId(String userId)
Description copied from interface:ChaoSongInfoService根据人员唯一标示查找待阅数量- Specified by:
getTodoCountByUserIdin interfaceChaoSongInfoService- Returns:
-
pageByProcessInstanceIdAndUserName
public net.risesoft.pojo.Y9Page<ChaoSongModel> pageByProcessInstanceIdAndUserName(String processInstanceId, String userName, int rows, int page)
Description copied from interface:ChaoSongInfoServiceDescription: 根据流程实例获取除当前人外的其他抄送件- Specified by:
pageByProcessInstanceIdAndUserNamein interfaceChaoSongInfoService- Returns:
-
pageBySenderIdAndProcessInstanceId
public net.risesoft.pojo.Y9Page<ChaoSongModel> pageBySenderIdAndProcessInstanceId(String senderId, String processInstanceId, String userName, int rows, int page)
Description copied from interface:ChaoSongInfoServiceDescription: 根据流程实例获取当前人的抄送件- Specified by:
pageBySenderIdAndProcessInstanceIdin interfaceChaoSongInfoService- Returns:
-
pageByUserIdAndDocumentTitle
public net.risesoft.pojo.Y9Page<Map<String,Object>> pageByUserIdAndDocumentTitle(String userId, String documentTitle, int rows, int page)
Description copied from interface:ChaoSongInfoService获取抄送所有件- Specified by:
pageByUserIdAndDocumentTitlein interfaceChaoSongInfoService- Returns:
-
pageDoneList
public net.risesoft.pojo.Y9Page<ChaoSongModel> pageDoneList(String orgUnitId, String documentTitle, int rows, int page)
Description copied from interface:ChaoSongInfoServiceDescription: 获取抄送已阅件- Specified by:
pageDoneListin interfaceChaoSongInfoService- 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:ChaoSongInfoService我的抄送列表- Specified by:
pageMyChaoSongListin interfaceChaoSongInfoService- Returns:
-
pageOpinionChaosongByUserId
public net.risesoft.pojo.Y9Page<ChaoSongModel> pageOpinionChaosongByUserId(String userId, String documentTitle, int rows, int page)
Description copied from interface:ChaoSongInfoService批阅件列表- Specified by:
pageOpinionChaosongByUserIdin interfaceChaoSongInfoService- Returns:
-
pageTodoList
public net.risesoft.pojo.Y9Page<ChaoSongModel> pageTodoList(String orgUnitId, String documentTitle, int rows, int page)
Description copied from interface:ChaoSongInfoService获取抄送未阅件- Specified by:
pageTodoListin interfaceChaoSongInfoService- Returns:
-
save
public ChaoSongInfo save(ChaoSongInfo chaoSong)
Description copied from interface:ChaoSongInfoService保存抄送- Specified by:
savein interfaceChaoSongInfoService- Returns:
-
save
public void save(List<ChaoSongInfo> chaoSongList)
Description copied from interface:ChaoSongInfoService批量保存抄送- Specified by:
savein interfaceChaoSongInfoService
-
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:ChaoSongInfoServiceDescription: 根据选择的人员保存抄送- Specified by:
savein interfaceChaoSongInfoService- 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:ChaoSongInfoServiceDescription: 个人阅件搜索- Specified by:
searchAllByUserIdin interfaceChaoSongInfoService- 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:ChaoSongInfoService监控阅件列表- Specified by:
searchAllListin interfaceChaoSongInfoService- Returns:
-
updateTitle
@Transactional public void updateTitle(String processInstanceId, String documentTitle)
Description copied from interface:ChaoSongInfoService更新抄送件标题- Specified by:
updateTitlein interfaceChaoSongInfoService
-
-