|
|
@ -36,7 +36,7 @@ import java.util.List; |
|
|
|
|
|
|
|
/** |
|
|
|
* @description: |
|
|
|
* @author: whjswitchProject |
|
|
|
* @author: whj |
|
|
|
* @time: 2021/9/3 16:38 |
|
|
|
*/ |
|
|
|
@Api(tags = "机构(质控,医院)相关") |
|
|
@ -48,6 +48,16 @@ public class OrganizationController { |
|
|
|
@Resource |
|
|
|
private IOrganizationService organizationService; |
|
|
|
|
|
|
|
@MustLogin |
|
|
|
@ApiOperation(value = "查询项目对应的机构", notes = "机构类型0:省卫健委 1:省质控 2:市质控 3:医院") |
|
|
|
@RequestMapping(value = "/getByProject", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"}) |
|
|
|
public JsonResponse<OrganizationVo.Info> getByProject(@ApiParam @Validated @RequestBody QueryDto<OrganizationDto.Project> params) { |
|
|
|
log.info("查询项目对应的机构:{}", params); |
|
|
|
OrganizationVo.Info info = organizationService.getByProject(params.getParam(), params.getUserId()); |
|
|
|
log.info("查询项目对应的机构:{}", info); |
|
|
|
return JsonResponse.newInstance().ok(info); |
|
|
|
} |
|
|
|
|
|
|
|
@MustLogin |
|
|
|
@ApiOperation(value = "医院排名", notes = "医院排名") |
|
|
|
@RequestMapping(value = "/rank", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"}) |
|
|
|