fix(测试跟踪): 用例模板字段标注显示问题

--bug=1015647 --user=宋昌昌 【测试跟踪】github#16420,测试用例模板中部分字段未标注是否为必填字段及如何填写,请优化 https://www.tapd.cn/55049933/s/1221603
This commit is contained in:
song-cc-rock 2022-08-11 18:17:48 +08:00 committed by 刘瑞斌
parent 0ba17c36ea
commit 39a2e3031a
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ public class FunctionCaseTemplateWriteHandler extends AbstractRowHeightStyleStra
list = caseLevelAndStatusValueMap.get("caseStatus");
}
if (!CollectionUtils.isEmpty(list)) {
Comment comment = drawingPatriarch.createCellComment(new XSSFClientAnchor(0, 0, 0, 0, index, 0, (short) 3, 1));
Comment comment = drawingPatriarch.createCellComment(new XSSFClientAnchor(0, 0, 0, 0, index, 0, index + 3, 1));
comment.setString(new XSSFRichTextString(Translator.get("options") + JSONArray.toJSONString(list)));
sheet.getRow(0).getCell(1).setCellComment(comment);
}