asn模板修改
asn导出界面优化
This commit is contained in:
@@ -74,7 +74,6 @@ public class ExportExcel {
|
||||
private static Logger log = LoggerFactory.getLogger(ExportExcel.class);
|
||||
|
||||
private static DnsResStrategyDao dnsResStrategyDao = SpringContextHolder.getBean(DnsResStrategyDao.class);
|
||||
private static PolicyGroupInfoDao policyGroupInfoDao = SpringContextHolder.getBean(PolicyGroupInfoDao.class);
|
||||
|
||||
/**
|
||||
* 工作薄对象
|
||||
@@ -240,6 +239,10 @@ public class ExportExcel {
|
||||
}
|
||||
}
|
||||
|
||||
if("asn_no".equals(headerStr)){
|
||||
commentStr=msgProp.getProperty("input_integer")+":\n"+commentStr;
|
||||
index++;
|
||||
}
|
||||
if("policy_name".equals(headerStr)){
|
||||
|
||||
List<DnsResStrategy> resStrategys=dnsResStrategyDao.findList(null, 1,1);
|
||||
@@ -1320,7 +1323,7 @@ public class ExportExcel {
|
||||
if (!StringUtil.isEmpty(commentStr)){
|
||||
cell.setCellValue(headerList.get(i));
|
||||
Comment comment = this.sheet.createDrawingPatriarch().createCellComment(
|
||||
new XSSFClientAnchor(0, 0, 0, 0, (short) i, 0, (short) i+3, commentRow));
|
||||
new XSSFClientAnchor(0, 0, 0, 0, (short) i, 0, (short) i+4, commentRow));
|
||||
comment.setString(new XSSFRichTextString(commentStr));
|
||||
cell.setCellComment(comment);
|
||||
}else{
|
||||
|
||||
Reference in New Issue
Block a user