From 08f1b1f1804a8bd833d42f257908d80e88387b55 Mon Sep 17 00:00:00 2001
From: mitao <2763622819@qq.com>
Date: 星期五, 14 三月 2025 11:27:47 +0800
Subject: [PATCH] 3.5增加登录验证、修改密码、人员列表调整
---
springcloud_k8s_panzhihuazhihuishequ/huacheng_union_applets/src/main/java/com/chuangongzhijia/huacheng_union_applets/api/UnionInspectionApi.java | 14 +++++++-------
1 files changed, 7 insertions(+), 7 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..c4e0dd8 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,17 @@
package com.chuangongzhijia.huacheng_union_applets.api;
+import com.panzhihua.common.controller.BaseController;
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;
@@ -20,7 +20,7 @@
@Api(tags = {"户外劳工站巡查"})
@RestController
@RequestMapping("/unionInspection")
-public class UnionInspectionApi {
+public class UnionInspectionApi{
@Resource
private CommunityUnionService communityUnionService;
@@ -31,10 +31,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 +44,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