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); }