Commit 5e17a283 authored by mcb's avatar mcb

commit

parent 9210585f
......@@ -72,19 +72,19 @@ public class OfflineSynchController {
, @ApiImplicitParam(name = "datasourceTypeId", value = "数据源类型id")
, @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);
return jsonResult;
}
/**
* 获取数据源——下拉框
* 获取数据源类型——下拉框
*
* @return
* @author Bellamy
* @since 2021-01-21
*/
@ApiOperation(value = "获取数据源—下拉框", notes = "获取数据源—下拉框")
@ApiOperation(value = "获取数据源类型—下拉框", notes = "获取数据源类型—下拉框")
@GetMapping(value = "/datasourceList")
public JsonResult getDatasourceList() throws Exception {
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