Commit 395b9a692656728a085b9473e6e513ea5b642dcb

Authored by jiangjiazhi
1 parent 1e8b343b0f

增加是否通知

Showing 1 changed file with 4 additions and 0 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/AntenatalExaminationController.java View file @ 395b9a6
... ... @@ -37,6 +37,7 @@
37 37 */
38 38 @RequestMapping(method = RequestMethod.GET, value = "/antexmanage")
39 39 @ResponseBody
  40 + @TokenRequired
40 41 public BaseResponse queryAntenatalExamination(@Valid AntenatalExaminationQueryRequest antenatalExaminationQueryRequest) {
41 42 if (StringUtils.isEmpty(antenatalExaminationQueryRequest.getCardNo()) && StringUtils.isEmpty(antenatalExaminationQueryRequest.getVcCardNo())) {
42 43 return new BaseResponse().setErrorcode(ErrorCodeConstants.PARAMETER_ERROR).setErrormsg("请输出参数.");
... ... @@ -81,6 +82,7 @@
81 82 */
82 83 @RequestMapping(method = RequestMethod.GET, value = "/antex")
83 84 @ResponseBody
  85 + @TokenRequired
84 86 public BaseResponse findOneAntById(@Valid AntExQueryRequest antExQueryRequest) {
85 87 return antenatalExaminationFacade.findOneAntExById(antExQueryRequest);
86 88 }
... ... @@ -93,6 +95,7 @@
93 95 */
94 96 @RequestMapping(method = RequestMethod.DELETE, value = "/antex")
95 97 @ResponseBody
  98 + @TokenRequired
96 99 public BaseResponse delOneAntById(@Valid AntExQueryRequest antExQueryRequest) {
97 100 return antenatalExaminationFacade.delOneAntEx(antExQueryRequest);
98 101 }
... ... @@ -110,6 +113,7 @@
110 113 */
111 114 @RequestMapping(method = RequestMethod.GET, value = "/antex/antexlist")
112 115 @ResponseBody
  116 + @TokenRequired
113 117 public BaseResponse findAntExList(@Valid AntExListQueryRequest exListQueryRequest) {
114 118 return antenatalExaminationFacade.findAntExList(exListQueryRequest);
115 119 }