From c3921e625320712466cad5d018669c8dc2ac76f9 Mon Sep 17 00:00:00 2001 From: manailin <261030956@qq.com> Date: 星期日, 25 九月 2022 00:38:33 +0800 Subject: [PATCH] [修改] 三说代码事件流程代码提交 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComActAcidRecordApi.java | 19 +++++++++++++++++-- 1 files changed, 17 insertions(+), 2 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComActAcidRecordApi.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComActAcidRecordApi.java index 93bf0bf..d7dd10e 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComActAcidRecordApi.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComActAcidRecordApi.java @@ -3,6 +3,7 @@ import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.extension.api.ApiController; +import com.panzhihua.common.model.dtos.community.acid.BatchCheckAcidRecordDTO; import com.panzhihua.common.model.dtos.community.acid.ComActAcidRecordDTO; import com.panzhihua.common.model.vos.R; import com.panzhihua.common.model.dtos.property.CommonPage; @@ -103,6 +104,16 @@ } /** + * 批量核对防疫信息数据 + * @param batchCheckAcidRecordDTO + * @return + */ + @PostMapping("/batchCheck") + public R batchCheck(@RequestBody BatchCheckAcidRecordDTO batchCheckAcidRecordDTO) { + return this.comActAcidRecordService.batchCheck(batchCheckAcidRecordDTO); + } + + /** * 小程序修改填报记录 * * @param comActAcidRecordVO 实体对象 @@ -139,8 +150,8 @@ * @return */ @GetMapping("fiveCountPlus") - public R fiveCountPlus(@RequestParam("date")String date,@RequestParam("localCity")String localCity){ - return this.comActAcidRecordService.fiveCountPlus(date,localCity); + public R fiveCountPlus(@RequestParam("date")String date,@RequestParam("localCity")String localCity,@RequestParam(value = "loginAccount",required = false)String loginAccount){ + return this.comActAcidRecordService.fiveCountPlus(date,localCity,loginAccount); } /** @@ -161,4 +172,8 @@ public R detailByApp(@RequestParam("id")Long id,@RequestParam("localCity")String localCity){ return this.comActAcidRecordService.detailByApp(id,localCity); } + @GetMapping("/test") + public R test(){ + return this.comActAcidRecordService.test(); + } } -- Gitblit v1.7.1