From a1b85ef72062ca80db35546e4216dd564f3e0f57 Mon Sep 17 00:00:00 2001 From: WangHan <wwh_work@126,com> Date: 星期四, 03 四月 2025 15:58:19 +0800 Subject: [PATCH] 问题与漏洞修改 --- consum-base/src/main/java/com/consum/base/controller/LWhWarningController.java | 35 +++++++++++++++++++---------------- 1 files changed, 19 insertions(+), 16 deletions(-) diff --git a/consum-base/src/main/java/com/consum/base/controller/LWhWarningController.java b/consum-base/src/main/java/com/consum/base/controller/LWhWarningController.java index 44f220f..d0f0eb1 100644 --- a/consum-base/src/main/java/com/consum/base/controller/LWhWarningController.java +++ b/consum-base/src/main/java/com/consum/base/controller/LWhWarningController.java @@ -1,21 +1,23 @@ package com.consum.base.controller; -import com.consum.base.BaseController; -import com.consum.base.core.service.LWhWarningCoreServiceImpl; -import com.consum.base.core.utils.CommonUtil; -import com.consum.base.pojo.query.WhWarningQry; -import com.consum.base.service.LWhWarningServiceImpl; -import com.consum.model.po.FinSysTenantUser; -import com.walker.db.page.GenericPager; -import com.walker.infrastructure.utils.DateUtils; -import com.walker.web.ResponseValue; -import io.swagger.annotations.Api; +import java.util.Map; + +import jakarta.annotation.Resource; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; -import javax.annotation.Resource; -import java.util.Map; +import com.consum.base.BaseController; +import com.consum.base.service.core.LWhWarningCoreService; +import com.consum.base.core.utils.CommonUtil; +import com.consum.base.pojo.query.WhWarningQry; +import com.consum.base.service.LWhWarningService; +import com.consum.model.po.FinSysTenantUser; +import com.walker.db.page.GenericPager; +import com.walker.infrastructure.utils.DateUtils; +import com.walker.web.ResponseValue; + + /** * @ClassName LWhWarningConfigController @@ -26,11 +28,14 @@ **/ @RestController @RequestMapping("/pc/warehouse/warning") -@Api(value = "棰勮鏌ヨ", tags = "棰勮鏌ヨ") +// @Api(value = "棰勮鏌ヨ", tags = "棰勮鏌ヨ") public class LWhWarningController extends BaseController { @Resource - private LWhWarningServiceImpl lWhWarningService; + private LWhWarningService lWhWarningService; + @Resource + private LWhWarningCoreService lWhWarningCoreService; + @GetMapping("/getWarningTypeNum") public ResponseValue getWarningTypeNum() { @@ -78,8 +83,6 @@ } - @Resource - private LWhWarningCoreServiceImpl lWhWarningCoreService; @GetMapping("/handerChenKuCun") -- Gitblit v1.9.1