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/UnionInspectionApi.java |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/huacheng_union_applets/src/main/java/com/chuangongzhijia/huacheng_union_applets/api/UnionInspectionApi.java b/springcloud_k8s_panzhihuazhihuishequ/huacheng_union_applets/src/main/java/com/chuangongzhijia/huacheng_union_applets/api/UnionInspectionApi.java
index e64d429..98f406d 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/huacheng_union_applets/src/main/java/com/chuangongzhijia/huacheng_union_applets/api/UnionInspectionApi.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/huacheng_union_applets/src/main/java/com/chuangongzhijia/huacheng_union_applets/api/UnionInspectionApi.java
@@ -1,17 +1,16 @@
 package com.chuangongzhijia.huacheng_union_applets.api;
 
 import com.panzhihua.common.model.dtos.equipment.UnionInspectionDto;
-import com.panzhihua.common.model.vos.LoginUserInfoVO;
+import com.panzhihua.common.model.dtos.equipment.UnionUserDto;
 import com.panzhihua.common.model.vos.R;
 import com.panzhihua.common.service.community.CommunityUnionService;
-import com.panzhihua.common.service.user.UserService;
 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;
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RestController;
+
 
 import javax.annotation.Resource;
 
@@ -31,10 +30,10 @@
      * @param unionInspectionDto
      * @return 新增结果
      */
-    @ApiOperation(value = "新增户外劳工站巡查")
     @PostMapping("/add")
     public R add(@RequestBody UnionInspectionDto unionInspectionDto) {
-        return  communityUnionService.add(unionInspectionDto);
+        unionInspectionDto.setIsApplets(3);
+        return communityUnionService.add(unionInspectionDto);
     }
 
 
@@ -44,9 +43,9 @@
      * @param unionInspectionDto
      * @return 动态结果
      */
-    @ApiOperation(value = "分页户外劳工站巡查")
     @PostMapping("/query")
     public R query(@RequestBody UnionInspectionDto unionInspectionDto) {
+        unionInspectionDto.setIsApplets(3);
         return communityUnionService.query(unionInspectionDto);
     }
 }

--
Gitblit v1.7.1