|
@@ -303,4 +303,15 @@ public class DiagramController {
|
|
public CommonResult<Map<String, Boolean>> querySystemInstanceDiagramList() {
|
|
public CommonResult<Map<String, Boolean>> querySystemInstanceDiagramList() {
|
|
return ResultHelper.single(dataStrategy.querySystemInstanceDiagramList());
|
|
return ResultHelper.single(dataStrategy.querySystemInstanceDiagramList());
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 判断系统图名称是否重复 true:重复,false:不重复
|
|
|
|
+ *
|
|
|
|
+ * @return 是否成功
|
|
|
|
+ */
|
|
|
|
+ @ApiOperation("判断系统图名称是否重复")
|
|
|
|
+ @PostMapping("/judge/name/duplicate")
|
|
|
|
+ public CommonResult<Boolean> judgeNameDuplicate(@RequestBody Map<String, String> params) {
|
|
|
|
+ return ResultHelper.single(dataStrategy.judgeNameDuplicate(params.get("name")));
|
|
|
|
+ }
|
|
}
|
|
}
|