|
|
@ -186,7 +186,7 @@ public class IssueServiceImpl extends BaseServiceImpl<IssueDao, IssueEntity> imp |
|
|
|
informationFormDTO.setUserId(entity.getUserId()); |
|
|
|
informationFormDTO.setContent(dto.getAdvice()); |
|
|
|
informationFormDTO.setType(EventsNoticeConstant.NOTICE_TYPE_PROGRESS_NOTICE); |
|
|
|
informationFormDTO.setBusinessType(EventsNoticeConstant.NOTICE_BUSINESS_TYPE_ITEM); |
|
|
|
informationFormDTO.setBusinessType(EventsNoticeConstant.NOTICE_BUSINESS_TYPE_ISSUE); |
|
|
|
informationFormDTO.setBusinessId(entity.getId()); |
|
|
|
informationFormDTO.setRelBusinessContent("议题:" + entity.getIssueContent()); |
|
|
|
|
|
|
@ -207,6 +207,7 @@ public class IssueServiceImpl extends BaseServiceImpl<IssueDao, IssueEntity> imp |
|
|
|
// 转项目
|
|
|
|
if (EventIssueItemState.ISSUE_CHANGE_TO_ITEM == dto.getState()) { |
|
|
|
informationFormDTO.setTitle(EventsNoticeConstant.NOTICE_ISSUE_CHANGE_TO_ITEM); |
|
|
|
informationFormDTO.setBusinessType(EventsNoticeConstant.NOTICE_BUSINESS_TYPE_ITEM); |
|
|
|
// 插入项目表
|
|
|
|
ItemEntity itemEntity = initItemEntity(entity); |
|
|
|
itemService.insert(itemEntity); |
|
|
|