From de2f7fe7f23ac338b7d6997a74b3715e9b1a7cc7 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期四, 16 十一月 2023 10:56:18 +0800
Subject: [PATCH] 1、行政区保存功能,修改自动加上行政区级别,及删除标志 2、单点登录中增加了获得所有组织机构的功能,及增加组织机构枚举类型 3、增加农户实体、农户类型实体、分水口实体等相关功能
---
pipIrr-platform/pipIrr-web/pipIrr-web-demo/src/main/java/com/dy/pipIrrDemo/config/WebListenerConfiguration.java | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-demo/src/main/java/com/dy/pipIrrDemo/config/WebListenerConfiguration.java b/pipIrr-platform/pipIrr-web/pipIrr-web-demo/src/main/java/com/dy/pipIrrDemo/config/WebListenerConfiguration.java
index 753e643..d0dd81a 100644
--- a/pipIrr-platform/pipIrr-web/pipIrr-web-demo/src/main/java/com/dy/pipIrrDemo/config/WebListenerConfiguration.java
+++ b/pipIrr-platform/pipIrr-web/pipIrr-web-demo/src/main/java/com/dy/pipIrrDemo/config/WebListenerConfiguration.java
@@ -1,6 +1,5 @@
package com.dy.pipIrrDemo.config;
-import com.dy.common.webListener.ConfigListener;
import com.dy.common.webListener.GenerateIdSetSuffixListener;
import jakarta.servlet.ServletContextListener;
import org.springframework.boot.web.servlet.ServletListenerRegistrationBean;
@@ -8,13 +7,13 @@
import org.springframework.context.annotation.Configuration;
@Configuration
-@SuppressWarnings("unchecked")//涓嶅姞缂栬緫鏃惰鍛婏細鈥滀娇鐢ㄤ簡鏈粡妫�鏌ユ垨涓嶅畨鍏ㄧ殑鎿嶄綔銆傗��
+//@SuppressWarnings("unchecked")//涓嶅姞缂栬緫鏃惰鍛婏細鈥滀娇鐢ㄤ簡鏈粡妫�鏌ユ垨涓嶅畨鍏ㄧ殑鎿嶄綔銆傗��
public class WebListenerConfiguration {
/**
* 鍚姩椤哄簭
*/
- private static final int order_config = 1 ;
+ //private static final int order_config = 1 ;
private static final int order_idSetSuffix = 2 ;
// @Bean
@@ -42,8 +41,7 @@
@Bean
public ServletListenerRegistrationBean<? extends ServletContextListener> reqSsoListener() {
ServletListenerRegistrationBean<GenerateIdSetSuffixListener> listenerRegistrationBean = new ServletListenerRegistrationBean<>();
- GenerateIdSetSuffixListener listener = new GenerateIdSetSuffixListener();
- listenerRegistrationBean.setListener(listener);
+ listenerRegistrationBean.setListener(new GenerateIdSetSuffixListener());
listenerRegistrationBean.setOrder(order_idSetSuffix);
return listenerRegistrationBean;
}
--
Gitblit v1.8.0