#2145 namespace id 为空允许新增

This commit is contained in:
qq213539 2019-12-10 21:39:24 +08:00
parent 6703b2abbb
commit ed43d5c829

View File

@ -131,7 +131,7 @@ public class NamespaceController {
@GetMapping(params = "checkNamespaceIdExist=true")
public Boolean checkNamespaceIdExist(@RequestParam("customNamespaceId") String namespaceId){
if(StringUtils.isBlank(namespaceId)){
return true;
return false;
}
return (persistService.countByTenantId(namespaceId) > 0);
}