From 179c4d64313c9b7572778da4aaaf6c6584fe457d Mon Sep 17 00:00:00 2001 From: mitao <2763622819@qq.com> Date: 星期二, 20 五月 2025 23:48:08 +0800 Subject: [PATCH] 修改文件上传类型限制 --- springcloud_k8s_panzhihuazhihuishequ/service_property/src/main/java/com/panzhihua/service_property/api/ComPropertyRepairApi.java | 5 ++--- 1 files changed, 2 insertions(+), 3 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 98c9b0f..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,6 +8,7 @@ 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.*; @@ -23,6 +24,7 @@ */ @RestController @RequestMapping("comPropertyRepair") +@Slf4j public class ComPropertyRepairApi { /** * 服务对象 @@ -36,9 +38,6 @@ */ @PostMapping("queryAll") public R selectAll(@RequestBody CommonPage commonPage) { - if (nonNull(commonPage.getPropertyCheck()) && commonPage.getPropertyCheck()==1 && nonNull(commonPage.getPropertyId())){ - return this.comPropertyRepairService.pageListProperty(commonPage); - } return this.comPropertyRepairService.pageList(commonPage); } -- Gitblit v1.7.1