fix(功能用例): 修复功能用例不通过保存评论内容失效问题
This commit is contained in:
parent
bca630ecf6
commit
394b7af4bf
|
@ -152,6 +152,8 @@ public class ReviewFunctionalCaseService {
|
||||||
if (StringUtils.equalsIgnoreCase(request.getStatus(), FunctionalCaseReviewStatus.UN_PASS.toString())) {
|
if (StringUtils.equalsIgnoreCase(request.getStatus(), FunctionalCaseReviewStatus.UN_PASS.toString())) {
|
||||||
if (StringUtils.isBlank(request.getContent())) {
|
if (StringUtils.isBlank(request.getContent())) {
|
||||||
throw new MSException(Translator.get("case_review_content.not.exist"));
|
throw new MSException(Translator.get("case_review_content.not.exist"));
|
||||||
|
} else {
|
||||||
|
caseReviewHistory.setContent(request.getContent().getBytes());
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (StringUtils.isNotBlank(request.getContent())) {
|
if (StringUtils.isNotBlank(request.getContent())) {
|
||||||
|
|
Loading…
Reference in New Issue