From 1fbdd1f48a5ec551a4c044d4babd95633e36d62e Mon Sep 17 00:00:00 2001 From: CeDo <cedoo@qq.com> Date: 星期四, 03 六月 2021 21:44:21 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/test_future_wangge' into test_future_wangge --- springcloud_k8s_panzhihuazhihuishequ/grid_app/src/main/java/com/panzhihua/grid_app/api/EventGridDataApi.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/grid_app/src/main/java/com/panzhihua/grid_app/api/EventGridDataApi.java b/springcloud_k8s_panzhihuazhihuishequ/grid_app/src/main/java/com/panzhihua/grid_app/api/EventGridDataApi.java index 3695e7c..ac6af3f 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/grid_app/src/main/java/com/panzhihua/grid_app/api/EventGridDataApi.java +++ b/springcloud_k8s_panzhihuazhihuishequ/grid_app/src/main/java/com/panzhihua/grid_app/api/EventGridDataApi.java @@ -17,6 +17,7 @@ import com.panzhihua.common.service.grid.GridService; import javax.annotation.Resource; +import javax.validation.Valid; import javax.ws.rs.PathParam; import com.panzhihua.common.model.vos.grid.EventGridDataDetailsVO; @@ -58,9 +59,8 @@ */ @GetMapping("/myGridTodoData") @ApiOperation(value = "网格待处理统计数据", response= UserEventGridDataVO.class) - R myTodoGridData(){ + R myTodoGridData(@Valid @ModelAttribute EventGridTodoDataDTO eventGridTodoDataDTO){ LoginUserInfoVO loginUserInfoVO = this.getLoginUserInfo(); - EventGridTodoDataDTO eventGridTodoDataDTO = new EventGridTodoDataDTO(); eventGridTodoDataDTO.setUserId(loginUserInfoVO.getUserId()); return gridService.getGridTodoData(eventGridTodoDataDTO); } -- Gitblit v1.7.1