|
@@ -55,13 +55,13 @@ public class DiagramController {
|
|
|
*/
|
|
|
@ApiOperation("系统图列表接口")
|
|
|
@PostMapping("/getDiagrams")
|
|
|
- public CommonResult<List<Diagram>> getDiagrams(@RequestBody Diagram diagram) {
|
|
|
+ public CommonResult<List<Diagram>> getDiagrams(@RequestBody Map<String, Object> diagram) {
|
|
|
BdtpRequest current = BdtpRequest.getCurrent();
|
|
|
String groupCode = current.getGroupCode();
|
|
|
String projectId = current.getProjectId();
|
|
|
|
|
|
List<Diagram> diagramList = dataStrategy.getDiagrams(null, projectId,
|
|
|
- diagram.getSystemId(), groupCode, diagram.getName(), diagram.getFlag());
|
|
|
+ (String)diagram.get("systemId"), groupCode, (String)diagram.get("name"), (Boolean) diagram.get("flag"));
|
|
|
|
|
|
return ResultHelper.multi(diagramList);
|
|
|
}
|