|
|
@ -20,6 +20,7 @@ import org.springframework.web.bind.annotation.RequestMethod; |
|
|
|
import org.springframework.web.bind.annotation.RestController; |
|
|
|
|
|
|
|
import javax.annotation.Resource; |
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
/** |
|
|
|
* @author wang |
|
|
@ -50,4 +51,12 @@ public class BiologicalSamplesController { |
|
|
|
log.info("查询生物样本完成"); |
|
|
|
return JsonResponse.newInstance().ok(selBiologPageInfo); |
|
|
|
} |
|
|
|
@MustLogin |
|
|
|
@ApiOperation(value = "统计生物样本数量", notes = "w:统计每个医院的生物样本的数量") |
|
|
|
@RequestMapping(value = "/selAllYBS", method = RequestMethod.GET, produces = {"application/json;charset=UTF-8"}) |
|
|
|
public JsonResponse<List<BiologicalSamplesVo.SelBiologNums>> selAllYBS(){ |
|
|
|
List<BiologicalSamplesVo.SelBiologNums> selBiologNumsList=patientService.selAllYBS(); |
|
|
|
return JsonResponse.newInstance().ok(selBiologNumsList); |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|