Commit 33ba84b810edcc92e9b2db3affbd55cf522d806a

Authored by jiangjiazhi
1 parent 10e7249816

产妇增加字段

Showing 1 changed file with 2 additions and 2 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/AntenatalExaminationController.java View file @ 33ba84b
... ... @@ -44,7 +44,7 @@
44 44 */
45 45 @RequestMapping(method = RequestMethod.POST, value = "/antexmanage")
46 46 @ResponseBody
47   - public BaseResponse addOneAntenatalExamination(@Valid AntExAddRequest antExAddRequest) {
  47 + public BaseResponse addOneAntenatalExamination(@Valid @RequestBody AntExAddRequest antExAddRequest) {
48 48 return antenatalExaminationFacade.addOneAntEx(antExAddRequest);
49 49 }
50 50 /**
... ... @@ -55,7 +55,7 @@
55 55 */
56 56 @RequestMapping(method = RequestMethod.POST, value = "/antex")
57 57 @ResponseBody
58   - public BaseResponse addOneAntEx(@Valid AntExcAddRequest antExcAddRequest){
  58 + public BaseResponse addOneAntEx(@Valid @RequestBody AntExcAddRequest antExcAddRequest){
59 59 return antenatalExaminationFacade.addOneAnetExChu(antExcAddRequest);
60 60 }
61 61