service和region增加字典id过滤;

导出修改注释添加到对应cell
This commit is contained in:
duandongmei
2018-09-28 14:29:28 +08:00
parent 8debf0d38d
commit d96be667cd
2 changed files with 45 additions and 1 deletions

View File

@@ -486,7 +486,7 @@ public class ExportExcel {
if (ss.length==2){
cell.setCellValue(ss[0]);
Comment comment = this.sheet.createDrawingPatriarch().createCellComment(
new XSSFClientAnchor(0, 0, 0, 0, (short) 3, 3, (short) 5, 6));
new XSSFClientAnchor(0, 0, 0, 0, (short) i, 0, (short) i+4, 3));
comment.setString(new XSSFRichTextString(ss[1]));
cell.setCellComment(comment);
}else{