From 30566635a2a70126d13069b6fddaea204fd91405 Mon Sep 17 00:00:00 2001 From: "jiakun.lin" Date: Thu, 15 Apr 2021 09:23:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=90=E7=BB=A9=E7=AE=A1=E7=90=86-=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E5=A2=9E=E5=8A=A0systemid?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/msdw/tms/api/AchievementManagementApi.java | 1 + .../msdw/tms/controller/AchievementManagementController.java | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/src/main/java/com/msdw/tms/api/AchievementManagementApi.java b/src/main/java/com/msdw/tms/api/AchievementManagementApi.java index b6b2635..cc0eb4e 100644 --- a/src/main/java/com/msdw/tms/api/AchievementManagementApi.java +++ b/src/main/java/com/msdw/tms/api/AchievementManagementApi.java @@ -35,6 +35,7 @@ public interface AchievementManagementApi { @RequestParam(value = "开始时间", required = false) String startTime, @RequestParam(value = "结束时间", required = false) String endTime, @RequestParam(value = "月份", required = false) Integer month, + @RequestParam(value = "系统",required = true) Integer systemId, @RequestParam(value = "页码", required = true) Integer page, @RequestParam(value = "页数大小", required = true) Integer size); diff --git a/src/main/java/com/msdw/tms/controller/AchievementManagementController.java b/src/main/java/com/msdw/tms/controller/AchievementManagementController.java index 38fbcb4..269de60 100644 --- a/src/main/java/com/msdw/tms/controller/AchievementManagementController.java +++ b/src/main/java/com/msdw/tms/controller/AchievementManagementController.java @@ -108,6 +108,7 @@ public class AchievementManagementController implements AchievementManagementApi @RequestParam(required = false) String startTime, @RequestParam(required = false) String endTime, @RequestParam(required = false) Integer month, + @RequestParam(required = true) Integer systemId, @RequestParam(required = true) Integer page, @RequestParam(required = true) Integer size) { ResultsVo vo = new ResultsVo(); @@ -125,6 +126,9 @@ public class AchievementManagementController implements AchievementManagementApi if (endTime != null) { vo.setEndTime(endTime); } + if (systemId != null){ + vo.setSystemId(systemId); + } PageInfo result = service.newList(vo, page, size); return R.ok().put("data", result); }