Commit 5e17a283 authored by mcb's avatar mcb

commit

parent 9210585f
...@@ -72,19 +72,19 @@ public class OfflineSynchController { ...@@ -72,19 +72,19 @@ public class OfflineSynchController {
, @ApiImplicitParam(name = "datasourceTypeId", value = "数据源类型id") , @ApiImplicitParam(name = "datasourceTypeId", value = "数据源类型id")
, @ApiImplicitParam(name = "type", value = "01:来源,02目标") , @ApiImplicitParam(name = "type", value = "01:来源,02目标")
}) })
public JsonResult<List<SourceDbNameListDto>> getSourceDbList(@RequestParam Integer projectId, @RequestParam(required = false) String type, @RequestParam String datasourceTypeId) throws Exception { public JsonResult<List<SourceDbNameListDto>> getSourceDbList(@RequestParam Integer projectId, @RequestParam(required = false) String type, @RequestParam(required = false) String datasourceTypeId) throws Exception {
JsonResult<List<SourceDbNameListDto>> jsonResult = offlineSynchService.querygSourceDbList(projectId, datasourceTypeId); JsonResult<List<SourceDbNameListDto>> jsonResult = offlineSynchService.querygSourceDbList(projectId, datasourceTypeId);
return jsonResult; return jsonResult;
} }
/** /**
* 获取数据源——下拉框 * 获取数据源类型——下拉框
* *
* @return * @return
* @author Bellamy * @author Bellamy
* @since 2021-01-21 * @since 2021-01-21
*/ */
@ApiOperation(value = "获取数据源—下拉框", notes = "获取数据源—下拉框") @ApiOperation(value = "获取数据源类型—下拉框", notes = "获取数据源类型—下拉框")
@GetMapping(value = "/datasourceList") @GetMapping(value = "/datasourceList")
public JsonResult getDatasourceList() throws Exception { public JsonResult getDatasourceList() throws Exception {
JsonResult list = dmpSyncingDatasourceTypeService.queryDatasourceList(); JsonResult list = dmpSyncingDatasourceTypeService.queryDatasourceList();
......
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