Commit e0af1e8b by zhangkb

修改标签元数据导入校验逻辑

parent bac8469d
......@@ -294,7 +294,7 @@ public class TagFileService {
public ExcelVerifyHandlerResult verifyHandler(TagMetadata obj) {
ExcelVerifyHandlerResult result = new ExcelVerifyHandlerResult(true);
//判断导入模型是不是table或者hanaView
if(!"TABLE".equals(obj.getMetaModel().toUpperCase()) ||
if(!"TABLE".equals(obj.getMetaModel().toUpperCase()) &&
!"HANAVIEW".equals(obj.getMetaModel().toUpperCase())) {
result.setSuccess(false);
result.setMsg(String.format("模型类型错误,不能为[%s]", obj.getMetaModel()));
......
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