From 21dbabc2e716a0263130ac23747f726d4d128e4a Mon Sep 17 00:00:00 2001 From: 101captain <237651143@qq.com> Date: 星期六, 28 五月 2022 18:43:35 +0800 Subject: [PATCH] bug修改 --- springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/ComActAcidRecordApi.java | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/ComActAcidRecordApi.java b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/ComActAcidRecordApi.java index 032a1e4..e3921f6 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/ComActAcidRecordApi.java +++ b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/ComActAcidRecordApi.java @@ -8,6 +8,7 @@ import com.panzhihua.common.model.vos.community.acid.ComActAcidRecordVO; import com.panzhihua.common.model.vos.community.reserve.FiveCount; import com.panzhihua.common.service.community.CommunityService; +import com.panzhihua.common.utlis.StringUtils; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import lombok.extern.slf4j.Slf4j; @@ -45,7 +46,6 @@ @ApiOperation(value = "分页查询",response = ComActAcidRecordVO.class) @PostMapping("queryAll") public R selectAll(@RequestBody ComActAcidRecordDTO comActAcidRecordDTO) { - comActAcidRecordDTO.setUserId(this.getUserId()); return this.communityService.selectAllComActAcidRecord(comActAcidRecordDTO); } @@ -90,6 +90,17 @@ } /** + * 修改数据 + * + * @param comActAcidRecordVO 实体对象 + * @return 修改结果 + */ + @ApiOperation(value = "修改数据") + @PostMapping("/updateApplets") + public R updateApplets(@RequestBody ComActAcidRecordVO comActAcidRecordVO) { + return this.communityService.updateApplets(comActAcidRecordVO); + } + /** * 删除数据 * * @param id 主键结合 -- Gitblit v1.7.1