Commit 703904df6b01ca417dca93404534a6e7571c618c
1 parent
9243aaf1d6
Exists in
dev
小程序调用-产后康复
Showing 1 changed file with 0 additions and 42 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/MedicalRecordController.java
View file @
703904d
| 1 | -package com.lyms.platform.operate.web.controller; | |
| 2 | - | |
| 3 | - | |
| 4 | -import com.lyms.platform.common.base.BaseController; | |
| 5 | -import com.lyms.platform.common.result.BaseResponse; | |
| 6 | -import com.lyms.platform.operate.web.facade.MedicalRecordFacade; | |
| 7 | -import com.lyms.platform.operate.web.request.HisMedicalRecordRequest; | |
| 8 | -import org.apache.log4j.Logger; | |
| 9 | -import org.springframework.beans.factory.annotation.Autowired; | |
| 10 | -import org.springframework.stereotype.Controller; | |
| 11 | -import org.springframework.web.bind.annotation.RequestBody; | |
| 12 | -import org.springframework.web.bind.annotation.RequestMapping; | |
| 13 | -import org.springframework.web.bind.annotation.RequestMethod; | |
| 14 | -import org.springframework.web.bind.annotation.ResponseBody; | |
| 15 | - | |
| 16 | -import java.util.List; | |
| 17 | - | |
| 18 | - | |
| 19 | -/* | |
| 20 | - * his病案数据分类写表 | |
| 21 | - * hrp | |
| 22 | - * 2024-05-07 | |
| 23 | - */ | |
| 24 | -@Controller("/hisRecord") | |
| 25 | -public class MedicalRecordController extends BaseController { | |
| 26 | - | |
| 27 | - private Logger log = Logger.getLogger(this.getClass()); | |
| 28 | - | |
| 29 | - @Autowired | |
| 30 | - private MedicalRecordFacade medicalRecordFacade; | |
| 31 | - | |
| 32 | - /** | |
| 33 | - * his病案数据分类写表 | |
| 34 | - * | |
| 35 | - * @return | |
| 36 | - */ | |
| 37 | - @RequestMapping(method = RequestMethod.POST, value = "/saveMedicalRecord") | |
| 38 | - @ResponseBody | |
| 39 | - public BaseResponse saveBabyDiagnose(@RequestBody List<HisMedicalRecordRequest> hisList) { | |
| 40 | - return medicalRecordFacade.saveHisMedicalRecord(hisList); | |
| 41 | - } | |
| 42 | -} |