healthbody

This commit is contained in:
sxu 2025-03-13 10:47:45 +08:00
parent dd28640b3b
commit 5d343bb555
2 changed files with 6 additions and 6 deletions

View File

@ -22,8 +22,8 @@ public class HealthMedicalReportTmplService {
return this.healthMedicalReportTmplMapper.listTemplate();
}
public List<HealthMedicalReportProjectVO> getTemplateInfoByTmplId(Long templateId) {
List<HealthMedicalReportProjectVO> healthMedicalReportProjectVOS = this.healthMedicalReportTmplMapper.listReportProject(templateId);
public List<HealthMedicalReportProjectVO> getTemplateInfoByTmplId(Long medicalTemplateId) {
List<HealthMedicalReportProjectVO> healthMedicalReportProjectVOS = this.healthMedicalReportTmplMapper.listReportProject(medicalTemplateId);
if (CollectionUtil.isEmpty(healthMedicalReportProjectVOS)) {
return healthMedicalReportProjectVOS;
} else {

View File

@ -43,8 +43,8 @@ public class HealthMobileMedicalReportController {
@PostMapping({"/get-medicalreport-info"})
// @RequiresGuest
@ApiOperation("根据体检id查询报告详情")
public List<HealthCustMedicalReportProjectVO> getMedicalReportInfo(Long medicalId) {
return this.healthCustMedicalReportService.getMedicalReportInfo(medicalId);
public List<HealthCustMedicalReportProjectVO> getMedicalReportInfo(@RequestBody HealthCustMedicalReportEditDTO dto) {
return this.healthCustMedicalReportService.getMedicalReportInfo(dto.getMedicalId());
}
@PostMapping({"/list-template"})
@ -57,8 +57,8 @@ public class HealthMobileMedicalReportController {
@PostMapping({"/get-template-info"})
// @RequiresGuest
@ApiOperation("根据体检报告模板id查询模板详情")
public List<HealthMedicalReportProjectVO> getTemplateInfo(Long templateId) {
return this.healthMedicalReportTmplService.getTemplateInfoByTmplId(templateId);
public List<HealthMedicalReportProjectVO> getTemplateInfo(@RequestBody HealthMedicalReportTmplVO vo) {
return this.healthMedicalReportTmplService.getTemplateInfoByTmplId(vo.getMedicalTemplateId());
}
@PostMapping({"/edit-medicalreport"})