From 4e6d844f4e117dd8d22ab812c907dd3c759400d1 Mon Sep 17 00:00:00 2001 From: lidongdong <1459917685@qq.com> Date: 星期二, 14 十一月 2023 13:41:21 +0800 Subject: [PATCH] 新增问题清单列表 详情增加搜索 是否打卡 是否参加字段 --- springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/java/com/panzhihua/service_dangjian/api/NeedProblemApi.java | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/java/com/panzhihua/service_dangjian/api/NeedProblemApi.java b/springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/java/com/panzhihua/service_dangjian/api/NeedProblemApi.java index aa1bd6a..a614c10 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/java/com/panzhihua/service_dangjian/api/NeedProblemApi.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/java/com/panzhihua/service_dangjian/api/NeedProblemApi.java @@ -23,9 +23,10 @@ @RequestParam(value = "status", required = false)String status, @RequestParam(value = "kind", required = false)String kind, @RequestParam(value = "userId", required = false)String userId, + @RequestParam(value = "userIds", required = false)String userIds, @RequestParam(value = "communityId", required = false)String communityId) { - return R.ok(inventoryService.getList(pageNum,pageSize,search,status,kind,userId,communityId)); + return R.ok(inventoryService.getList(pageNum,pageSize,search,status,kind,userIds,userId,communityId)); } @GetMapping("/getMyJoinNeedProblemList") @@ -34,15 +35,16 @@ @RequestParam(value = "search", required = false) String search, @RequestParam(value = "status", required = false) String status, @RequestParam(value = "kind", required = false) String kind, + @RequestParam(value = "userIds", required = false) String userIds, @RequestParam(value = "userId", required = false)String userId) { - return R.ok(inventoryService.getMyJoinList(pageNum,pageSize,search,status,kind,userId)); + return R.ok(inventoryService.getMyJoinList(pageNum,pageSize,search,status,kind,userIds,userId)); } @GetMapping("/getDetails") - public R getNeedProblemDetails(@RequestParam("id") String id) + public R getNeedProblemDetails(@RequestParam("id") String id,@RequestParam("userIds") String userIds) { - return R.ok(inventoryService.getDetails(id)); + return R.ok(inventoryService.getDetails(id,userIds)); } @PostMapping("/addData") -- Gitblit v1.7.1