From 55001c02a1e6d24353a2c1127e84d3d81c47fa8f Mon Sep 17 00:00:00 2001 From: zcxlsm Date: Thu, 11 Sep 2025 21:41:20 +0800 Subject: [PATCH] =?UTF-8?q?feat(Property):=20=E5=B0=8F=E7=A8=8B=E5=BA=8F?= =?UTF-8?q?=E7=83=AD=E9=97=A8=E6=B4=BB=E5=8A=A8=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/xcx/XCustomerActivityController.java | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/ruoyi-modules/Property/src/main/java/org/dromara/property/controller/xcx/XCustomerActivityController.java b/ruoyi-modules/Property/src/main/java/org/dromara/property/controller/xcx/XCustomerActivityController.java index 40fd3565..1700410e 100644 --- a/ruoyi-modules/Property/src/main/java/org/dromara/property/controller/xcx/XCustomerActivityController.java +++ b/ruoyi-modules/Property/src/main/java/org/dromara/property/controller/xcx/XCustomerActivityController.java @@ -1,17 +1,9 @@ package org.dromara.property.controller.xcx; import cn.dev33.satoken.annotation.SaCheckPermission; -import jakarta.servlet.http.HttpServletResponse; -import jakarta.validation.constraints.NotEmpty; import jakarta.validation.constraints.NotNull; import lombok.RequiredArgsConstructor; import org.dromara.common.core.domain.R; -import org.dromara.common.core.validate.AddGroup; -import org.dromara.common.core.validate.EditGroup; -import org.dromara.common.excel.utils.ExcelUtil; -import org.dromara.common.idempotent.annotation.RepeatSubmit; -import org.dromara.common.log.annotation.Log; -import org.dromara.common.log.enums.BusinessType; import org.dromara.common.mybatis.core.page.PageQuery; import org.dromara.common.mybatis.core.page.TableDataInfo; import org.dromara.common.web.core.BaseController; @@ -21,14 +13,13 @@ import org.dromara.property.service.ICustomerActivityService; import org.springframework.validation.annotation.Validated; import org.springframework.web.bind.annotation.*; -import java.util.List; /** * 客户服务-活动 * 前端访问路由地址为:/property/activity * * @author lsm - * @since 2025-09-11 + * @since 2025-09-11 */ @Validated @RequiredArgsConstructor @@ -55,7 +46,7 @@ public class XCustomerActivityController extends BaseController { @SaCheckPermission("xcx:activity:query") @GetMapping("/{id}") public R getInfo(@NotNull(message = "主键不能为空") - @PathVariable("id") Long id) { + @PathVariable("id") Long id) { return R.ok(customerActivityService.queryById(id)); } }