From 2bd9ddd56697e202a443d04139f854afa2559e95 Mon Sep 17 00:00:00 2001 From: WangHan <wwh_work@126.com> Date: 星期一, 29 四月 2024 14:26:58 +0800 Subject: [PATCH] 漏洞修改 --- consum-base/src/main/java/com/consum/base/controller/LWhWarningController.java | 34 +++++++++++++++++++--------------- 1 files changed, 19 insertions(+), 15 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..7ea7202 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,24 @@ 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 javax.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; + +import io.swagger.annotations.Api; /** * @ClassName LWhWarningConfigController @@ -30,7 +33,10 @@ public class LWhWarningController extends BaseController { @Resource - private LWhWarningServiceImpl lWhWarningService; + private LWhWarningService lWhWarningService; + @Resource + private LWhWarningCoreService lWhWarningCoreService; + @GetMapping("/getWarningTypeNum") public ResponseValue getWarningTypeNum() { @@ -78,8 +84,6 @@ } - @Resource - private LWhWarningCoreServiceImpl lWhWarningCoreService; @GetMapping("/handerChenKuCun") -- Gitblit v1.9.1