仓库添加负责人字段

This commit is contained in:
qiankunpingtai
2019-02-26 15:18:38 +08:00
parent c60568380e
commit 86b9ae9005
101 changed files with 402 additions and 118 deletions

View File

@@ -34,8 +34,9 @@ public class InterfaceContainer {
}
public int getResourceType(String apiName) {
if (!nameTypeMap.containsKey(apiName))
if (!nameTypeMap.containsKey(apiName)) {
throw new RuntimeException("资源:" + apiName + "的组件不存在");
}
return nameTypeMap.get(apiName);
}