|
@ -1,5 +1,6 @@
|
|
|
package com.yihu.ehr.analyze.controller.dataQuality;
|
|
|
|
|
|
import com.yihu.ehr.analyze.common.AnalyzerApi;
|
|
|
import com.yihu.ehr.analyze.feign.StandardServiceClient;
|
|
|
import com.yihu.ehr.analyze.service.dataQuality.DqDatasetWarningService;
|
|
|
import com.yihu.ehr.analyze.service.dataQuality.DqPaltformReceiveWarningService;
|
|
@ -592,4 +593,18 @@ public class WarningSettingEndPoint extends EnvelopRestEndPoint {
|
|
|
return envelop;
|
|
|
}
|
|
|
|
|
|
@RequestMapping(value = AnalyzerApi.StandVersion.GetLastVersion, method = RequestMethod.GET)
|
|
|
@ApiOperation(value = "获取某个机构已发布的最新版本号", notes = "获取某个机构已发布的最新版本号")
|
|
|
public Envelop getLastStandByOrgCode(@ApiParam(value="机构code,不传则默认为jkzl",defaultValue = "jkzl")
|
|
|
@RequestParam(value = "orgCode",required = false) String orgCode){
|
|
|
if(StringUtils.isBlank(orgCode)){
|
|
|
orgCode = "jkzl";
|
|
|
}
|
|
|
String lastStandByOrgCode = standardServiceClient.getLastStandByOrgCode(orgCode);
|
|
|
Envelop envelop = new Envelop();
|
|
|
envelop.setSuccessFlg(true);
|
|
|
envelop.setObj(lastStandByOrgCode);
|
|
|
return envelop;
|
|
|
}
|
|
|
|
|
|
}
|