Browse Source

change Status.USER_NOT_EXIST to Status.TENANT_NOT_EXIST

pull/2/head
lgcareer 6 years ago
parent
commit
b7d0d4c952
  1. 2
      escheduler-api/src/main/java/cn/escheduler/api/service/TenantService.java

2
escheduler-api/src/main/java/cn/escheduler/api/service/TenantService.java

@ -166,7 +166,7 @@ public class TenantService extends BaseService{
Tenant tenant = tenantMapper.queryById(id); Tenant tenant = tenantMapper.queryById(id);
if (tenant == null){ if (tenant == null){
putMsg(result, Status.USER_NOT_EXIST, id); putMsg(result, Status.TENANT_NOT_EXIST);
return result; return result;
} }

Loading…
Cancel
Save