Commit 47a225ca411b458c8f54e597dc243b04fdd19619

Authored by jiangjiazhi
1 parent ea0e14a9b6

产妇增加字段

Showing 1 changed file with 3 additions and 6 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/ApplyOrderController.java View file @ 47a225c
... ... @@ -10,10 +10,7 @@
10 10 import org.apache.commons.lang.StringUtils;
11 11 import org.springframework.beans.factory.annotation.Autowired;
12 12 import org.springframework.stereotype.Controller;
13   -import org.springframework.web.bind.annotation.RequestMapping;
14   -import org.springframework.web.bind.annotation.RequestMethod;
15   -import org.springframework.web.bind.annotation.RequestParam;
16   -import org.springframework.web.bind.annotation.ResponseBody;
  13 +import org.springframework.web.bind.annotation.*;
17 14  
18 15 import javax.validation.Valid;
19 16  
20 17  
... ... @@ -44,14 +41,14 @@
44 41 //增加转诊申请单
45 42 @RequestMapping(method = RequestMethod.POST,value = "/referralapply")
46 43 @ResponseBody
47   - public BaseResponse addReferralApplyOrder(@Valid ReferralApplyOrderAddRequest applyOrderAddRequest) {
  44 + public BaseResponse addReferralApplyOrder(@Valid @RequestBody ReferralApplyOrderAddRequest applyOrderAddRequest) {
48 45 return applyOrderFacade.addOneReferralApplyOrder(applyOrderAddRequest);
49 46 }
50 47  
51 48 @RequestMapping(method = RequestMethod.POST,value = "/sieveapply")
52 49 @ResponseBody
53 50 //增加产筛申请单
54   - public BaseResponse addSieveApplyOrder(@Valid SieveApplyOrderAddRequest applyOrderAddRequest) {
  51 + public BaseResponse addSieveApplyOrder(@Valid @RequestBody SieveApplyOrderAddRequest applyOrderAddRequest) {
55 52 return applyOrderFacade.addOneSieveApplyOrder(applyOrderAddRequest);
56 53 }
57 54 @RequestMapping(method = RequestMethod.GET,value = "/sieveapply")