| | |
| | | */ |
| | | @ApiOperation("获取医疗评估患者基本信息列表") |
| | | //// @PreAuthorize("@ss.hasPermi('project:medicalevaluation:list')") |
| | | @PostMapping("/evaluateBaseInfolist") |
| | | public Map<String, Object> evaluateBaseInfolist(@RequestBody MedicalEvaluationWithBaseInfoVO medicalEvaluationWithBaseInfoVO) { |
| | | @PostMapping("/medevaluateBaseInfolist") |
| | | public Map<String, Object> medevaluateBaseInfolist(@RequestBody MedicalEvaluationWithBaseInfoVO medicalEvaluationWithBaseInfoVO) { |
| | | Integer offset = PageUtils.getOffset(medicalEvaluationWithBaseInfoVO.getPageNum(), medicalEvaluationWithBaseInfoVO.getPageSize()); |
| | | medicalEvaluationWithBaseInfoVO.setPageNum(offset); |
| | | List<MedicalevaluationBaseInfoDTO> medicalEvaluationWithBaseInfoVOS = serviceMedicalevaluationService.evaluateBaseInfolist(medicalEvaluationWithBaseInfoVO); |
| | | List<MedicalevaluationBaseInfoDTO> medicalEvaluationWithBaseInfoVOS = serviceMedicalevaluationService.medevaluateBaseInfolist(medicalEvaluationWithBaseInfoVO); |
| | | |
| | | //获取总数 |
| | | medicalEvaluationWithBaseInfoVO.setPageNum(null); |
| | | medicalEvaluationWithBaseInfoVO.setPageSize(null); |
| | | Integer totalCount = 0; |
| | | List<MedicalevaluationBaseInfoDTO> total = serviceMedicalevaluationService.evaluateBaseInfolist(medicalEvaluationWithBaseInfoVO); |
| | | List<MedicalevaluationBaseInfoDTO> total = serviceMedicalevaluationService.medevaluateBaseInfolist(medicalEvaluationWithBaseInfoVO); |
| | | if (!CollectionUtils.isEmpty(total)) totalCount = total.size(); |
| | | return getDataTable(medicalEvaluationWithBaseInfoVOS, totalCount); |
| | | } |