fix(功能用例): 修复创建用例通知发送失败问题
--bug=1041313 --user=王旭 【消息管理】新建功能用例-未发送站内信、邮件和其它机器人通知 https://www.tapd.cn/55049933/s/1522027
This commit is contained in:
parent
201bed2eb2
commit
4e8f1c5ae3
|
@ -157,6 +157,7 @@ public class FunctionalCaseNoticeService {
|
||||||
FunctionalCase functionalCase = functionalCaseMapper.selectByPrimaryKey(request.getId());
|
FunctionalCase functionalCase = functionalCaseMapper.selectByPrimaryKey(request.getId());
|
||||||
BeanUtils.copyBean(functionalCaseDTO, functionalCase);
|
BeanUtils.copyBean(functionalCaseDTO, functionalCase);
|
||||||
setReviewName(request.getId(), functionalCaseDTO);
|
setReviewName(request.getId(), functionalCaseDTO);
|
||||||
|
setPlanName(request.getId(), functionalCaseDTO);
|
||||||
} else {
|
} else {
|
||||||
BeanUtils.copyBean(functionalCaseDTO, request);
|
BeanUtils.copyBean(functionalCaseDTO, request);
|
||||||
functionalCaseDTO.setCreateUser(null);
|
functionalCaseDTO.setCreateUser(null);
|
||||||
|
@ -176,7 +177,6 @@ public class FunctionalCaseNoticeService {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
functionalCaseDTO.setFields(fields);
|
functionalCaseDTO.setFields(fields);
|
||||||
setPlanName(request.getId(), functionalCaseDTO);
|
|
||||||
return functionalCaseDTO;
|
return functionalCaseDTO;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue