fix(缺陷管理): 修复缺陷消息通知状态字段不正确问题

--bug=1046296 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001046296
This commit is contained in:
guoyuqi 2024-09-12 11:12:43 +08:00 committed by Craftsman
parent 4a3a328737
commit db0c14f723
1 changed files with 2 additions and 0 deletions

View File

@ -146,6 +146,8 @@ public class BugNoticeService {
// 构建通知对象 // 构建通知对象
BugNoticeDTO notice = new BugNoticeDTO(); BugNoticeDTO notice = new BugNoticeDTO();
BeanUtils.copyBean(notice, bugDTO); BeanUtils.copyBean(notice, bugDTO);
notice.setHandleUser(bugDTO.getHandleUserName());
notice.setStatus(bugDTO.getStatusName());
// 自定义字段解析{name: value} // 自定义字段解析{name: value}
if (CollectionUtils.isNotEmpty(bugDTO.getCustomFields())) { if (CollectionUtils.isNotEmpty(bugDTO.getCustomFields())) {
List<OptionDTO> fields = new ArrayList<>(); List<OptionDTO> fields = new ArrayList<>();