|
@ -3,6 +3,7 @@ package com.yihu.ehr.standard.controller;
|
|
|
import com.yihu.ehr.framework.model.DataGridResult;
|
|
|
import com.yihu.ehr.framework.model.DictionaryResult;
|
|
|
import com.yihu.ehr.framework.model.Result;
|
|
|
import com.yihu.ehr.framework.model.TreeResult;
|
|
|
import com.yihu.ehr.framework.util.controller.BaseController;
|
|
|
import com.yihu.ehr.standard.service.adapter.AdapterSchemeVersionService;
|
|
|
import io.swagger.annotations.Api;
|
|
@ -14,6 +15,7 @@ import org.springframework.web.bind.annotation.ResponseBody;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
import java.util.List;
|
|
|
|
|
|
@RestController("SchemeVersionController")
|
|
|
@RequestMapping("/adapterCenter")
|
|
@ -103,6 +105,16 @@ public class SchemeVersionController extends BaseController {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@RequestMapping("getVersionTree")
|
|
|
@ResponseBody
|
|
|
public List<TreeResult> getVersionTree() {
|
|
|
try {
|
|
|
return adapterSchemeVersion.getVersionTree();
|
|
|
} catch (Exception ex) {
|
|
|
return null;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 获取基础版本列表
|
|
|
* @param schemeId
|