Commit f2cf3214 authored by zhaochengming's avatar zhaochengming

省测列表

parent 4b1ad61c
...@@ -49,7 +49,7 @@ public class OcpApiTreeController { ...@@ -49,7 +49,7 @@ public class OcpApiTreeController {
@ApiOperation("服务树分类--新增") @ApiOperation("服务树分类--新增")
public ResponseVO inseter(@RequestBody OcpApiGroup ocpApiGroup){ public ResponseVO inseter(@RequestBody OcpApiGroup ocpApiGroup){
OcpApiGroup ocpApiGroup1 = service.insertTree(ocpApiGroup); OcpApiGroup ocpApiGroup1 = service.insertTree(ocpApiGroup);
if (StringUtils.isBlank(ocpApiGroup1.getApiGroupName())){ if (StringUtils.isBlank(ocpApiGroup1.getApiGroupCode())){
return ResponseVO.error("服务名称已经存在"); return ResponseVO.error("服务名称已经存在");
}else { }else {
return ResponseVO.ok(ocpApiGroup1); return ResponseVO.ok(ocpApiGroup1);
......
...@@ -75,6 +75,7 @@ public class OcpTenantIocnServiceImpl extends ServiceImpl<OcpTenantIocnMapper, O ...@@ -75,6 +75,7 @@ public class OcpTenantIocnServiceImpl extends ServiceImpl<OcpTenantIocnMapper, O
}*/ }*/
List<OcpTenantGroupIocnDto> groupIocnDtos = ocpTenantBaseMapper.selectAlls(); List<OcpTenantGroupIocnDto> groupIocnDtos = ocpTenantBaseMapper.selectAlls();
return groupIocnDtos; return groupIocnDtos;
} }
......
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