From 70d2a5d0f9c6951b2d4cac954041ed73582ff7eb Mon Sep 17 00:00:00 2001
From: liujie <1793218484@qq.com>
Date: 星期一, 09 六月 2025 11:54:00 +0800
Subject: [PATCH] 6.9新增登录失败冻结逻辑

---
 springcloud_k8s_panzhihuazhihuishequ/service_property/src/main/java/com/panzhihua/service_property/api/ComPropertyRepairApi.java |   27 ++++++++++++++++++++++++++-
 1 files changed, 26 insertions(+), 1 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_property/src/main/java/com/panzhihua/service_property/api/ComPropertyRepairApi.java b/springcloud_k8s_panzhihuazhihuishequ/service_property/src/main/java/com/panzhihua/service_property/api/ComPropertyRepairApi.java
index 24f89fc..04c79e3 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_property/src/main/java/com/panzhihua/service_property/api/ComPropertyRepairApi.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_property/src/main/java/com/panzhihua/service_property/api/ComPropertyRepairApi.java
@@ -8,10 +8,13 @@
 import com.panzhihua.common.utlis.RSAUtils;
 import com.panzhihua.service_property.entity.ComPropertyRepair;
 import com.panzhihua.service_property.service.ComPropertyRepairService;
+import lombok.extern.slf4j.Slf4j;
 import org.springframework.beans.BeanUtils;
 import org.springframework.web.bind.annotation.*;
 
 import javax.annotation.Resource;
+
+import static java.util.Objects.nonNull;
 
 /**
  * (ComPropertyRepair)表控制层
@@ -21,6 +24,7 @@
  */
 @RestController
 @RequestMapping("comPropertyRepair")
+@Slf4j
 public class ComPropertyRepairApi {
     /**
      * 服务对象
@@ -37,6 +41,15 @@
         return this.comPropertyRepairService.pageList(commonPage);
     }
 
+    /**
+     * 分页查询所有数据 脱敏
+     * @return 所有数据
+     */
+    @PostMapping("queryAllDesensitize")
+    public R selectAllDesensitize(@RequestBody CommonPage commonPage) {
+        return this.comPropertyRepairService.pageListDesensitize(commonPage);
+    }
+
 
 
     /**
@@ -49,6 +62,19 @@
     public R selectOne(@PathVariable("id") Long id) {
         return this.comPropertyRepairService.selectDetail(id);
     }
+
+
+    /**
+     * 通过主键查询单条数据 脱敏
+     *
+     * @param id 主键
+     * @return 单条数据
+     */
+    @GetMapping("desensitize/{id}")
+    public R selectOneDesensitize(@PathVariable("id") Long id) {
+        return this.comPropertyRepairService.selectDetailDesensitize(id);
+    }
+
 
     /**
      * 新增数据
@@ -73,7 +99,6 @@
         }
         return R.ok(this.comPropertyRepairService.save(comPropertyRepair));
     }
-
 
     /**
      * 修改数据

--
Gitblit v1.7.1