From ce4a770744d7a0b4e4ea3b5101556b94e72bdf1c Mon Sep 17 00:00:00 2001 From: lidongdong <1459917685@qq.com> Date: 星期二, 14 十一月 2023 17:49:20 +0800 Subject: [PATCH] 修改打卡 --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/bracelet/CommunityBraceletService.java | 19 +++++++++---------- 1 files changed, 9 insertions(+), 10 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/bracelet/CommunityBraceletService.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/bracelet/CommunityBraceletService.java index 136cb56..0a38ed5 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/bracelet/CommunityBraceletService.java +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/bracelet/CommunityBraceletService.java @@ -23,10 +23,9 @@ @GetMapping("/braceletApi/getData") R getData(@RequestParam("pageNum") Integer pageNum, @RequestParam("pageSize") Integer pageSize, - @RequestParam("communityId") String communityId, - @RequestParam("userName") String userName, - @RequestParam("phone") String phone); - + @RequestParam(value = "communityId",required = false) String communityId, + @RequestParam(value = "userName",required = false) String userName, + @RequestParam(value = "phone",required = false) String phone); /** * 设备用户详情数据 @@ -62,12 +61,12 @@ @GetMapping("/braceletApi/getEarlyWarningList") R getList(@RequestParam("pageNum") Integer pageNum, @RequestParam("pageSize") Integer pageSize, - @RequestParam("communityId") String communityId, - @RequestParam("equipmentNumber") String equipmentNumber, - @RequestParam("disposeUserId") String disposeUserId, - @RequestParam("type") String type, - @RequestParam("userName") String userName, - @RequestParam("phone") String phone); + @RequestParam(value = "communityId",required = false) String communityId, + @RequestParam(value = "equipmentNumber",required = false) String equipmentNumber, + @RequestParam(value = "disposeUserId",required = false) String disposeUserId, + @RequestParam(value = "type",required = false) String type, + @RequestParam(value = "userName",required = false) String userName, + @RequestParam(value = "phone",required = false) String phone); /** * 获取单个预警信息详情 -- Gitblit v1.7.1