Commit d6fd9906 by zhangkb

替换auth的jar

parent bdc7cc22
...@@ -294,18 +294,18 @@ public class TagFileService { ...@@ -294,18 +294,18 @@ public class TagFileService {
public ExcelVerifyHandlerResult verifyHandler(TagMetadata obj) { public ExcelVerifyHandlerResult verifyHandler(TagMetadata obj) {
ExcelVerifyHandlerResult result = new ExcelVerifyHandlerResult(true); ExcelVerifyHandlerResult result = new ExcelVerifyHandlerResult(true);
//判断导入模型是不是table或者hanaView //判断导入模型是不是table或者hanaView
if(!"table".equalsIgnoreCase(obj.getMetaModel()) || if(!"TABLE".equals(obj.getMetaModel().toUpperCase()) ||
!"hanaview".equalsIgnoreCase(obj.getMetaModel())) { !"HANAVIEW".equals(obj.getMetaModel().toUpperCase())) {
result.setSuccess(false); result.setSuccess(false);
result.setMsg(String.format("模型类型错误,不能为[%s]", obj.getMetaModel())); result.setMsg(String.format("模型类型错误,不能为[%s]", obj.getMetaModel()));
return result; return result;
} }
//判断元数据名称是否在repo存在 //判断元数据名称是否在repo存在
String claz = null; String claz = null;
if("TABLE".equalsIgnoreCase(obj.getMetaModel().toUpperCase())) { if("TABLE".equals(obj.getMetaModel().toUpperCase())) {
claz = "Catalog,Database,Schema,Table"; claz = "Catalog,Database,Schema,Table";
} }
if("HANAVIEW".equalsIgnoreCase(obj.getMetaModel().toUpperCase())) { if("HANAVIEW".equals(obj.getMetaModel().toUpperCase())) {
claz = "Catalog,Database,Schema,HanaView"; claz = "Catalog,Database,Schema,HanaView";
} }
Map<String,Object> meta = repoService.getMetaByNamePathAndClass(obj.getMetaName(), claz); Map<String,Object> meta = repoService.getMetaByNamePathAndClass(obj.getMetaName(), claz);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment