模板小写

This commit is contained in:
zhouyahui 2018-06-25 00:27:54 +08:00
parent 1ce83c1abf
commit 4ece7268fa

View File

@ -57,7 +57,7 @@ public class FileTemplateUtil {
List<String>tempFiles=new ArrayList<String>();
JSONObject classJson=JSONDecoder.decode(fileClass);
Map<String,String>sercharMap=FileOperatorUtil.getJsonObjectToMap(classJson);
String ONECLASSIFY=sercharMap.get("ONECLASSIFY");
String ONECLASSIFY=sercharMap.get("oneclassify");
if (ONECLASSIFY==null || ONECLASSIFY.length()<=0){
sercharMap.put("ONECLASSIFY", "invalid");// 在此人为加上该标记以防一级分类没有选择的情况下加载所有模板而导致不同产品之间可以相互生成合同
}