fix(缺陷管理): 修复缺陷消息通知状态字段不正确问题
--bug=1046296 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001046296
This commit is contained in:
parent
4a3a328737
commit
db0c14f723
|
@ -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<>();
|
||||||
|
|
Loading…
Reference in New Issue