导入模板replace_zone字典增加
音视频样例120s
This commit is contained in:
@@ -148,6 +148,28 @@ public class ExportExcel {
|
||||
}
|
||||
}
|
||||
}
|
||||
if(StringUtil.isEmpty(commentStr)){
|
||||
headerStr="";
|
||||
commentStr="";
|
||||
}
|
||||
}
|
||||
//replace_zone
|
||||
if("replace_zone".equals(headerStr)){
|
||||
commentStr="";
|
||||
List<SysDataDictionaryItem> interceptReplaceZone=DictUtils.getDictList("INTERCEPT_REPLACE_ZONE");
|
||||
if(interceptReplaceZone !=null && interceptReplaceZone.size()>0){
|
||||
for (SysDataDictionaryItem sysDataDictionaryItem : interceptReplaceZone) {
|
||||
if(StringUtil.isEmpty(msgProp.getProperty(sysDataDictionaryItem.getItemValue()))){
|
||||
commentStr=commentStr+sysDataDictionaryItem.getItemCode()+":"+sysDataDictionaryItem.getItemValue()+"\n";
|
||||
}else{
|
||||
commentStr=commentStr+sysDataDictionaryItem.getItemCode()+":"+msgProp.getProperty(sysDataDictionaryItem.getItemValue())+"\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
if(StringUtil.isEmpty(commentStr)){
|
||||
headerStr="";
|
||||
commentStr="";
|
||||
}
|
||||
}
|
||||
|
||||
if("policy_name".equals(headerStr)){
|
||||
|
||||
Reference in New Issue
Block a user