|
@ -1479,6 +1479,21 @@ public class ItemServiceImpl extends BaseServiceImpl<ItemDao, ItemEntity> implem |
|
|
newsTask.eventMenuNotice(menuNoticeDTO, userId); |
|
|
newsTask.eventMenuNotice(menuNoticeDTO, userId); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
public void sendItemHandleMenuNoticeExamine(Long deptId, Long userId) { |
|
|
|
|
|
// 获取部门待处理项目数量
|
|
|
|
|
|
// int num = baseDao.selectCountOfItemDeptNotice(deptId, EventIssueItemState.ITEM_HANDLING);
|
|
|
|
|
|
Map<String, Object> params = new HashMap<>(); |
|
|
|
|
|
params.put("itemState","0"); |
|
|
|
|
|
PageData<ItemExaminePageResultDTO> page = getExaminePage(params); |
|
|
|
|
|
MenuNoticeDTO menuNoticeDTO = new MenuNoticeDTO(); |
|
|
|
|
|
menuNoticeDTO.setDeptId(deptId); |
|
|
|
|
|
menuNoticeDTO.setNum(page.getTotal()); |
|
|
|
|
|
menuNoticeDTO.setMenuCode(MenuCodeConstant.PARTY_GROUP_DISCUSSION_ITEM_HANDLE_EXAMINE); |
|
|
|
|
|
// 发送菜单消息通知
|
|
|
|
|
|
newsTask.eventMenuNotice(menuNoticeDTO, userId); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|
public void sendWhistlingDeptItemHandleMenuNotice(List<Long> deptIds, Long userId) { |
|
|
public void sendWhistlingDeptItemHandleMenuNotice(List<Long> deptIds, Long userId) { |
|
|
MenuNoticeDTO menuNoticeDTO = new MenuNoticeDTO(); |
|
|
MenuNoticeDTO menuNoticeDTO = new MenuNoticeDTO(); |
|
|