fix(功能用例): 修复批量评审未保存评审意见问题

--bug=1044075 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001044075
This commit is contained in:
guoyuqi 2024-07-16 19:25:55 +08:00 committed by Craftsman
parent 82b1628902
commit 4abe7042e9
1 changed files with 2 additions and 0 deletions

View File

@ -564,6 +564,8 @@ public class CaseReviewFunctionalCaseService {
if (StringUtils.equalsIgnoreCase(request.getStatus(), FunctionalCaseReviewStatus.UN_PASS.toString())) {
if (StringUtils.isBlank(request.getContent())) {
throw new MSException(Translator.get("case_review_content.not.exist"));
}else {
caseReviewHistory.setContent(request.getContent().getBytes());
}
} else {
if (StringUtils.isNotBlank(request.getContent())) {