healthbody
This commit is contained in:
parent
dd28640b3b
commit
5d343bb555
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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"})
|
||||
|
|
|
|||
Loading…
Reference in New Issue