From 2bd9debe1829fdce93c62028aa97716a1cb2defe Mon Sep 17 00:00:00 2001
From: fengjin <1435304038@qq.com>
Date: 星期二, 19 九月 2023 10:34:22 +0800
Subject: [PATCH] 一帕拉功能(一边想四月里大哥一边写的)

---
 springcloud_k8s_panzhihuazhihuishequ/huacheng_union_applets/src/main/java/com/chuangongzhijia/huacheng_union_applets/api/UnionReportApi.java |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/huacheng_union_applets/src/main/java/com/chuangongzhijia/huacheng_union_applets/api/UnionReportApi.java b/springcloud_k8s_panzhihuazhihuishequ/huacheng_union_applets/src/main/java/com/chuangongzhijia/huacheng_union_applets/api/UnionReportApi.java
index abcfcdc..63e867c 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/huacheng_union_applets/src/main/java/com/chuangongzhijia/huacheng_union_applets/api/UnionReportApi.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/huacheng_union_applets/src/main/java/com/chuangongzhijia/huacheng_union_applets/api/UnionReportApi.java
@@ -4,7 +4,6 @@
 import com.panzhihua.common.model.vos.R;
 import com.panzhihua.common.service.community.CommunityUnionService;
 import io.swagger.annotations.Api;
-import io.swagger.annotations.ApiOperation;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.web.bind.annotation.PostMapping;
 import org.springframework.web.bind.annotation.RequestBody;
@@ -28,9 +27,9 @@
      * @param unionReportDto
      * @return 新增结果
      */
-    @ApiOperation(value = "户外劳工站上报表")
     @PostMapping("/add")
     public R add(@RequestBody UnionReportDto unionReportDto) {
+        unionReportDto.setIsApplets(3);
         return  communityUnionService.unionReportAdd(unionReportDto);
     }
 
@@ -41,9 +40,9 @@
      * @param unionReportDto
      * @return 动态结果
      */
-    @ApiOperation(value = "分页户外劳工站上报表")
     @PostMapping("/query")
     public R query(@RequestBody UnionReportDto unionReportDto) {
+        unionReportDto.setIsApplets(3);
         return communityUnionService.unionReportQuery(unionReportDto);
     }
 }

--
Gitblit v1.7.1