mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 08:13:44 +08:00 
			
		
		
		
	Compare commits
	
		
			10 Commits
		
	
	
		
			8cb5a901e6
			...
			c7f250d967
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					c7f250d967 | ||
| 
						 | 
					7f60ba9888 | ||
| 
						 | 
					31569646b0 | ||
| 
						 | 
					3fc37d6362 | ||
| 
						 | 
					6d28072167 | ||
| 
						 | 
					f124fbd6aa | ||
| 
						 | 
					88a4a51956 | ||
| 
						 | 
					4306ea4181 | ||
| 
						 | 
					e19140462d | ||
| 
						 | 
					20cc8a6d6c | 
							
								
								
									
										50
									
								
								pom.xml
									
									
									
									
									
								
							
							
						
						
									
										50
									
								
								pom.xml
									
									
									
									
									
								
							@@ -21,8 +21,7 @@
 | 
			
		||||
        <mybatis.version>3.5.16</mybatis.version>
 | 
			
		||||
        <springdoc.version>2.6.0</springdoc.version>
 | 
			
		||||
        <therapi-javadoc.version>0.15.0</therapi-javadoc.version>
 | 
			
		||||
        <poi.version>5.2.3</poi.version>
 | 
			
		||||
        <easyexcel.version>3.3.4</easyexcel.version>
 | 
			
		||||
        <easyexcel.version>4.0.2</easyexcel.version>
 | 
			
		||||
        <velocity.version>2.3</velocity.version>
 | 
			
		||||
        <satoken.version>1.38.0</satoken.version>
 | 
			
		||||
        <mybatis-plus.version>3.5.7</mybatis-plus.version>
 | 
			
		||||
@@ -30,24 +29,25 @@
 | 
			
		||||
        <hutool.version>5.8.29</hutool.version>
 | 
			
		||||
        <okhttp.version>4.10.0</okhttp.version>
 | 
			
		||||
        <spring-boot-admin.version>3.2.3</spring-boot-admin.version>
 | 
			
		||||
        <redisson.version>3.33.0</redisson.version>
 | 
			
		||||
        <redisson.version>3.34.1</redisson.version>
 | 
			
		||||
        <lock4j.version>2.2.7</lock4j.version>
 | 
			
		||||
        <dynamic-ds.version>4.3.1</dynamic-ds.version>
 | 
			
		||||
        <alibaba-ttl.version>2.14.4</alibaba-ttl.version>
 | 
			
		||||
        <snailjob.version>1.1.1</snailjob.version>
 | 
			
		||||
        <mapstruct-plus.version>1.3.6</mapstruct-plus.version>
 | 
			
		||||
        <mapstruct-plus.version>1.4.3</mapstruct-plus.version>
 | 
			
		||||
        <mapstruct-plus.lombok.version>0.2.0</mapstruct-plus.lombok.version>
 | 
			
		||||
        <lombok.version>1.18.32</lombok.version>
 | 
			
		||||
        <lombok.version>1.18.34</lombok.version>
 | 
			
		||||
        <bouncycastle.version>1.76</bouncycastle.version>
 | 
			
		||||
        <justauth.version>1.16.6</justauth.version>
 | 
			
		||||
        <!-- 离线IP地址定位库 -->
 | 
			
		||||
        <ip2region.version>2.7.0</ip2region.version>
 | 
			
		||||
        <undertow.version>2.3.15.Final</undertow.version>
 | 
			
		||||
 | 
			
		||||
        <!-- OSS 配置 -->
 | 
			
		||||
        <aws.sdk.version>2.25.15</aws.sdk.version>
 | 
			
		||||
        <aws.crt.version>0.29.13</aws.crt.version>
 | 
			
		||||
        <!-- SMS 配置 -->
 | 
			
		||||
        <sms4j.version>3.2.1</sms4j.version>
 | 
			
		||||
        <sms4j.version>3.3.1</sms4j.version>
 | 
			
		||||
        <!-- 限制框架中的fastjson版本 -->
 | 
			
		||||
        <fastjson.version>1.2.83</fastjson.version>
 | 
			
		||||
        <!-- 面向运行时的D-ORM依赖 -->
 | 
			
		||||
@@ -156,26 +156,10 @@
 | 
			
		||||
                <version>${lombok.version}</version>
 | 
			
		||||
            </dependency>
 | 
			
		||||
 | 
			
		||||
            <dependency>
 | 
			
		||||
                <groupId>org.apache.poi</groupId>
 | 
			
		||||
                <artifactId>poi</artifactId>
 | 
			
		||||
                <version>${poi.version}</version>
 | 
			
		||||
            </dependency>
 | 
			
		||||
            <dependency>
 | 
			
		||||
                <groupId>org.apache.poi</groupId>
 | 
			
		||||
                <artifactId>poi-ooxml</artifactId>
 | 
			
		||||
                <version>${poi.version}</version>
 | 
			
		||||
            </dependency>
 | 
			
		||||
            <dependency>
 | 
			
		||||
                <groupId>com.alibaba</groupId>
 | 
			
		||||
                <artifactId>easyexcel</artifactId>
 | 
			
		||||
                <version>${easyexcel.version}</version>
 | 
			
		||||
                <exclusions>
 | 
			
		||||
                    <exclusion>
 | 
			
		||||
                        <groupId>org.apache.poi</groupId>
 | 
			
		||||
                        <artifactId>poi-ooxml-schemas</artifactId>
 | 
			
		||||
                    </exclusion>
 | 
			
		||||
                </exclusions>
 | 
			
		||||
            </dependency>
 | 
			
		||||
 | 
			
		||||
            <!-- velocity代码生成使用模板 -->
 | 
			
		||||
@@ -334,6 +318,28 @@
 | 
			
		||||
                <version>${ip2region.version}</version>
 | 
			
		||||
            </dependency>
 | 
			
		||||
 | 
			
		||||
            <dependency>
 | 
			
		||||
                <groupId>io.undertow</groupId>
 | 
			
		||||
                <artifactId>undertow-core</artifactId>
 | 
			
		||||
                <version>${undertow.version}</version>
 | 
			
		||||
            </dependency>
 | 
			
		||||
            <dependency>
 | 
			
		||||
                <groupId>io.undertow</groupId>
 | 
			
		||||
                <artifactId>undertow-servlet</artifactId>
 | 
			
		||||
                <version>${undertow.version}</version>
 | 
			
		||||
            </dependency>
 | 
			
		||||
            <dependency>
 | 
			
		||||
                <groupId>io.undertow</groupId>
 | 
			
		||||
                <artifactId>undertow-websockets-jsr</artifactId>
 | 
			
		||||
                <version>${undertow.version}</version>
 | 
			
		||||
            </dependency>
 | 
			
		||||
 | 
			
		||||
            <dependency>
 | 
			
		||||
                <artifactId>commons-compress</artifactId>
 | 
			
		||||
                <groupId>org.apache.commons</groupId>
 | 
			
		||||
                <version>1.26.2</version>
 | 
			
		||||
            </dependency>
 | 
			
		||||
 | 
			
		||||
            <dependency>
 | 
			
		||||
                <groupId>com.alibaba</groupId>
 | 
			
		||||
                <artifactId>fastjson</artifactId>
 | 
			
		||||
 
 | 
			
		||||
@@ -25,6 +25,11 @@
 | 
			
		||||
            <groupId>com.alibaba</groupId>
 | 
			
		||||
            <artifactId>easyexcel</artifactId>
 | 
			
		||||
        </dependency>
 | 
			
		||||
        <dependency>
 | 
			
		||||
            <artifactId>commons-compress</artifactId>
 | 
			
		||||
            <groupId>org.apache.commons</groupId>
 | 
			
		||||
            <version>1.26.2</version>
 | 
			
		||||
        </dependency>
 | 
			
		||||
    </dependencies>
 | 
			
		||||
 | 
			
		||||
</project>
 | 
			
		||||
 
 | 
			
		||||
@@ -107,7 +107,7 @@ public class CellMergeStrategy extends AbstractMergeStrategy implements Workbook
 | 
			
		||||
                    }
 | 
			
		||||
 | 
			
		||||
                    if (!cellValue.equals(val)) {
 | 
			
		||||
                        if ((i - repeatCell.getCurrent() > 1) && isMerge(list, i, field)) {
 | 
			
		||||
                        if ((i - repeatCell.getCurrent() > 1)) {
 | 
			
		||||
                            cellList.add(new CellRangeAddress(repeatCell.getCurrent() + rowIndex, i + rowIndex - 1, colNum, colNum));
 | 
			
		||||
                        }
 | 
			
		||||
                        map.put(field, new RepeatCell(val, i));
 | 
			
		||||
@@ -115,6 +115,11 @@ public class CellMergeStrategy extends AbstractMergeStrategy implements Workbook
 | 
			
		||||
                        if (i > repeatCell.getCurrent() && isMerge(list, i, field)) {
 | 
			
		||||
                            cellList.add(new CellRangeAddress(repeatCell.getCurrent() + rowIndex, i + rowIndex, colNum, colNum));
 | 
			
		||||
                        }
 | 
			
		||||
                    } else if (!isMerge(list, i, field)) {
 | 
			
		||||
                        if ((i - repeatCell.getCurrent() > 1)) {
 | 
			
		||||
                            cellList.add(new CellRangeAddress(repeatCell.getCurrent() + rowIndex, i + rowIndex - 1, colNum, colNum));
 | 
			
		||||
                        }
 | 
			
		||||
                        map.put(field, new RepeatCell(val, i));
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
 
 | 
			
		||||
@@ -7,6 +7,8 @@ import org.dromara.common.core.domain.R;
 | 
			
		||||
import org.dromara.common.satoken.utils.LoginHelper;
 | 
			
		||||
import org.dromara.common.sse.core.SseEmitterManager;
 | 
			
		||||
import org.dromara.common.sse.dto.SseMessageDto;
 | 
			
		||||
import org.springframework.beans.factory.DisposableBean;
 | 
			
		||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
 | 
			
		||||
import org.springframework.http.MediaType;
 | 
			
		||||
import org.springframework.web.bind.annotation.GetMapping;
 | 
			
		||||
import org.springframework.web.bind.annotation.RestController;
 | 
			
		||||
@@ -15,8 +17,9 @@ import org.springframework.web.servlet.mvc.method.annotation.SseEmitter;
 | 
			
		||||
import java.util.List;
 | 
			
		||||
 | 
			
		||||
@RestController
 | 
			
		||||
@ConditionalOnProperty(value = "sse.enabled", havingValue = "true")
 | 
			
		||||
@RequiredArgsConstructor
 | 
			
		||||
public class SseController {
 | 
			
		||||
public class SseController implements DisposableBean {
 | 
			
		||||
 | 
			
		||||
    private final SseEmitterManager sseEmitterManager;
 | 
			
		||||
 | 
			
		||||
@@ -51,4 +54,9 @@ public class SseController {
 | 
			
		||||
        return R.ok();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
    public void destroy() throws Exception {
 | 
			
		||||
        // 销毁时不需要做什么 此方法避免无用操作报错
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -43,6 +43,19 @@
 | 
			
		||||
            <artifactId>spring-boot-starter-undertow</artifactId>
 | 
			
		||||
        </dependency>
 | 
			
		||||
 | 
			
		||||
        <dependency>
 | 
			
		||||
            <groupId>io.undertow</groupId>
 | 
			
		||||
            <artifactId>undertow-core</artifactId>
 | 
			
		||||
        </dependency>
 | 
			
		||||
        <dependency>
 | 
			
		||||
            <groupId>io.undertow</groupId>
 | 
			
		||||
            <artifactId>undertow-servlet</artifactId>
 | 
			
		||||
        </dependency>
 | 
			
		||||
        <dependency>
 | 
			
		||||
            <groupId>io.undertow</groupId>
 | 
			
		||||
            <artifactId>undertow-websockets-jsr</artifactId>
 | 
			
		||||
        </dependency>
 | 
			
		||||
 | 
			
		||||
        <dependency>
 | 
			
		||||
            <groupId>org.springframework.boot</groupId>
 | 
			
		||||
            <artifactId>spring-boot-starter-actuator</artifactId>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user