#2145 namespace id 为空允许新增
This commit is contained in:
parent
6703b2abbb
commit
ed43d5c829
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user