[INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for com.crm:crm-auth:jar:1.0.0-SNAPSHOT [WARNING] 'dependencies.dependency.version' for org.projectlombok:lombok:jar is either LATEST or RELEASE (both of them are being deprecated) @ line 60, column 22 [WARNING] [WARNING] Some problems were encountered while building the effective model for com.crm:crm-file:jar:1.0.0-SNAPSHOT [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.projectlombok:lombok:jar -> duplicate declaration of version (?) @ line 49, column 21 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] crm [pom] [INFO] crm-base [jar] [INFO] crm-file [jar] [INFO] crm-auth [jar] [INFO] [INFO] ----------------------------< com.crm:crm >----------------------------- [INFO] Building crm 1.0.0-SNAPSHOT [1/4] [INFO] from pom.xml [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --------------------------< com.crm:crm-base >-------------------------- [INFO] Building crm-base 1.0.0-SNAPSHOT [2/4] [INFO] from crm-base\pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ crm-base --- [INFO] skip non existing resourceDirectory E:\code\crm-backend-matt\crm-base\src\main\resources [INFO] skip non existing resourceDirectory E:\code\crm-backend-matt\crm-base\src\main\resources [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ crm-base --- [INFO] Nothing to compile - all classes are up to date. [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ crm-base --- [INFO] skip non existing resourceDirectory E:\code\crm-backend-matt\crm-base\src\test\resources [INFO] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ crm-base --- [INFO] Nothing to compile - all classes are up to date. [INFO] [INFO] --- surefire:3.2.5:test (default-test) @ crm-base --- [INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running com.crm.base.advice.GlobalDataBindingAdviceTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.165 s -- in com.crm.base.advice.GlobalDataBindingAdviceTest [INFO] Running com.crm.base.domain.result.BatchResultTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.059 s -- in com.crm.base.domain.result.BatchResultTest [INFO] Running com.crm.base.security.DataVisibilityTest [INFO] Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.041 s -- in com.crm.base.security.DataVisibilityTest [INFO] Running com.crm.base.utils.PageConverterTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 s -- in com.crm.base.utils.PageConverterTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 33, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] --------------------------< com.crm:crm-file >-------------------------- [INFO] Building crm-file 1.0.0-SNAPSHOT [3/4] [INFO] from crm-file\pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ crm-file --- [INFO] skip non existing resourceDirectory E:\code\crm-backend-matt\crm-file\src\main\resources [INFO] skip non existing resourceDirectory E:\code\crm-backend-matt\crm-file\src\main\resources [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ crm-file --- [INFO] Nothing to compile - all classes are up to date. [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ crm-file --- [INFO] skip non existing resourceDirectory E:\code\crm-backend-matt\crm-file\src\test\resources [INFO] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ crm-file --- [INFO] Nothing to compile - all classes are up to date. [INFO] [INFO] --- surefire:3.2.5:test (default-test) @ crm-file --- [INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running com.crm.file.service.impl.FileApiImplTest mvn.cmd : OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpa th has been appended 所在位置 行:1 字符: 59 + ... s-17.0.18'; & 'e:\code\crm-backend-matt\tmp\apache-maven-3.9.9\bin\mv ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (OpenJDK 64-Bit ...s been appended:String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError [INFO] Tests run: 29, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.614 s -- in com.crm.file.service.impl.FileApiImplTest [INFO] Running com.crm.file.service.impl.ImageThumbnailRendererTest [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.267 s -- in com.crm.file.service.impl.ImageThumbnailRendererTest [INFO] Running com.crm.file.service.impl.MultipartUploaderImplTest [INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.340 s -- in com.crm.file.service.impl.MultipartUploaderImplTest [INFO] Running com.crm.file.service.impl.OfficeThumbnailRendererTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.125 s -- in com.crm.file.service.impl.OfficeThumbnailRendererTest [INFO] Running com.crm.file.service.impl.PdfThumbnailRendererTest Standard Commons Logging discovery in action with spring-jcl: please remove commons-logging.jar from classpath in order to avoid potential conflicts [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.117 s -- in com.crm.file.service.impl.PdfThumbnailRendererTest [INFO] Running com.crm.file.service.impl.ThumbnailResolverImplTest 23:14:28.800 [main] INFO com.crm.file.service.impl.ThumbnailResolverImpl -- 缩略图同步等待超时,返回占位图 + 202,fileId=1234567890123 [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.570 s -- in com.crm.file.service.impl.ThumbnailResolverImplTest [INFO] Running com.crm.file.service.KkFileViewClientTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s -- in com.crm.file.service.KkFileViewClientTest [INFO] Running com.crm.file.task.OrphanChunkCleanupTaskTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.010 s -- in com.crm.file.task.OrphanChunkCleanupTaskTest [INFO] Running com.crm.file.task.ThumbnailGenerationTaskTest 23:14:28.860 [main] WARN com.crm.file.task.ThumbnailGenerationTask -- 缩略图生成跳过:文件不存在,fileId=1001 23:14:28.868 [main] ERROR com.crm.file.task.ThumbnailGenerationTask -- 缩略图生成失败:fileId=1001, thumbKey=thumbnails/1001.jpg java.lang.IllegalStateException: 渲染失败 at com.crm.file.task.ThumbnailGenerationTask.generateSync(ThumbnailGenerationTask.java:140) at com.crm.file.task.ThumbnailGenerationTask.generateWithLock(ThumbnailGenerationTask.java:102) at com.crm.file.task.ThumbnailGenerationTask.generate(ThumbnailGenerationTask.java:70) at com.crm.file.task.ThumbnailGenerationTaskTest.generate_failure_belowLimit_staysPending(ThumbnailGenerationTaskTest.java:221) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:728) at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156) at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147) at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86) at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103) at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93) at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92) at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:218) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:214) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:139) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:69) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:156) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:146) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:144) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:143) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:100) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:160) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:146) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:144) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:143) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:100) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:160) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:146) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:144) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:143) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:100) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35) at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:198) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:169) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:93) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:58) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:141) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:57) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:103) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:85) at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:47) at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:56) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:184) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:148) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:122) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162) at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495) 23:14:28.874 [main] ERROR com.crm.file.task.ThumbnailGenerationTask -- 缩略图生成失败:fileId=1001, thumbKey=thumbnails/1001.jpg java.lang.IllegalStateException: 渲染失败 at com.crm.file.task.ThumbnailGenerationTask.generateSync(ThumbnailGenerationTask.java:140) at com.crm.file.task.ThumbnailGenerationTask.generateWithLock(ThumbnailGenerationTask.java:102) at com.crm.file.task.ThumbnailGenerationTask.generate(ThumbnailGenerationTask.java:70) at com.crm.file.task.ThumbnailGenerationTaskTest.generate_failure_limitReached_marksFailed(ThumbnailGenerationTaskTest.java:236) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:728) at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156) at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147) at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86) at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103) at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93) at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92) at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:218) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:214) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:139) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:69) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:156) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:146) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:144) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:143) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:100) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:160) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:146) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:144) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:143) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:100) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:160) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:146) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:144) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:143) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:100) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35) at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:198) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:169) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:93) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:58) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:141) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:57) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:103) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:85) at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:47) at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:56) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:184) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:148) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:122) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162) at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495) 23:14:28.875 [main] WARN com.crm.file.task.ThumbnailGenerationTask -- 缩略图重试次数耗尽,标记 FAILED:fileId=1001, retryCount=3 23:14:28.883 [main] INFO com.crm.file.task.ThumbnailGenerationTask -- 缩略图生成成功:fileId=1001, objectKey=thumbnails/1001.jpg 23:14:28.886 [main] INFO com.crm.file.task.ThumbnailGenerationTask -- 缩略图生成成功:fileId=1001, objectKey=thumbnails/1001.jpg 23:14:28.889 [main] ERROR com.crm.file.task.ThumbnailGenerationTask -- 缩略图生成失败:fileId=1001, thumbKey=thumbnails/1001.jpg java.lang.RuntimeException: MinIO 不可用 at io.minio.MinioClient.getObject(MinioClient.java:209) at com.crm.file.task.ThumbnailGenerationTask.generateSync(ThumbnailGenerationTask.java:135) at com.crm.file.task.ThumbnailGenerationTask.generateWithLock(ThumbnailGenerationTask.java:102) at com.crm.file.task.ThumbnailGenerationTask.generate(ThumbnailGenerationTask.java:70) at com.crm.file.task.ThumbnailGenerationTaskTest.generate_minioFailure_countsRetry(ThumbnailGenerationTaskTest.java:254) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:728) at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156) at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147) at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86) at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103) at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93) at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92) at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:218) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:214) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:139) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:69) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:156) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:146) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:144) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:143) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:100) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:160) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:146) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:144) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:143) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:100) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:160) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:146) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:144) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:143) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:100) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35) at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:198) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:169) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:93) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:58) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:141) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:57) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:103) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:85) at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:47) at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:56) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:184) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:148) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:122) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162) at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495) 23:14:28.894 [main] INFO com.crm.file.task.ThumbnailGenerationTask -- 缩略图标记 UNSUPPORTED:fileId=1001, ext=png [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.062 s -- in com.crm.file.task.ThumbnailGenerationTaskTest [INFO] Running com.crm.file.task.ThumbnailRetryTaskTest 23:14:28.924 [main] INFO com.crm.file.task.ThumbnailRetryTask -- 缩略图失败重试:已重新提交 2 条 FAILED 记录 23:14:28.926 [main] ERROR com.crm.file.task.ThumbnailRetryTask -- 缩略图失败重试任务执行异常,下个周期继续 java.lang.RuntimeException: DB 不可用 at com.baomidou.mybatisplus.extension.service.IService.list(IService.java:407) at com.crm.file.task.ThumbnailRetryTask.retryFailedThumbnails(ThumbnailRetryTask.java:31) at com.crm.file.task.ThumbnailRetryTaskTest.lambda$retry_queryThrows_swallowed$0(ThumbnailRetryTaskTest.java:81) at org.assertj.core.api.ThrowableAssert.catchThrowable(ThrowableAssert.java:63) at org.assertj.core.api.AssertionsForClassTypes.catchThrowable(AssertionsForClassTypes.java:892) at org.assertj.core.api.AssertionsForClassTypes.assertThatCode(AssertionsForClassTypes.java:863) at org.assertj.core.api.Assertions.assertThatCode(Assertions.java:1286) at com.crm.file.task.ThumbnailRetryTaskTest.retry_queryThrows_swallowed(ThumbnailRetryTaskTest.java:81) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:728) at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156) at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147) at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86) at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103) at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93) at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92) at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:218) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:214) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:139) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:69) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:156) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:146) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:144) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:143) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:100) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:160) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:146) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:144) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:143) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:100) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:160) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:146) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:144) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:143) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:100) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35) at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:198) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:169) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:93) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:58) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:141) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:57) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:103) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:85) at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:47) at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:56) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:184) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:148) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:122) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162) at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495) [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.020 s -- in com.crm.file.task.ThumbnailRetryTaskTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 84, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] --------------------------< com.crm:crm-auth >-------------------------- [INFO] Building crm-auth 1.0.0-SNAPSHOT [4/4] [INFO] from crm-auth\pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ crm-auth --- [INFO] Copying 1 resource from src\main\resources to target\classes [INFO] Copying 0 resource from src\main\resources to target\classes [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ crm-auth --- [INFO] Nothing to compile - all classes are up to date. [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ crm-auth --- [INFO] skip non existing resourceDirectory E:\code\crm-backend-matt\crm-auth\src\test\resources [INFO] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ crm-auth --- [INFO] Nothing to compile - all classes are up to date. [INFO] [INFO] --- surefire:3.2.5:test (default-test) @ crm-auth --- [INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running com.crm.auth.security.ApiPermissionInterceptorTest OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has bee n appended Standard Commons Logging discovery in action with spring-jcl: please remove commons-logging.jar from classpath in order to avoid potential conflicts 23:14:30.992 [main] INFO com.crm.auth.security.ApiPermissionInterceptor -- API 权限拦截:uri=/api/users/delete, 匹配规则=/api/users/delete:crm:user:delete, 用户权限=[crm:user:list] [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.104 s -- in com.crm.auth.security.ApiPermissionInterceptorTest [INFO] Running com.crm.auth.security.JwtAuthenticationFilterTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.165 s -- in com.crm.auth.security.JwtAuthenticationFilterTest [INFO] Running com.crm.auth.security.scope.DataScopeIntegrationTest [ERROR] Tests run: 32, Failures: 0, Errors: 7, Skipped: 0, Time elapsed: 1.451 s <<< FAILURE! -- in com.crm.auth.security.scope.DataScopeIntegrationTest [ERROR] com.crm.auth.security.scope.DataScopeIntegrationTest.partTime_scopeThree_seesUnionOfSubtrees -- Time elapsed: 0.024 s <<< ERROR! org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id, parent_id, dept_name, ancestors, sort, leader_user_id, dt_dept_id, creator_id, create_time, updater_id, update_time, deleted FROM sys_dept WHERE deleted = 0 [42122-224] ### The error may exist in com/crm/auth/mapper/SysDeptMapper.java (best guess) ### The error may involve com.crm.auth.mapper.SysDeptMapper.selectList ### The error occurred while executing a query ### SQL: SELECT id, parent_id, dept_name, ancestors, sort, leader_user_id, dt_dept_id, creator_id, create_time, updater_id, update_time, deleted FROM sys_dept WHERE deleted = 0 ### Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id, parent_id, dept_name, ancestors, sort, leader_user_id, dt_dept_id, creator_id, create_time, updater_id, update_time, deleted FROM sys_dept WHERE deleted = 0 [42122-224] at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:156) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:147) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:142) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:164) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:77) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:152) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89) at jdk.proxy2/jdk.proxy2.$Proxy92.selectList(Unknown Source) at com.crm.auth.service.DeptTreeCache.loadChildrenByParent(DeptTreeCache.java:55) at com.crm.auth.service.DeptTreeCache.lambda$expandWithChildren$0(DeptTreeCache.java:37) at com.github.benmanes.caffeine.cache.UnboundedLocalCache.lambda$computeIfAbsent$2(UnboundedLocalCache.java:297) at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708) at com.github.benmanes.caffeine.cache.UnboundedLocalCache.computeIfAbsent(UnboundedLocalCache.java:293) at com.github.benmanes.caffeine.cache.LocalCache.computeIfAbsent(LocalCache.java:112) at com.github.benmanes.caffeine.cache.LocalManualCache.get(LocalManualCache.java:62) at com.crm.auth.service.DeptTreeCache.expandWithChildren(DeptTreeCache.java:37) at com.crm.auth.security.PermissionResolverImpl.resolve(PermissionResolverImpl.java:103) at com.crm.auth.security.scope.DataScopeIntegrationTest.loadVisibility(DataScopeIntegrationTest.java:176) at com.crm.auth.security.scope.DataScopeIntegrationTest.visibleRowIds(DataScopeIntegrationTest.java:170) at com.crm.auth.security.scope.DataScopeIntegrationTest.partTime_scopeThree_seesUnionOfSubtrees(DataScopeIntegrationTest.java:243) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) Caused by: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id, parent_id, dept_name, ancestors, sort, leader_user_id, dt_dept_id, creator_id, create_time, updater_id, update_time, deleted FROM sys_dept WHERE deleted = 0 [42122-224] at org.h2.message.DbException.getJdbcSQLException(DbException.java:514) at org.h2.message.DbException.getJdbcSQLException(DbException.java:489) at org.h2.message.DbException.get(DbException.java:223) at org.h2.message.DbException.get(DbException.java:199) at org.h2.expression.ExpressionColumn.getColumnException(ExpressionColumn.java:244) at org.h2.expression.ExpressionColumn.optimizeOther(ExpressionColumn.java:226) at org.h2.expression.ExpressionColumn.optimize(ExpressionColumn.java:213) at org.h2.command.query.Select.optimizeExpressionsAndPreserveAliases(Select.java:1285) at org.h2.command.query.Select.prepareExpressions(Select.java:1167) at org.h2.command.query.Query.prepare(Query.java:218) at org.h2.command.Parser.prepareCommand(Parser.java:489) at org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:639) at org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:559) at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1166) at org.h2.jdbc.JdbcPreparedStatement.(JdbcPreparedStatement.java:93) at org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:316) at org.apache.ibatis.executor.statement.PreparedStatementHandler.instantiateStatement(PreparedStatementHandler.java:88) at org.apache.ibatis.executor.statement.BaseStatementHandler.prepare(BaseStatementHandler.java:90) at org.apache.ibatis.executor.statement.RoutingStatementHandler.prepare(RoutingStatementHandler.java:60) at jdk.internal.reflect.GeneratedMethodAccessor16.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:61) at com.crm.auth.security.DataScopeInterceptor.intercept(DataScopeInterceptor.java:80) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:59) at jdk.proxy2/jdk.proxy2.$Proxy102.prepare(Unknown Source) at jdk.internal.reflect.GeneratedMethodAccessor16.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:61) at com.crm.auth.security.scope.DataScopeIntegrationTest$DeptQueryCounter.intercept(DataScopeIntegrationTest.java:96) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:59) at jdk.proxy2/jdk.proxy2.$Proxy102.prepare(Unknown Source) at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:90) at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:64) at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:336) at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:158) at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:110) at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:90) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:154) ... 22 more [ERROR] com.crm.auth.security.scope.DataScopeIntegrationTest.unannotatedTable_isNotFiltered -- Time elapsed: 0.024 s <<< ERROR! org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id, parent_id, dept_name, ancestors, sort, leader_user_id, dt_dept_id, creator_id, create_time, updater_id, update_time, deleted FROM sys_dept WHERE deleted = 0 [42122-224] ### The error may exist in com/crm/auth/mapper/SysDeptMapper.java (best guess) ### The error may involve com.crm.auth.mapper.SysDeptMapper.selectList ### The error occurred while executing a query ### SQL: SELECT id, parent_id, dept_name, ancestors, sort, leader_user_id, dt_dept_id, creator_id, create_time, updater_id, update_time, deleted FROM sys_dept WHERE deleted = 0 ### Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id, parent_id, dept_name, ancestors, sort, leader_user_id, dt_dept_id, creator_id, create_time, updater_id, update_time, deleted FROM sys_dept WHERE deleted = 0 [42122-224] at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:156) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:147) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:142) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:164) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:77) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:152) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89) at jdk.proxy2/jdk.proxy2.$Proxy92.selectList(Unknown Source) at com.crm.auth.security.scope.DataScopeIntegrationTest.unannotatedTable_isNotFiltered(DataScopeIntegrationTest.java:231) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) Caused by: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id, parent_id, dept_name, ancestors, sort, leader_user_id, dt_dept_id, creator_id, create_time, updater_id, update_time, deleted FROM sys_dept WHERE deleted = 0 [42122-224] at org.h2.message.DbException.getJdbcSQLException(DbException.java:514) at org.h2.message.DbException.getJdbcSQLException(DbException.java:489) at org.h2.message.DbException.get(DbException.java:223) at org.h2.message.DbException.get(DbException.java:199) at org.h2.expression.ExpressionColumn.getColumnException(ExpressionColumn.java:244) at org.h2.expression.ExpressionColumn.optimizeOther(ExpressionColumn.java:226) at org.h2.expression.ExpressionColumn.optimize(ExpressionColumn.java:213) at org.h2.command.query.Select.optimizeExpressionsAndPreserveAliases(Select.java:1285) at org.h2.command.query.Select.prepareExpressions(Select.java:1167) at org.h2.command.query.Query.prepare(Query.java:218) at org.h2.command.Parser.prepareCommand(Parser.java:489) at org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:639) at org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:559) at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1166) at org.h2.jdbc.JdbcPreparedStatement.(JdbcPreparedStatement.java:93) at org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:316) at org.apache.ibatis.executor.statement.PreparedStatementHandler.instantiateStatement(PreparedStatementHandler.java:88) at org.apache.ibatis.executor.statement.BaseStatementHandler.prepare(BaseStatementHandler.java:90) at org.apache.ibatis.executor.statement.RoutingStatementHandler.prepare(RoutingStatementHandler.java:60) at jdk.internal.reflect.GeneratedMethodAccessor16.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:61) at com.crm.auth.security.DataScopeInterceptor.intercept(DataScopeInterceptor.java:80) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:59) at jdk.proxy2/jdk.proxy2.$Proxy102.prepare(Unknown Source) at jdk.internal.reflect.GeneratedMethodAccessor16.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:61) at com.crm.auth.security.scope.DataScopeIntegrationTest$DeptQueryCounter.intercept(DataScopeIntegrationTest.java:96) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:59) at jdk.proxy2/jdk.proxy2.$Proxy102.prepare(Unknown Source) at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:90) at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:64) at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:336) at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:158) at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:110) at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:90) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:154) ... 11 more [ERROR] com.crm.auth.security.scope.DataScopeIntegrationTest.scopeThree_seesSubtreeRows -- Time elapsed: 0.016 s <<< ERROR! org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id, parent_id, dept_name, ancestors, sort, leader_user_id, dt_dept_id, creator_id, create_time, updater_id, update_time, deleted FROM sys_dept WHERE deleted = 0 [42122-224] ### The error may exist in com/crm/auth/mapper/SysDeptMapper.java (best guess) ### The error may involve com.crm.auth.mapper.SysDeptMapper.selectList ### The error occurred while executing a query ### SQL: SELECT id, parent_id, dept_name, ancestors, sort, leader_user_id, dt_dept_id, creator_id, create_time, updater_id, update_time, deleted FROM sys_dept WHERE deleted = 0 ### Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id, parent_id, dept_name, ancestors, sort, leader_user_id, dt_dept_id, creator_id, create_time, updater_id, update_time, deleted FROM sys_dept WHERE deleted = 0 [42122-224] at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:156) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:147) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:142) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:164) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:77) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:152) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89) at jdk.proxy2/jdk.proxy2.$Proxy92.selectList(Unknown Source) at com.crm.auth.service.DeptTreeCache.loadChildrenByParent(DeptTreeCache.java:55) at com.crm.auth.service.DeptTreeCache.lambda$expandWithChildren$0(DeptTreeCache.java:37) at com.github.benmanes.caffeine.cache.UnboundedLocalCache.lambda$computeIfAbsent$2(UnboundedLocalCache.java:297) at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708) at com.github.benmanes.caffeine.cache.UnboundedLocalCache.computeIfAbsent(UnboundedLocalCache.java:293) at com.github.benmanes.caffeine.cache.LocalCache.computeIfAbsent(LocalCache.java:112) at com.github.benmanes.caffeine.cache.LocalManualCache.get(LocalManualCache.java:62) at com.crm.auth.service.DeptTreeCache.expandWithChildren(DeptTreeCache.java:37) at com.crm.auth.security.PermissionResolverImpl.resolve(PermissionResolverImpl.java:103) at com.crm.auth.security.scope.DataScopeIntegrationTest.loadVisibility(DataScopeIntegrationTest.java:176) at com.crm.auth.security.scope.DataScopeIntegrationTest.visibleRowIds(DataScopeIntegrationTest.java:170) at com.crm.auth.security.scope.DataScopeIntegrationTest.scopeThree_seesSubtreeRows(DataScopeIntegrationTest.java:194) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) Caused by: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id, parent_id, dept_name, ancestors, sort, leader_user_id, dt_dept_id, creator_id, create_time, updater_id, update_time, deleted FROM sys_dept WHERE deleted = 0 [42122-224] at org.h2.message.DbException.getJdbcSQLException(DbException.java:514) at org.h2.message.DbException.getJdbcSQLException(DbException.java:489) at org.h2.message.DbException.get(DbException.java:223) at org.h2.message.DbException.get(DbException.java:199) at org.h2.expression.ExpressionColumn.getColumnException(ExpressionColumn.java:244) at org.h2.expression.ExpressionColumn.optimizeOther(ExpressionColumn.java:226) at org.h2.expression.ExpressionColumn.optimize(ExpressionColumn.java:213) at org.h2.command.query.Select.optimizeExpressionsAndPreserveAliases(Select.java:1285) at org.h2.command.query.Select.prepareExpressions(Select.java:1167) at org.h2.command.query.Query.prepare(Query.java:218) at org.h2.command.Parser.prepareCommand(Parser.java:489) at org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:639) at org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:559) at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1166) at org.h2.jdbc.JdbcPreparedStatement.(JdbcPreparedStatement.java:93) at org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:316) at org.apache.ibatis.executor.statement.PreparedStatementHandler.instantiateStatement(PreparedStatementHandler.java:88) at org.apache.ibatis.executor.statement.BaseStatementHandler.prepare(BaseStatementHandler.java:90) at org.apache.ibatis.executor.statement.RoutingStatementHandler.prepare(RoutingStatementHandler.java:60) at jdk.internal.reflect.GeneratedMethodAccessor16.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:61) at com.crm.auth.security.DataScopeInterceptor.intercept(DataScopeInterceptor.java:80) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:59) at jdk.proxy2/jdk.proxy2.$Proxy102.prepare(Unknown Source) at jdk.internal.reflect.GeneratedMethodAccessor16.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:61) at com.crm.auth.security.scope.DataScopeIntegrationTest$DeptQueryCounter.intercept(DataScopeIntegrationTest.java:96) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:59) at jdk.proxy2/jdk.proxy2.$Proxy102.prepare(Unknown Source) at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:90) at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:64) at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:336) at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:158) at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:110) at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:90) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:154) ... 22 more [ERROR] com.crm.auth.security.scope.DataScopeIntegrationTest.deptChange_invalidate_nextComputationUsesNewTree -- Time elapsed: 0.019 s <<< ERROR! org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id, parent_id, dept_name, ancestors, sort, leader_user_id, dt_dept_id, creator_id, create_time, updater_id, update_time, deleted FROM sys_dept WHERE deleted = 0 [42122-224] ### The error may exist in com/crm/auth/mapper/SysDeptMapper.java (best guess) ### The error may involve com.crm.auth.mapper.SysDeptMapper.selectList ### The error occurred while executing a query ### SQL: SELECT id, parent_id, dept_name, ancestors, sort, leader_user_id, dt_dept_id, creator_id, create_time, updater_id, update_time, deleted FROM sys_dept WHERE deleted = 0 ### Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id, parent_id, dept_name, ancestors, sort, leader_user_id, dt_dept_id, creator_id, create_time, updater_id, update_time, deleted FROM sys_dept WHERE deleted = 0 [42122-224] at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:156) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:147) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:142) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:164) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:77) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:152) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89) at jdk.proxy2/jdk.proxy2.$Proxy92.selectList(Unknown Source) at com.crm.auth.service.DeptTreeCache.loadChildrenByParent(DeptTreeCache.java:55) at com.crm.auth.service.DeptTreeCache.lambda$expandWithChildren$0(DeptTreeCache.java:37) at com.github.benmanes.caffeine.cache.UnboundedLocalCache.lambda$computeIfAbsent$2(UnboundedLocalCache.java:297) at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708) at com.github.benmanes.caffeine.cache.UnboundedLocalCache.computeIfAbsent(UnboundedLocalCache.java:293) at com.github.benmanes.caffeine.cache.LocalCache.computeIfAbsent(LocalCache.java:112) at com.github.benmanes.caffeine.cache.LocalManualCache.get(LocalManualCache.java:62) at com.crm.auth.service.DeptTreeCache.expandWithChildren(DeptTreeCache.java:37) at com.crm.auth.security.PermissionResolverImpl.resolve(PermissionResolverImpl.java:103) at com.crm.auth.security.scope.DataScopeIntegrationTest.loadVisibility(DataScopeIntegrationTest.java:176) at com.crm.auth.security.scope.DataScopeIntegrationTest.visibleRowIds(DataScopeIntegrationTest.java:170) at com.crm.auth.security.scope.DataScopeIntegrationTest.deptChange_invalidate_nextComputationUsesNewTree(DataScopeIntegrationTest.java:305) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) Caused by: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id, parent_id, dept_name, ancestors, sort, leader_user_id, dt_dept_id, creator_id, create_time, updater_id, update_time, deleted FROM sys_dept WHERE deleted = 0 [42122-224] at org.h2.message.DbException.getJdbcSQLException(DbException.java:514) at org.h2.message.DbException.getJdbcSQLException(DbException.java:489) at org.h2.message.DbException.get(DbException.java:223) at org.h2.message.DbException.get(DbException.java:199) at org.h2.expression.ExpressionColumn.getColumnException(ExpressionColumn.java:244) at org.h2.expression.ExpressionColumn.optimizeOther(ExpressionColumn.java:226) at org.h2.expression.ExpressionColumn.optimize(ExpressionColumn.java:213) at org.h2.command.query.Select.optimizeExpressionsAndPreserveAliases(Select.java:1285) at org.h2.command.query.Select.prepareExpressions(Select.java:1167) at org.h2.command.query.Query.prepare(Query.java:218) at org.h2.command.Parser.prepareCommand(Parser.java:489) at org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:639) at org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:559) at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1166) at org.h2.jdbc.JdbcPreparedStatement.(JdbcPreparedStatement.java:93) at org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:316) at org.apache.ibatis.executor.statement.PreparedStatementHandler.instantiateStatement(PreparedStatementHandler.java:88) at org.apache.ibatis.executor.statement.BaseStatementHandler.prepare(BaseStatementHandler.java:90) at org.apache.ibatis.executor.statement.RoutingStatementHandler.prepare(RoutingStatementHandler.java:60) at jdk.internal.reflect.GeneratedMethodAccessor16.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:61) at com.crm.auth.security.DataScopeInterceptor.intercept(DataScopeInterceptor.java:80) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:59) at jdk.proxy2/jdk.proxy2.$Proxy102.prepare(Unknown Source) at jdk.internal.reflect.GeneratedMethodAccessor16.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:61) at com.crm.auth.security.scope.DataScopeIntegrationTest$DeptQueryCounter.intercept(DataScopeIntegrationTest.java:96) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:59) at jdk.proxy2/jdk.proxy2.$Proxy102.prepare(Unknown Source) at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:90) at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:64) at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:336) at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:158) at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:110) at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:90) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:154) ... 22 more [ERROR] com.crm.auth.security.scope.DataScopeIntegrationTest.overlappingSubtrees_expandAndDedupe -- Time elapsed: 0.016 s <<< ERROR! org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id, parent_id, dept_name, ancestors, sort, leader_user_id, dt_dept_id, creator_id, create_time, updater_id, update_time, deleted FROM sys_dept WHERE deleted = 0 [42122-224] ### The error may exist in com/crm/auth/mapper/SysDeptMapper.java (best guess) ### The error may involve com.crm.auth.mapper.SysDeptMapper.selectList ### The error occurred while executing a query ### SQL: SELECT id, parent_id, dept_name, ancestors, sort, leader_user_id, dt_dept_id, creator_id, create_time, updater_id, update_time, deleted FROM sys_dept WHERE deleted = 0 ### Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id, parent_id, dept_name, ancestors, sort, leader_user_id, dt_dept_id, creator_id, create_time, updater_id, update_time, deleted FROM sys_dept WHERE deleted = 0 [42122-224] at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:156) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:147) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:142) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:164) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:77) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:152) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89) at jdk.proxy2/jdk.proxy2.$Proxy92.selectList(Unknown Source) at com.crm.auth.service.DeptTreeCache.loadChildrenByParent(DeptTreeCache.java:55) at com.crm.auth.service.DeptTreeCache.lambda$expandWithChildren$0(DeptTreeCache.java:37) at com.github.benmanes.caffeine.cache.UnboundedLocalCache.lambda$computeIfAbsent$2(UnboundedLocalCache.java:297) at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708) at com.github.benmanes.caffeine.cache.UnboundedLocalCache.computeIfAbsent(UnboundedLocalCache.java:293) at com.github.benmanes.caffeine.cache.LocalCache.computeIfAbsent(LocalCache.java:112) at com.github.benmanes.caffeine.cache.LocalManualCache.get(LocalManualCache.java:62) at com.crm.auth.service.DeptTreeCache.expandWithChildren(DeptTreeCache.java:37) at com.crm.auth.security.PermissionResolverImpl.resolve(PermissionResolverImpl.java:103) at com.crm.auth.security.scope.DataScopeIntegrationTest.loadVisibility(DataScopeIntegrationTest.java:176) at com.crm.auth.security.scope.DataScopeIntegrationTest.visibleRowIds(DataScopeIntegrationTest.java:170) at com.crm.auth.security.scope.DataScopeIntegrationTest.overlappingSubtrees_expandAndDedupe(DataScopeIntegrationTest.java:255) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) Caused by: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id, parent_id, dept_name, ancestors, sort, leader_user_id, dt_dept_id, creator_id, create_time, updater_id, update_time, deleted FROM sys_dept WHERE deleted = 0 [42122-224] at org.h2.message.DbException.getJdbcSQLException(DbException.java:514) at org.h2.message.DbException.getJdbcSQLException(DbException.java:489) at org.h2.message.DbException.get(DbException.java:223) at org.h2.message.DbException.get(DbException.java:199) at org.h2.expression.ExpressionColumn.getColumnException(ExpressionColumn.java:244) at org.h2.expression.ExpressionColumn.optimizeOther(ExpressionColumn.java:226) at org.h2.expression.ExpressionColumn.optimize(ExpressionColumn.java:213) at org.h2.command.query.Select.optimizeExpressionsAndPreserveAliases(Select.java:1285) at org.h2.command.query.Select.prepareExpressions(Select.java:1167) at org.h2.command.query.Query.prepare(Query.java:218) at org.h2.command.Parser.prepareCommand(Parser.java:489) at org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:639) at org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:559) at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1166) at org.h2.jdbc.JdbcPreparedStatement.(JdbcPreparedStatement.java:93) at org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:316) at org.apache.ibatis.executor.statement.PreparedStatementHandler.instantiateStatement(PreparedStatementHandler.java:88) at org.apache.ibatis.executor.statement.BaseStatementHandler.prepare(BaseStatementHandler.java:90) at org.apache.ibatis.executor.statement.RoutingStatementHandler.prepare(RoutingStatementHandler.java:60) at jdk.internal.reflect.GeneratedMethodAccessor16.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:61) at com.crm.auth.security.DataScopeInterceptor.intercept(DataScopeInterceptor.java:80) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:59) at jdk.proxy2/jdk.proxy2.$Proxy102.prepare(Unknown Source) at jdk.internal.reflect.GeneratedMethodAccessor16.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:61) at com.crm.auth.security.scope.DataScopeIntegrationTest$DeptQueryCounter.intercept(DataScopeIntegrationTest.java:96) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:59) at jdk.proxy2/jdk.proxy2.$Proxy102.prepare(Unknown Source) at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:90) at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:64) at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:336) at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:158) at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:110) at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:90) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:154) ... 22 more [ERROR] com.crm.auth.security.scope.DataScopeIntegrationTest.deptTree_isCached_noRepeatedFullTableQuery -- Time elapsed: 0.015 s <<< ERROR! org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id, parent_id, dept_name, ancestors, sort, leader_user_id, dt_dept_id, creator_id, create_time, updater_id, update_time, deleted FROM sys_dept WHERE deleted = 0 [42122-224] ### The error may exist in com/crm/auth/mapper/SysDeptMapper.java (best guess) ### The error may involve com.crm.auth.mapper.SysDeptMapper.selectList ### The error occurred while executing a query ### SQL: SELECT id, parent_id, dept_name, ancestors, sort, leader_user_id, dt_dept_id, creator_id, create_time, updater_id, update_time, deleted FROM sys_dept WHERE deleted = 0 ### Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id, parent_id, dept_name, ancestors, sort, leader_user_id, dt_dept_id, creator_id, create_time, updater_id, update_time, deleted FROM sys_dept WHERE deleted = 0 [42122-224] at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:156) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:147) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:142) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:164) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:77) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:152) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89) at jdk.proxy2/jdk.proxy2.$Proxy92.selectList(Unknown Source) at com.crm.auth.service.DeptTreeCache.loadChildrenByParent(DeptTreeCache.java:55) at com.crm.auth.service.DeptTreeCache.lambda$expandWithChildren$0(DeptTreeCache.java:37) at com.github.benmanes.caffeine.cache.UnboundedLocalCache.lambda$computeIfAbsent$2(UnboundedLocalCache.java:297) at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708) at com.github.benmanes.caffeine.cache.UnboundedLocalCache.computeIfAbsent(UnboundedLocalCache.java:293) at com.github.benmanes.caffeine.cache.LocalCache.computeIfAbsent(LocalCache.java:112) at com.github.benmanes.caffeine.cache.LocalManualCache.get(LocalManualCache.java:62) at com.crm.auth.service.DeptTreeCache.expandWithChildren(DeptTreeCache.java:37) at com.crm.auth.security.PermissionResolverImpl.resolve(PermissionResolverImpl.java:103) at com.crm.auth.security.scope.DataScopeIntegrationTest.loadVisibility(DataScopeIntegrationTest.java:176) at com.crm.auth.security.scope.DataScopeIntegrationTest.deptTree_isCached_noRepeatedFullTableQuery(DataScopeIntegrationTest.java:293) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) Caused by: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id, parent_id, dept_name, ancestors, sort, leader_user_id, dt_dept_id, creator_id, create_time, updater_id, update_time, deleted FROM sys_dept WHERE deleted = 0 [42122-224] at org.h2.message.DbException.getJdbcSQLException(DbException.java:514) at org.h2.message.DbException.getJdbcSQLException(DbException.java:489) at org.h2.message.DbException.get(DbException.java:223) at org.h2.message.DbException.get(DbException.java:199) at org.h2.expression.ExpressionColumn.getColumnException(ExpressionColumn.java:244) at org.h2.expression.ExpressionColumn.optimizeOther(ExpressionColumn.java:226) at org.h2.expression.ExpressionColumn.optimize(ExpressionColumn.java:213) at org.h2.command.query.Select.optimizeExpressionsAndPreserveAliases(Select.java:1285) at org.h2.command.query.Select.prepareExpressions(Select.java:1167) at org.h2.command.query.Query.prepare(Query.java:218) at org.h2.command.Parser.prepareCommand(Parser.java:489) at org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:639) at org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:559) at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1166) at org.h2.jdbc.JdbcPreparedStatement.(JdbcPreparedStatement.java:93) at org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:316) at org.apache.ibatis.executor.statement.PreparedStatementHandler.instantiateStatement(PreparedStatementHandler.java:88) at org.apache.ibatis.executor.statement.BaseStatementHandler.prepare(BaseStatementHandler.java:90) at org.apache.ibatis.executor.statement.RoutingStatementHandler.prepare(RoutingStatementHandler.java:60) at jdk.internal.reflect.GeneratedMethodAccessor16.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:61) at com.crm.auth.security.DataScopeInterceptor.intercept(DataScopeInterceptor.java:80) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:59) at jdk.proxy2/jdk.proxy2.$Proxy102.prepare(Unknown Source) at jdk.internal.reflect.GeneratedMethodAccessor16.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:61) at com.crm.auth.security.scope.DataScopeIntegrationTest$DeptQueryCounter.intercept(DataScopeIntegrationTest.java:96) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:59) at jdk.proxy2/jdk.proxy2.$Proxy102.prepare(Unknown Source) at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:90) at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:64) at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:336) at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:158) at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:110) at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:90) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:154) ... 21 more [ERROR] com.crm.auth.security.scope.DataScopeIntegrationTest.partTimeChange_takesEffectImmediately_despiteCache -- Time elapsed: 0.014 s <<< ERROR! org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id, parent_id, dept_name, ancestors, sort, leader_user_id, dt_dept_id, creator_id, create_time, updater_id, update_time, deleted FROM sys_dept WHERE deleted = 0 [42122-224] ### The error may exist in com/crm/auth/mapper/SysDeptMapper.java (best guess) ### The error may involve com.crm.auth.mapper.SysDeptMapper.selectList ### The error occurred while executing a query ### SQL: SELECT id, parent_id, dept_name, ancestors, sort, leader_user_id, dt_dept_id, creator_id, create_time, updater_id, update_time, deleted FROM sys_dept WHERE deleted = 0 ### Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id, parent_id, dept_name, ancestors, sort, leader_user_id, dt_dept_id, creator_id, create_time, updater_id, update_time, deleted FROM sys_dept WHERE deleted = 0 [42122-224] at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:156) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:147) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:142) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:164) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:77) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:152) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89) at jdk.proxy2/jdk.proxy2.$Proxy92.selectList(Unknown Source) at com.crm.auth.service.DeptTreeCache.loadChildrenByParent(DeptTreeCache.java:55) at com.crm.auth.service.DeptTreeCache.lambda$expandWithChildren$0(DeptTreeCache.java:37) at com.github.benmanes.caffeine.cache.UnboundedLocalCache.lambda$computeIfAbsent$2(UnboundedLocalCache.java:297) at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708) at com.github.benmanes.caffeine.cache.UnboundedLocalCache.computeIfAbsent(UnboundedLocalCache.java:293) at com.github.benmanes.caffeine.cache.LocalCache.computeIfAbsent(LocalCache.java:112) at com.github.benmanes.caffeine.cache.LocalManualCache.get(LocalManualCache.java:62) at com.crm.auth.service.DeptTreeCache.expandWithChildren(DeptTreeCache.java:37) at com.crm.auth.security.PermissionResolverImpl.resolve(PermissionResolverImpl.java:103) at com.crm.auth.security.scope.DataScopeIntegrationTest.loadVisibility(DataScopeIntegrationTest.java:176) at com.crm.auth.security.scope.DataScopeIntegrationTest.visibleRowIds(DataScopeIntegrationTest.java:170) at com.crm.auth.security.scope.DataScopeIntegrationTest.partTimeChange_takesEffectImmediately_despiteCache(DataScopeIntegrationTest.java:332) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) Caused by: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id, parent_id, dept_name, ancestors, sort, leader_user_id, dt_dept_id, creator_id, create_time, updater_id, update_time, deleted FROM sys_dept WHERE deleted = 0 [42122-224] at org.h2.message.DbException.getJdbcSQLException(DbException.java:514) at org.h2.message.DbException.getJdbcSQLException(DbException.java:489) at org.h2.message.DbException.get(DbException.java:223) at org.h2.message.DbException.get(DbException.java:199) at org.h2.expression.ExpressionColumn.getColumnException(ExpressionColumn.java:244) at org.h2.expression.ExpressionColumn.optimizeOther(ExpressionColumn.java:226) at org.h2.expression.ExpressionColumn.optimize(ExpressionColumn.java:213) at org.h2.command.query.Select.optimizeExpressionsAndPreserveAliases(Select.java:1285) at org.h2.command.query.Select.prepareExpressions(Select.java:1167) at org.h2.command.query.Query.prepare(Query.java:218) at org.h2.command.Parser.prepareCommand(Parser.java:489) at org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:639) at org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:559) at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1166) at org.h2.jdbc.JdbcPreparedStatement.(JdbcPreparedStatement.java:93) at org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:316) at org.apache.ibatis.executor.statement.PreparedStatementHandler.instantiateStatement(PreparedStatementHandler.java:88) at org.apache.ibatis.executor.statement.BaseStatementHandler.prepare(BaseStatementHandler.java:90) at org.apache.ibatis.executor.statement.RoutingStatementHandler.prepare(RoutingStatementHandler.java:60) at jdk.internal.reflect.GeneratedMethodAccessor16.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:61) at com.crm.auth.security.DataScopeInterceptor.intercept(DataScopeInterceptor.java:80) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:59) at jdk.proxy2/jdk.proxy2.$Proxy102.prepare(Unknown Source) at jdk.internal.reflect.GeneratedMethodAccessor16.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:61) at com.crm.auth.security.scope.DataScopeIntegrationTest$DeptQueryCounter.intercept(DataScopeIntegrationTest.java:96) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:59) at jdk.proxy2/jdk.proxy2.$Proxy102.prepare(Unknown Source) at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:90) at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:64) at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:336) at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:158) at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:110) at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:90) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:154) ... 22 more [INFO] Running com.crm.auth.security.SecurityExceptionHandlersTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.024 s -- in com.crm.auth.security.SecurityExceptionHandlersTest [INFO] Running com.crm.auth.security.TokenServiceTest 23:14:33.202 [main] WARN com.crm.auth.security.TokenService -- token 解析失败(累计1次),最近原因: The token was expected 3 parts, but got 2. [INFO] Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.543 s -- in com.crm.auth.security.TokenServiceTest [INFO] Running com.crm.auth.service.client.DingTalkAuthClientTest 23:14:33.242 [main] INFO com.crm.auth.service.client.DingTalkAuthClient -- 组织准入校验未通过:unionId=u-404, errcode=60121 未找到对应员工 23:14:33.245 [main] ERROR com.crm.auth.service.client.DingTalkAuthClient -- 钉钉换取企业级 token 失败,body={"errmsg":"invalid appSecret"} 23:14:33.248 [main] WARN com.crm.auth.service.client.DingTalkAuthClient -- 组织准入校验:企业级 token 已失效,清缓存重取重试,unionId=u-404 23:14:33.248 [main] ERROR com.crm.auth.service.client.DingTalkAuthClient -- 组织准入校验调用失败:unionId=u-404, errcode=42001, errmsg=access_token expired 23:14:33.251 [main] ERROR com.crm.auth.service.client.DingTalkAuthClient -- 钉钉换取用户token失败,body={"code":"AuthFailed","message":"invalid code"} 23:14:33.253 [main] ERROR com.crm.auth.service.client.DingTalkAuthClient -- 组织准入校验调用失败:unionId=u-1, errcode=40001, errmsg=access forbidden 23:14:33.257 [main] WARN com.crm.auth.service.client.DingTalkAuthClient -- 组织准入校验:企业级 token 已失效,清缓存重取重试,unionId=u-1 23:14:33.259 [main] WARN com.crm.auth.service.client.DingTalkAuthClient -- 组织准入校验:unionId 为空,拒绝准入 23:14:33.263 [main] ERROR com.crm.auth.service.client.DingTalkAuthClient -- 钉钉查询用户信息失败,body={"nick":"noUnion"} 23:14:33.266 [main] INFO com.crm.auth.service.client.DingTalkAuthClient -- 组织准入校验未通过:unionId=u-x 在组织通讯录中无 userid [INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.033 s -- in com.crm.auth.service.client.DingTalkAuthClientTest [INFO] Running com.crm.auth.service.client.ThirdPartyAuthClientFactoryTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s -- in com.crm.auth.service.client.ThirdPartyAuthClientFactoryTest [INFO] Running com.crm.auth.service.impl.AuthServiceImplTest 23:14:33.457 [main] WARN com.crm.auth.service.impl.AuthServiceImpl -- 身份绑定[6000]指向的用户[6666]不存在,将重新注册 23:14:33.457 [main] WARN com.crm.auth.service.impl.AuthServiceImpl -- 身份绑定[6000]指向的用户[6666]不存在,将重新注册 23:14:33.457 [main] INFO com.crm.auth.service.impl.AuthServiceImpl -- 三方首登自动注册新用户,userId=6006, mobile=13800000000 23:14:33.457 [main] INFO com.crm.auth.service.impl.AuthServiceImpl -- 孤儿身份[6000]已重定向至用户[6006] 23:14:33.511 [main] INFO com.crm.auth.service.impl.AuthServiceImpl -- 组织准入校验未通过,拒绝登录,unionId=union-001 23:14:33.528 [main] INFO com.crm.auth.service.impl.AuthServiceImpl -- 三方首登自动注册新用户,userId=4004, mobile= 23:14:33.533 [main] INFO com.crm.auth.service.impl.AuthServiceImpl -- 三方首登自动注册新用户,userId=3003, mobile=13800000000 [INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.266 s -- in com.crm.auth.service.impl.AuthServiceImplTest [INFO] Running com.crm.auth.service.impl.AuthUserServiceImplTest [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.267 s -- in com.crm.auth.service.impl.AuthUserServiceImplTest [INFO] Running com.crm.auth.service.impl.DtOrgSyncServiceImplTest 23:14:34.043 [main] INFO com.crm.auth.service.impl.DtOrgSyncServiceImpl -- 钉钉组织同步完成:部门 1(新增 1 更新 0),用户 1(新增 1 更新 0),负责人反写 0 23:14:34.366 [main] INFO com.crm.auth.service.impl.DtOrgSyncServiceImpl -- 钉钉组织同步完成:部门 3(新增 3 更新 0),用户 3(新增 3 更新 0),负责人反写 1 23:14:34.699 [main] INFO com.crm.auth.service.impl.DtOrgSyncServiceImpl -- 钉钉组织同步完成:部门 3(新增 3 更新 0),用户 3(新增 3 更新 0),负责人反写 1 23:14:35.025 [main] INFO com.crm.auth.service.impl.DtOrgSyncServiceImpl -- 钉钉组织同步完成:部门 3(新增 0 更新 1),用户 3(新增 0 更新 3),负责人反写 0 [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.214 s -- in com.crm.auth.service.impl.DtOrgSyncServiceImplTest [INFO] Running com.crm.auth.service.impl.PermissionSeederImplTest 23:14:35.095 [main] INFO com.crm.auth.service.impl.PermissionSeederImpl -- 创建目录节点:系统管理 (type=1) 23:14:35.097 [main] INFO com.crm.auth.service.impl.PermissionSeederImpl -- 创建菜单节点:数据字典 (type=2) 23:14:35.098 [main] INFO com.crm.auth.service.impl.PermissionSeederImpl -- 创建权限点:分组查询 -> dict:group:list 23:14:35.117 [main] INFO com.crm.auth.service.impl.PermissionSeederImpl -- 创建目录节点:系统管理 (type=1) 23:14:35.119 [main] INFO com.crm.auth.service.impl.PermissionSeederImpl -- 创建菜单节点:数据字典 (type=2) 23:14:35.120 [main] INFO com.crm.auth.service.impl.PermissionSeederImpl -- 创建权限点:分组查询 -> dict:group:list 23:14:35.122 [main] INFO com.crm.auth.service.impl.PermissionSeederImpl -- 创建权限点:分组保存 -> dict:group:save 23:14:35.135 [main] INFO com.crm.auth.service.impl.PermissionSeederImpl -- 创建目录节点:系统管理 (type=1) 23:14:35.136 [main] INFO com.crm.auth.service.impl.PermissionSeederImpl -- 创建菜单节点:数据字典 (type=2) 23:14:35.138 [main] INFO com.crm.auth.service.impl.PermissionSeederImpl -- 创建权限点:分组查询 -> dict:group:list 23:14:35.139 [main] WARN com.crm.auth.service.impl.PermissionSeederImpl -- 内置角色 ROLE_ADMIN 不存在,跳过权限绑定(该角色创建后下次启动补绑) 23:14:35.146 [main] INFO com.crm.auth.service.impl.PermissionSeederImpl -- 创建目录节点:系统管理 (type=1) 23:14:35.147 [main] INFO com.crm.auth.service.impl.PermissionSeederImpl -- 创建菜单节点:菜单管理 (type=2) 23:14:35.155 [main] INFO com.crm.auth.service.impl.PermissionSeederImpl -- 创建目录节点:系统管理 (type=1) 23:14:35.156 [main] INFO com.crm.auth.service.impl.PermissionSeederImpl -- 创建菜单节点:角色管理 (type=2) 23:14:35.159 [main] INFO com.crm.auth.service.impl.PermissionSeederImpl -- 创建菜单节点:数据字典 (type=2) [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.136 s -- in com.crm.auth.service.impl.PermissionSeederImplTest [INFO] Running com.crm.auth.service.impl.ResourceServiceImplTest 23:14:35.275 [main] INFO com.crm.auth.service.impl.ResourceServiceImpl -- 保存资源节点:id=1, name=改名字, type=CATALOG 23:14:35.277 [main] INFO com.crm.auth.service.impl.ResourceServiceImpl -- 保存资源节点:id=null, name=新目录, type=CATALOG 23:14:35.293 [main] INFO com.crm.auth.service.impl.ResourceServiceImpl -- 保存资源节点:id=10, name=改名, type=MENU 23:14:35.325 [main] INFO com.crm.auth.service.impl.ResourceServiceImpl -- 图标上传成功:fileId=12345, name=icon.png 23:14:35.329 [main] INFO com.crm.auth.service.impl.ResourceServiceImpl -- 保存资源节点:id=1, name=改昵称, type=CATALOG 23:14:35.337 [main] INFO com.crm.auth.service.impl.ResourceServiceImpl -- 保存资源节点:id=10, name=改名, type=MENU 23:14:35.339 [main] INFO com.crm.auth.service.impl.ResourceServiceImpl -- 保存资源节点:id=null, name=新增按钮, type=BUTTON 23:14:35.343 [main] INFO com.crm.auth.service.impl.ResourceServiceImpl -- 保存资源节点:id=null, name=根菜单, type=MENU 23:14:35.352 [main] INFO com.crm.auth.service.impl.ResourceServiceImpl -- 删除资源节点:id=100, name=查询用户 23:14:35.356 [main] INFO com.crm.auth.service.impl.ResourceServiceImpl -- 删除资源节点时级联清理角色授权引用:menuId=100, 清理了 2 条记录 23:14:35.357 [main] INFO com.crm.auth.service.impl.ResourceServiceImpl -- 删除资源节点:id=100, name=查询用户 23:14:35.367 [main] INFO com.crm.auth.service.impl.ResourceServiceImpl -- 保存资源节点:id=null, name=根目录, type=CATALOG 23:14:35.375 [main] INFO com.crm.auth.service.impl.ResourceServiceImpl -- 保存资源节点:id=null, name=新菜单, type=MENU [INFO] Tests run: 36, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.212 s -- in com.crm.auth.service.impl.ResourceServiceImplTest [INFO] Running com.crm.auth.service.impl.SysDeptServiceImplTest [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.054 s -- in com.crm.auth.service.impl.SysDeptServiceImplTest [INFO] Running com.crm.auth.service.impl.SysMenuServiceImplTest [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.068 s -- in com.crm.auth.service.impl.SysMenuServiceImplTest [INFO] Running com.crm.auth.service.impl.SysRoleServiceImplTest 23:14:35.752 [main] INFO com.crm.auth.service.impl.SysRoleServiceImpl -- 保存角色:id=1, roleCode=ROLE_SALES 23:14:35.762 [main] INFO com.crm.auth.service.impl.SysRoleServiceImpl -- 分配角色资源:roleId=1, 输入 1 个 -> 补全后 1 个 23:14:35.767 [main] INFO com.crm.auth.service.impl.SysRoleServiceImpl -- 删除角色及级联关联:roleId=2 23:14:35.774 [main] INFO com.crm.auth.service.impl.SysRoleServiceImpl -- 分配角色资源:roleId=1, 输入 1 个 -> 补全后 3 个 23:14:35.780 [main] INFO com.crm.auth.service.impl.SysRoleServiceImpl -- 保存角色:id=1, roleCode=ROLE_ADMIN [INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.269 s -- in com.crm.auth.service.impl.SysRoleServiceImplTest [INFO] Running com.crm.auth.service.impl.UserListIntegrationTest [ERROR] Tests run: 14, Failures: 0, Errors: 13, Skipped: 0, Time elapsed: 0.188 s <<< FAILURE! -- in com.crm.auth.service.impl.UserListIntegrationTest [ERROR] com.crm.auth.service.impl.UserListIntegrationTest.page_filterByKeywordUsername -- Time elapsed: 0.025 s <<< ERROR! org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? , ? ) AND deleted=0 [42122-224] ### The error may exist in com/crm/auth/mapper/SysDeptMapper.java (best guess) ### The error may involve com.crm.auth.mapper.SysDeptMapper.selectBatchIds ### The error occurred while executing a query ### SQL: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? , ? ) AND deleted=0 ### Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? , ? ) AND deleted=0 [42122-224] at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:156) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:147) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:142) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:164) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:77) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:152) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89) at jdk.proxy2/jdk.proxy2.$Proxy92.selectBatchIds(Unknown Source) at com.crm.auth.service.impl.UserQueryServiceImpl.pageUserList(UserQueryServiceImpl.java:118) at com.crm.auth.service.impl.UserListIntegrationTest.page_filterByKeywordUsername(UserListIntegrationTest.java:231) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) Caused by: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? , ? ) AND deleted=0 [42122-224] at org.h2.message.DbException.getJdbcSQLException(DbException.java:514) at org.h2.message.DbException.getJdbcSQLException(DbException.java:489) at org.h2.message.DbException.get(DbException.java:223) at org.h2.message.DbException.get(DbException.java:199) at org.h2.expression.ExpressionColumn.getColumnException(ExpressionColumn.java:244) at org.h2.expression.ExpressionColumn.optimizeOther(ExpressionColumn.java:226) at org.h2.expression.ExpressionColumn.optimize(ExpressionColumn.java:213) at org.h2.command.query.Select.optimizeExpressionsAndPreserveAliases(Select.java:1285) at org.h2.command.query.Select.prepareExpressions(Select.java:1167) at org.h2.command.query.Query.prepare(Query.java:218) at org.h2.command.Parser.prepareCommand(Parser.java:489) at org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:639) at org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:559) at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1166) at org.h2.jdbc.JdbcPreparedStatement.(JdbcPreparedStatement.java:93) at org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:316) at org.apache.ibatis.executor.statement.PreparedStatementHandler.instantiateStatement(PreparedStatementHandler.java:88) at org.apache.ibatis.executor.statement.BaseStatementHandler.prepare(BaseStatementHandler.java:90) at org.apache.ibatis.executor.statement.RoutingStatementHandler.prepare(RoutingStatementHandler.java:60) at jdk.internal.reflect.GeneratedMethodAccessor16.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:61) at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:106) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:59) at jdk.proxy2/jdk.proxy2.$Proxy102.prepare(Unknown Source) at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:90) at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:64) at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:336) at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:158) at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:110) at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:81) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:59) at jdk.proxy2/jdk.proxy2.$Proxy117.query(Unknown Source) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:154) ... 12 more [ERROR] com.crm.auth.service.impl.UserListIntegrationTest.page_filterUnassigned -- Time elapsed: 0.008 s <<< ERROR! org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? , ? ) AND deleted=0 [42122-224] ### The error may exist in com/crm/auth/mapper/SysDeptMapper.java (best guess) ### The error may involve com.crm.auth.mapper.SysDeptMapper.selectBatchIds ### The error occurred while executing a query ### SQL: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? , ? ) AND deleted=0 ### Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? , ? ) AND deleted=0 [42122-224] at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:156) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:147) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:142) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:164) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:77) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:152) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89) at jdk.proxy2/jdk.proxy2.$Proxy92.selectBatchIds(Unknown Source) at com.crm.auth.service.impl.UserQueryServiceImpl.pageUserList(UserQueryServiceImpl.java:118) at com.crm.auth.service.impl.UserListIntegrationTest.page_filterUnassigned(UserListIntegrationTest.java:207) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) Caused by: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? , ? ) AND deleted=0 [42122-224] at org.h2.message.DbException.getJdbcSQLException(DbException.java:514) at org.h2.message.DbException.getJdbcSQLException(DbException.java:489) at org.h2.message.DbException.get(DbException.java:223) at org.h2.message.DbException.get(DbException.java:199) at org.h2.expression.ExpressionColumn.getColumnException(ExpressionColumn.java:244) at org.h2.expression.ExpressionColumn.optimizeOther(ExpressionColumn.java:226) at org.h2.expression.ExpressionColumn.optimize(ExpressionColumn.java:213) at org.h2.command.query.Select.optimizeExpressionsAndPreserveAliases(Select.java:1285) at org.h2.command.query.Select.prepareExpressions(Select.java:1167) at org.h2.command.query.Query.prepare(Query.java:218) at org.h2.command.Parser.prepareCommand(Parser.java:489) at org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:639) at org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:559) at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1166) at org.h2.jdbc.JdbcPreparedStatement.(JdbcPreparedStatement.java:93) at org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:316) at org.apache.ibatis.executor.statement.PreparedStatementHandler.instantiateStatement(PreparedStatementHandler.java:88) at org.apache.ibatis.executor.statement.BaseStatementHandler.prepare(BaseStatementHandler.java:90) at org.apache.ibatis.executor.statement.RoutingStatementHandler.prepare(RoutingStatementHandler.java:60) at jdk.internal.reflect.GeneratedMethodAccessor16.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:61) at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:106) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:59) at jdk.proxy2/jdk.proxy2.$Proxy102.prepare(Unknown Source) at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:90) at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:64) at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:336) at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:158) at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:110) at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:81) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:59) at jdk.proxy2/jdk.proxy2.$Proxy117.query(Unknown Source) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:154) ... 12 more [ERROR] com.crm.auth.service.impl.UserListIntegrationTest.page_filterByLoginTimeRange -- Time elapsed: 0.006 s <<< ERROR! org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? , ? ) AND deleted=0 [42122-224] ### The error may exist in com/crm/auth/mapper/SysDeptMapper.java (best guess) ### The error may involve com.crm.auth.mapper.SysDeptMapper.selectBatchIds ### The error occurred while executing a query ### SQL: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? , ? ) AND deleted=0 ### Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? , ? ) AND deleted=0 [42122-224] at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:156) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:147) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:142) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:164) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:77) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:152) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89) at jdk.proxy2/jdk.proxy2.$Proxy92.selectBatchIds(Unknown Source) at com.crm.auth.service.impl.UserQueryServiceImpl.pageUserList(UserQueryServiceImpl.java:118) at com.crm.auth.service.impl.UserListIntegrationTest.page_filterByLoginTimeRange(UserListIntegrationTest.java:253) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) Caused by: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? , ? ) AND deleted=0 [42122-224] at org.h2.message.DbException.getJdbcSQLException(DbException.java:514) at org.h2.message.DbException.getJdbcSQLException(DbException.java:489) at org.h2.message.DbException.get(DbException.java:223) at org.h2.message.DbException.get(DbException.java:199) at org.h2.expression.ExpressionColumn.getColumnException(ExpressionColumn.java:244) at org.h2.expression.ExpressionColumn.optimizeOther(ExpressionColumn.java:226) at org.h2.expression.ExpressionColumn.optimize(ExpressionColumn.java:213) at org.h2.command.query.Select.optimizeExpressionsAndPreserveAliases(Select.java:1285) at org.h2.command.query.Select.prepareExpressions(Select.java:1167) at org.h2.command.query.Query.prepare(Query.java:218) at org.h2.command.Parser.prepareCommand(Parser.java:489) at org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:639) at org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:559) at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1166) at org.h2.jdbc.JdbcPreparedStatement.(JdbcPreparedStatement.java:93) at org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:316) at org.apache.ibatis.executor.statement.PreparedStatementHandler.instantiateStatement(PreparedStatementHandler.java:88) at org.apache.ibatis.executor.statement.BaseStatementHandler.prepare(BaseStatementHandler.java:90) at org.apache.ibatis.executor.statement.RoutingStatementHandler.prepare(RoutingStatementHandler.java:60) at jdk.internal.reflect.GeneratedMethodAccessor16.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:61) at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:106) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:59) at jdk.proxy2/jdk.proxy2.$Proxy102.prepare(Unknown Source) at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:90) at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:64) at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:336) at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:158) at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:110) at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:81) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:59) at jdk.proxy2/jdk.proxy2.$Proxy117.query(Unknown Source) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:154) ... 12 more [ERROR] com.crm.auth.service.impl.UserListIntegrationTest.page_filterActive -- Time elapsed: 0.006 s <<< ERROR! org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? , ? , ? ) AND deleted=0 [42122-224] ### The error may exist in com/crm/auth/mapper/SysDeptMapper.java (best guess) ### The error may involve com.crm.auth.mapper.SysDeptMapper.selectBatchIds ### The error occurred while executing a query ### SQL: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? , ? , ? ) AND deleted=0 ### Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? , ? , ? ) AND deleted=0 [42122-224] at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:156) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:147) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:142) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:164) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:77) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:152) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89) at jdk.proxy2/jdk.proxy2.$Proxy92.selectBatchIds(Unknown Source) at com.crm.auth.service.impl.UserQueryServiceImpl.pageUserList(UserQueryServiceImpl.java:118) at com.crm.auth.service.impl.UserListIntegrationTest.page_filterActive(UserListIntegrationTest.java:184) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) Caused by: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? , ? , ? ) AND deleted=0 [42122-224] at org.h2.message.DbException.getJdbcSQLException(DbException.java:514) at org.h2.message.DbException.getJdbcSQLException(DbException.java:489) at org.h2.message.DbException.get(DbException.java:223) at org.h2.message.DbException.get(DbException.java:199) at org.h2.expression.ExpressionColumn.getColumnException(ExpressionColumn.java:244) at org.h2.expression.ExpressionColumn.optimizeOther(ExpressionColumn.java:226) at org.h2.expression.ExpressionColumn.optimize(ExpressionColumn.java:213) at org.h2.command.query.Select.optimizeExpressionsAndPreserveAliases(Select.java:1285) at org.h2.command.query.Select.prepareExpressions(Select.java:1167) at org.h2.command.query.Query.prepare(Query.java:218) at org.h2.command.Parser.prepareCommand(Parser.java:489) at org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:639) at org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:559) at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1166) at org.h2.jdbc.JdbcPreparedStatement.(JdbcPreparedStatement.java:93) at org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:316) at org.apache.ibatis.executor.statement.PreparedStatementHandler.instantiateStatement(PreparedStatementHandler.java:88) at org.apache.ibatis.executor.statement.BaseStatementHandler.prepare(BaseStatementHandler.java:90) at org.apache.ibatis.executor.statement.RoutingStatementHandler.prepare(RoutingStatementHandler.java:60) at jdk.internal.reflect.GeneratedMethodAccessor16.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:61) at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:106) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:59) at jdk.proxy2/jdk.proxy2.$Proxy102.prepare(Unknown Source) at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:90) at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:64) at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:336) at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:158) at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:110) at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:81) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:59) at jdk.proxy2/jdk.proxy2.$Proxy117.query(Unknown Source) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:154) ... 12 more [ERROR] com.crm.auth.service.impl.UserListIntegrationTest.page_noFilter_returnsAll -- Time elapsed: 0.007 s <<< ERROR! org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? , ? , ? ) AND deleted=0 [42122-224] ### The error may exist in com/crm/auth/mapper/SysDeptMapper.java (best guess) ### The error may involve com.crm.auth.mapper.SysDeptMapper.selectBatchIds ### The error occurred while executing a query ### SQL: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? , ? , ? ) AND deleted=0 ### Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? , ? , ? ) AND deleted=0 [42122-224] at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:156) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:147) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:142) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:164) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:77) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:152) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89) at jdk.proxy2/jdk.proxy2.$Proxy92.selectBatchIds(Unknown Source) at com.crm.auth.service.impl.UserQueryServiceImpl.pageUserList(UserQueryServiceImpl.java:118) at com.crm.auth.service.impl.UserListIntegrationTest.page_noFilter_returnsAll(UserListIntegrationTest.java:173) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) Caused by: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? , ? , ? ) AND deleted=0 [42122-224] at org.h2.message.DbException.getJdbcSQLException(DbException.java:514) at org.h2.message.DbException.getJdbcSQLException(DbException.java:489) at org.h2.message.DbException.get(DbException.java:223) at org.h2.message.DbException.get(DbException.java:199) at org.h2.expression.ExpressionColumn.getColumnException(ExpressionColumn.java:244) at org.h2.expression.ExpressionColumn.optimizeOther(ExpressionColumn.java:226) at org.h2.expression.ExpressionColumn.optimize(ExpressionColumn.java:213) at org.h2.command.query.Select.optimizeExpressionsAndPreserveAliases(Select.java:1285) at org.h2.command.query.Select.prepareExpressions(Select.java:1167) at org.h2.command.query.Query.prepare(Query.java:218) at org.h2.command.Parser.prepareCommand(Parser.java:489) at org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:639) at org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:559) at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1166) at org.h2.jdbc.JdbcPreparedStatement.(JdbcPreparedStatement.java:93) at org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:316) at org.apache.ibatis.executor.statement.PreparedStatementHandler.instantiateStatement(PreparedStatementHandler.java:88) at org.apache.ibatis.executor.statement.BaseStatementHandler.prepare(BaseStatementHandler.java:90) at org.apache.ibatis.executor.statement.RoutingStatementHandler.prepare(RoutingStatementHandler.java:60) at jdk.internal.reflect.GeneratedMethodAccessor16.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:61) at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:106) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:59) at jdk.proxy2/jdk.proxy2.$Proxy102.prepare(Unknown Source) at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:90) at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:64) at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:336) at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:158) at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:110) at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:81) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:59) at jdk.proxy2/jdk.proxy2.$Proxy117.query(Unknown Source) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:154) ... 12 more [ERROR] com.crm.auth.service.impl.UserListIntegrationTest.page_dtoAssembly_emptyRolesAndPartTime -- Time elapsed: 0.006 s <<< ERROR! org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? ) AND deleted=0 [42122-224] ### The error may exist in com/crm/auth/mapper/SysDeptMapper.java (best guess) ### The error may involve com.crm.auth.mapper.SysDeptMapper.selectBatchIds ### The error occurred while executing a query ### SQL: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? ) AND deleted=0 ### Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? ) AND deleted=0 [42122-224] at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:156) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:147) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:142) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:164) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:77) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:152) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89) at jdk.proxy2/jdk.proxy2.$Proxy92.selectBatchIds(Unknown Source) at com.crm.auth.service.impl.UserQueryServiceImpl.pageUserList(UserQueryServiceImpl.java:118) at com.crm.auth.service.impl.UserListIntegrationTest.page_dtoAssembly_emptyRolesAndPartTime(UserListIntegrationTest.java:310) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) Caused by: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? ) AND deleted=0 [42122-224] at org.h2.message.DbException.getJdbcSQLException(DbException.java:514) at org.h2.message.DbException.getJdbcSQLException(DbException.java:489) at org.h2.message.DbException.get(DbException.java:223) at org.h2.message.DbException.get(DbException.java:199) at org.h2.expression.ExpressionColumn.getColumnException(ExpressionColumn.java:244) at org.h2.expression.ExpressionColumn.optimizeOther(ExpressionColumn.java:226) at org.h2.expression.ExpressionColumn.optimize(ExpressionColumn.java:213) at org.h2.command.query.Select.optimizeExpressionsAndPreserveAliases(Select.java:1285) at org.h2.command.query.Select.prepareExpressions(Select.java:1167) at org.h2.command.query.Query.prepare(Query.java:218) at org.h2.command.Parser.prepareCommand(Parser.java:489) at org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:639) at org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:559) at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1166) at org.h2.jdbc.JdbcPreparedStatement.(JdbcPreparedStatement.java:93) at org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:316) at org.apache.ibatis.executor.statement.PreparedStatementHandler.instantiateStatement(PreparedStatementHandler.java:88) at org.apache.ibatis.executor.statement.BaseStatementHandler.prepare(BaseStatementHandler.java:90) at org.apache.ibatis.executor.statement.RoutingStatementHandler.prepare(RoutingStatementHandler.java:60) at jdk.internal.reflect.GeneratedMethodAccessor16.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:61) at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:106) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:59) at jdk.proxy2/jdk.proxy2.$Proxy102.prepare(Unknown Source) at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:90) at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:64) at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:336) at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:158) at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:110) at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:81) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:59) at jdk.proxy2/jdk.proxy2.$Proxy117.query(Unknown Source) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:154) ... 12 more [ERROR] com.crm.auth.service.impl.UserListIntegrationTest.page_dtoAssembly_allFields -- Time elapsed: 0.007 s <<< ERROR! org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? , ? ) AND deleted=0 [42122-224] ### The error may exist in com/crm/auth/mapper/SysDeptMapper.java (best guess) ### The error may involve com.crm.auth.mapper.SysDeptMapper.selectBatchIds ### The error occurred while executing a query ### SQL: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? , ? ) AND deleted=0 ### Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? , ? ) AND deleted=0 [42122-224] at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:156) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:147) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:142) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:164) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:77) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:152) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89) at jdk.proxy2/jdk.proxy2.$Proxy92.selectBatchIds(Unknown Source) at com.crm.auth.service.impl.UserQueryServiceImpl.pageUserList(UserQueryServiceImpl.java:118) at com.crm.auth.service.impl.UserListIntegrationTest.page_dtoAssembly_allFields(UserListIntegrationTest.java:282) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) Caused by: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? , ? ) AND deleted=0 [42122-224] at org.h2.message.DbException.getJdbcSQLException(DbException.java:514) at org.h2.message.DbException.getJdbcSQLException(DbException.java:489) at org.h2.message.DbException.get(DbException.java:223) at org.h2.message.DbException.get(DbException.java:199) at org.h2.expression.ExpressionColumn.getColumnException(ExpressionColumn.java:244) at org.h2.expression.ExpressionColumn.optimizeOther(ExpressionColumn.java:226) at org.h2.expression.ExpressionColumn.optimize(ExpressionColumn.java:213) at org.h2.command.query.Select.optimizeExpressionsAndPreserveAliases(Select.java:1285) at org.h2.command.query.Select.prepareExpressions(Select.java:1167) at org.h2.command.query.Query.prepare(Query.java:218) at org.h2.command.Parser.prepareCommand(Parser.java:489) at org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:639) at org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:559) at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1166) at org.h2.jdbc.JdbcPreparedStatement.(JdbcPreparedStatement.java:93) at org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:316) at org.apache.ibatis.executor.statement.PreparedStatementHandler.instantiateStatement(PreparedStatementHandler.java:88) at org.apache.ibatis.executor.statement.BaseStatementHandler.prepare(BaseStatementHandler.java:90) at org.apache.ibatis.executor.statement.RoutingStatementHandler.prepare(RoutingStatementHandler.java:60) at jdk.internal.reflect.GeneratedMethodAccessor16.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:61) at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:106) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:59) at jdk.proxy2/jdk.proxy2.$Proxy102.prepare(Unknown Source) at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:90) at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:64) at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:336) at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:158) at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:110) at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:81) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:59) at jdk.proxy2/jdk.proxy2.$Proxy117.query(Unknown Source) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:154) ... 12 more [ERROR] com.crm.auth.service.impl.UserListIntegrationTest.stats_salesSubtree -- Time elapsed: 0.003 s <<< ERROR! org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE deleted=0 [42122-224] ### The error may exist in com/crm/auth/mapper/SysDeptMapper.java (best guess) ### The error may involve com.crm.auth.mapper.SysDeptMapper.selectList ### The error occurred while executing a query ### SQL: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE deleted=0 ### Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE deleted=0 [42122-224] at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:156) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:147) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:142) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:164) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:77) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:152) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89) at jdk.proxy2/jdk.proxy2.$Proxy92.selectList(Unknown Source) at com.baomidou.mybatisplus.extension.service.IService.list(IService.java:407) at com.baomidou.mybatisplus.extension.service.IService.list(IService.java:428) at com.crm.auth.service.impl.SysDeptServiceImpl.getChildDeptIds(SysDeptServiceImpl.java:113) at com.crm.auth.service.impl.UserQueryServiceImpl.stats(UserQueryServiceImpl.java:139) at com.crm.auth.service.impl.UserListIntegrationTest.stats_salesSubtree(UserListIntegrationTest.java:147) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) Caused by: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE deleted=0 [42122-224] at org.h2.message.DbException.getJdbcSQLException(DbException.java:514) at org.h2.message.DbException.getJdbcSQLException(DbException.java:489) at org.h2.message.DbException.get(DbException.java:223) at org.h2.message.DbException.get(DbException.java:199) at org.h2.expression.ExpressionColumn.getColumnException(ExpressionColumn.java:244) at org.h2.expression.ExpressionColumn.optimizeOther(ExpressionColumn.java:226) at org.h2.expression.ExpressionColumn.optimize(ExpressionColumn.java:213) at org.h2.command.query.Select.optimizeExpressionsAndPreserveAliases(Select.java:1285) at org.h2.command.query.Select.prepareExpressions(Select.java:1167) at org.h2.command.query.Query.prepare(Query.java:218) at org.h2.command.Parser.prepareCommand(Parser.java:489) at org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:639) at org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:559) at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1166) at org.h2.jdbc.JdbcPreparedStatement.(JdbcPreparedStatement.java:93) at org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:316) at org.apache.ibatis.executor.statement.PreparedStatementHandler.instantiateStatement(PreparedStatementHandler.java:88) at org.apache.ibatis.executor.statement.BaseStatementHandler.prepare(BaseStatementHandler.java:90) at org.apache.ibatis.executor.statement.RoutingStatementHandler.prepare(RoutingStatementHandler.java:60) at jdk.internal.reflect.GeneratedMethodAccessor16.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:61) at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:106) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:59) at jdk.proxy2/jdk.proxy2.$Proxy102.prepare(Unknown Source) at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:90) at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:64) at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:336) at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:158) at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:110) at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:81) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:59) at jdk.proxy2/jdk.proxy2.$Proxy117.query(Unknown Source) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:154) ... 15 more [ERROR] com.crm.auth.service.impl.UserListIntegrationTest.page_filterResigned -- Time elapsed: 0.006 s <<< ERROR! org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? ) AND deleted=0 [42122-224] ### The error may exist in com/crm/auth/mapper/SysDeptMapper.java (best guess) ### The error may involve com.crm.auth.mapper.SysDeptMapper.selectBatchIds ### The error occurred while executing a query ### SQL: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? ) AND deleted=0 ### Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? ) AND deleted=0 [42122-224] at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:156) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:147) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:142) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:164) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:77) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:152) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89) at jdk.proxy2/jdk.proxy2.$Proxy92.selectBatchIds(Unknown Source) at com.crm.auth.service.impl.UserQueryServiceImpl.pageUserList(UserQueryServiceImpl.java:118) at com.crm.auth.service.impl.UserListIntegrationTest.page_filterResigned(UserListIntegrationTest.java:196) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) Caused by: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? ) AND deleted=0 [42122-224] at org.h2.message.DbException.getJdbcSQLException(DbException.java:514) at org.h2.message.DbException.getJdbcSQLException(DbException.java:489) at org.h2.message.DbException.get(DbException.java:223) at org.h2.message.DbException.get(DbException.java:199) at org.h2.expression.ExpressionColumn.getColumnException(ExpressionColumn.java:244) at org.h2.expression.ExpressionColumn.optimizeOther(ExpressionColumn.java:226) at org.h2.expression.ExpressionColumn.optimize(ExpressionColumn.java:213) at org.h2.command.query.Select.optimizeExpressionsAndPreserveAliases(Select.java:1285) at org.h2.command.query.Select.prepareExpressions(Select.java:1167) at org.h2.command.query.Query.prepare(Query.java:218) at org.h2.command.Parser.prepareCommand(Parser.java:489) at org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:639) at org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:559) at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1166) at org.h2.jdbc.JdbcPreparedStatement.(JdbcPreparedStatement.java:93) at org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:316) at org.apache.ibatis.executor.statement.PreparedStatementHandler.instantiateStatement(PreparedStatementHandler.java:88) at org.apache.ibatis.executor.statement.BaseStatementHandler.prepare(BaseStatementHandler.java:90) at org.apache.ibatis.executor.statement.RoutingStatementHandler.prepare(RoutingStatementHandler.java:60) at jdk.internal.reflect.GeneratedMethodAccessor16.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:61) at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:106) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:59) at jdk.proxy2/jdk.proxy2.$Proxy102.prepare(Unknown Source) at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:90) at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:64) at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:336) at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:158) at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:110) at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:81) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:59) at jdk.proxy2/jdk.proxy2.$Proxy117.query(Unknown Source) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:154) ... 12 more [ERROR] com.crm.auth.service.impl.UserListIntegrationTest.page_filterByDeptSubtree -- Time elapsed: 0.002 s <<< ERROR! org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE deleted=0 [42122-224] ### The error may exist in com/crm/auth/mapper/SysDeptMapper.java (best guess) ### The error may involve com.crm.auth.mapper.SysDeptMapper.selectList ### The error occurred while executing a query ### SQL: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE deleted=0 ### Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE deleted=0 [42122-224] at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:156) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:147) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:142) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:164) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:77) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:152) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89) at jdk.proxy2/jdk.proxy2.$Proxy92.selectList(Unknown Source) at com.baomidou.mybatisplus.extension.service.IService.list(IService.java:407) at com.baomidou.mybatisplus.extension.service.IService.list(IService.java:428) at com.crm.auth.service.impl.SysDeptServiceImpl.getChildDeptIds(SysDeptServiceImpl.java:113) at com.crm.auth.service.impl.UserQueryServiceImpl.resolveScopedUserIds(UserQueryServiceImpl.java:168) at com.crm.auth.service.impl.UserQueryServiceImpl.pageUserList(UserQueryServiceImpl.java:63) at com.crm.auth.service.impl.UserListIntegrationTest.page_filterByDeptSubtree(UserListIntegrationTest.java:219) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) Caused by: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE deleted=0 [42122-224] at org.h2.message.DbException.getJdbcSQLException(DbException.java:514) at org.h2.message.DbException.getJdbcSQLException(DbException.java:489) at org.h2.message.DbException.get(DbException.java:223) at org.h2.message.DbException.get(DbException.java:199) at org.h2.expression.ExpressionColumn.getColumnException(ExpressionColumn.java:244) at org.h2.expression.ExpressionColumn.optimizeOther(ExpressionColumn.java:226) at org.h2.expression.ExpressionColumn.optimize(ExpressionColumn.java:213) at org.h2.command.query.Select.optimizeExpressionsAndPreserveAliases(Select.java:1285) at org.h2.command.query.Select.prepareExpressions(Select.java:1167) at org.h2.command.query.Query.prepare(Query.java:218) at org.h2.command.Parser.prepareCommand(Parser.java:489) at org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:639) at org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:559) at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1166) at org.h2.jdbc.JdbcPreparedStatement.(JdbcPreparedStatement.java:93) at org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:316) at org.apache.ibatis.executor.statement.PreparedStatementHandler.instantiateStatement(PreparedStatementHandler.java:88) at org.apache.ibatis.executor.statement.BaseStatementHandler.prepare(BaseStatementHandler.java:90) at org.apache.ibatis.executor.statement.RoutingStatementHandler.prepare(RoutingStatementHandler.java:60) at jdk.internal.reflect.GeneratedMethodAccessor16.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:61) at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:106) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:59) at jdk.proxy2/jdk.proxy2.$Proxy102.prepare(Unknown Source) at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:90) at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:64) at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:336) at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:158) at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:110) at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:81) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:59) at jdk.proxy2/jdk.proxy2.$Proxy117.query(Unknown Source) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:154) ... 16 more [ERROR] com.crm.auth.service.impl.UserListIntegrationTest.stats_marketSubtree_includesPartTime -- Time elapsed: 0.003 s <<< ERROR! org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE deleted=0 [42122-224] ### The error may exist in com/crm/auth/mapper/SysDeptMapper.java (best guess) ### The error may involve com.crm.auth.mapper.SysDeptMapper.selectList ### The error occurred while executing a query ### SQL: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE deleted=0 ### Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE deleted=0 [42122-224] at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:156) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:147) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:142) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:164) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:77) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:152) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89) at jdk.proxy2/jdk.proxy2.$Proxy92.selectList(Unknown Source) at com.baomidou.mybatisplus.extension.service.IService.list(IService.java:407) at com.baomidou.mybatisplus.extension.service.IService.list(IService.java:428) at com.crm.auth.service.impl.SysDeptServiceImpl.getChildDeptIds(SysDeptServiceImpl.java:113) at com.crm.auth.service.impl.UserQueryServiceImpl.stats(UserQueryServiceImpl.java:139) at com.crm.auth.service.impl.UserListIntegrationTest.stats_marketSubtree_includesPartTime(UserListIntegrationTest.java:157) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) Caused by: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE deleted=0 [42122-224] at org.h2.message.DbException.getJdbcSQLException(DbException.java:514) at org.h2.message.DbException.getJdbcSQLException(DbException.java:489) at org.h2.message.DbException.get(DbException.java:223) at org.h2.message.DbException.get(DbException.java:199) at org.h2.expression.ExpressionColumn.getColumnException(ExpressionColumn.java:244) at org.h2.expression.ExpressionColumn.optimizeOther(ExpressionColumn.java:226) at org.h2.expression.ExpressionColumn.optimize(ExpressionColumn.java:213) at org.h2.command.query.Select.optimizeExpressionsAndPreserveAliases(Select.java:1285) at org.h2.command.query.Select.prepareExpressions(Select.java:1167) at org.h2.command.query.Query.prepare(Query.java:218) at org.h2.command.Parser.prepareCommand(Parser.java:489) at org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:639) at org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:559) at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1166) at org.h2.jdbc.JdbcPreparedStatement.(JdbcPreparedStatement.java:93) at org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:316) at org.apache.ibatis.executor.statement.PreparedStatementHandler.instantiateStatement(PreparedStatementHandler.java:88) at org.apache.ibatis.executor.statement.BaseStatementHandler.prepare(BaseStatementHandler.java:90) at org.apache.ibatis.executor.statement.RoutingStatementHandler.prepare(RoutingStatementHandler.java:60) at jdk.internal.reflect.GeneratedMethodAccessor16.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:61) at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:106) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:59) at jdk.proxy2/jdk.proxy2.$Proxy102.prepare(Unknown Source) at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:90) at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:64) at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:336) at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:158) at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:110) at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:81) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:59) at jdk.proxy2/jdk.proxy2.$Proxy117.query(Unknown Source) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:154) ... 15 more [ERROR] com.crm.auth.service.impl.UserListIntegrationTest.page_pagination -- Time elapsed: 0.006 s <<< ERROR! org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? , ? ) AND deleted=0 [42122-224] ### The error may exist in com/crm/auth/mapper/SysDeptMapper.java (best guess) ### The error may involve com.crm.auth.mapper.SysDeptMapper.selectBatchIds ### The error occurred while executing a query ### SQL: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? , ? ) AND deleted=0 ### Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? , ? ) AND deleted=0 [42122-224] at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:156) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:147) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:142) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:164) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:77) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:152) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89) at jdk.proxy2/jdk.proxy2.$Proxy92.selectBatchIds(Unknown Source) at com.crm.auth.service.impl.UserQueryServiceImpl.pageUserList(UserQueryServiceImpl.java:118) at com.crm.auth.service.impl.UserListIntegrationTest.page_pagination(UserListIntegrationTest.java:267) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) Caused by: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? , ? ) AND deleted=0 [42122-224] at org.h2.message.DbException.getJdbcSQLException(DbException.java:514) at org.h2.message.DbException.getJdbcSQLException(DbException.java:489) at org.h2.message.DbException.get(DbException.java:223) at org.h2.message.DbException.get(DbException.java:199) at org.h2.expression.ExpressionColumn.getColumnException(ExpressionColumn.java:244) at org.h2.expression.ExpressionColumn.optimizeOther(ExpressionColumn.java:226) at org.h2.expression.ExpressionColumn.optimize(ExpressionColumn.java:213) at org.h2.command.query.Select.optimizeExpressionsAndPreserveAliases(Select.java:1285) at org.h2.command.query.Select.prepareExpressions(Select.java:1167) at org.h2.command.query.Query.prepare(Query.java:218) at org.h2.command.Parser.prepareCommand(Parser.java:489) at org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:639) at org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:559) at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1166) at org.h2.jdbc.JdbcPreparedStatement.(JdbcPreparedStatement.java:93) at org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:316) at org.apache.ibatis.executor.statement.PreparedStatementHandler.instantiateStatement(PreparedStatementHandler.java:88) at org.apache.ibatis.executor.statement.BaseStatementHandler.prepare(BaseStatementHandler.java:90) at org.apache.ibatis.executor.statement.RoutingStatementHandler.prepare(RoutingStatementHandler.java:60) at jdk.internal.reflect.GeneratedMethodAccessor16.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:61) at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:106) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:59) at jdk.proxy2/jdk.proxy2.$Proxy102.prepare(Unknown Source) at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:90) at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:64) at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:336) at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:158) at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:110) at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:81) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:59) at jdk.proxy2/jdk.proxy2.$Proxy117.query(Unknown Source) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:154) ... 12 more [ERROR] com.crm.auth.service.impl.UserListIntegrationTest.page_filterByKeywordAccount -- Time elapsed: 0.007 s <<< ERROR! org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? ) AND deleted=0 [42122-224] ### The error may exist in com/crm/auth/mapper/SysDeptMapper.java (best guess) ### The error may involve com.crm.auth.mapper.SysDeptMapper.selectBatchIds ### The error occurred while executing a query ### SQL: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? ) AND deleted=0 ### Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? ) AND deleted=0 [42122-224] at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:156) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:147) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:142) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:164) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:77) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:152) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89) at jdk.proxy2/jdk.proxy2.$Proxy92.selectBatchIds(Unknown Source) at com.crm.auth.service.impl.UserQueryServiceImpl.pageUserList(UserQueryServiceImpl.java:118) at com.crm.auth.service.impl.UserListIntegrationTest.page_filterByKeywordAccount(UserListIntegrationTest.java:242) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) Caused by: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? ) AND deleted=0 [42122-224] at org.h2.message.DbException.getJdbcSQLException(DbException.java:514) at org.h2.message.DbException.getJdbcSQLException(DbException.java:489) at org.h2.message.DbException.get(DbException.java:223) at org.h2.message.DbException.get(DbException.java:199) at org.h2.expression.ExpressionColumn.getColumnException(ExpressionColumn.java:244) at org.h2.expression.ExpressionColumn.optimizeOther(ExpressionColumn.java:226) at org.h2.expression.ExpressionColumn.optimize(ExpressionColumn.java:213) at org.h2.command.query.Select.optimizeExpressionsAndPreserveAliases(Select.java:1285) at org.h2.command.query.Select.prepareExpressions(Select.java:1167) at org.h2.command.query.Query.prepare(Query.java:218) at org.h2.command.Parser.prepareCommand(Parser.java:489) at org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:639) at org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:559) at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1166) at org.h2.jdbc.JdbcPreparedStatement.(JdbcPreparedStatement.java:93) at org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:316) at org.apache.ibatis.executor.statement.PreparedStatementHandler.instantiateStatement(PreparedStatementHandler.java:88) at org.apache.ibatis.executor.statement.BaseStatementHandler.prepare(BaseStatementHandler.java:90) at org.apache.ibatis.executor.statement.RoutingStatementHandler.prepare(RoutingStatementHandler.java:60) at jdk.internal.reflect.GeneratedMethodAccessor16.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:61) at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:106) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:59) at jdk.proxy2/jdk.proxy2.$Proxy102.prepare(Unknown Source) at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:90) at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:64) at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:336) at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:158) at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:110) at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:81) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:59) at jdk.proxy2/jdk.proxy2.$Proxy117.query(Unknown Source) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:154) ... 12 more [INFO] [INFO] Results: [INFO] [ERROR] Errors: [ERROR] DataScopeIntegrationTest.deptChange_invalidate_nextComputationUsesNewTree:305->visibleRowIds:170->loadVisibility:176 ? Persistence ### Error querying database. Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id, parent_id, dept_name, ancestors, sort, leader_user_id, dt_dept_id, creator_id, create_time, updater_id, update_time, deleted FROM sys_dept WHERE deleted = 0 [42122-224] ### The error may exist in com/crm/auth/mapper/SysDeptMapper.java (best guess) ### The error may involve com.crm.auth.mapper.SysDeptMapper.selectList ### The error occurred while executing a query ### SQL: SELECT id, parent_id, dept_name, ancestors, sort, leader_user_id, dt_dept_id, creator_id, create_time, updater_id, update_time, deleted FROM sys_dept WHERE deleted = 0 ### Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id, parent_id, dept_name, ancestors, sort, leader_user_id, dt_dept_id, creator_id, create_time, updater_id, update_time, deleted FROM sys_dept WHERE deleted = 0 [42122-224] [ERROR] DataScopeIntegrationTest.deptTree_isCached_noRepeatedFullTableQuery:293->loadVisibility:176 ? Persistence ### Error querying database. Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id, parent_id, dept_name, ancestors, sort, leader_user_id, dt_dept_id, creator_id, create_time, updater_id, update_time, deleted FROM sys_dept WHERE deleted = 0 [42122-224] ### The error may exist in com/crm/auth/mapper/SysDeptMapper.java (best guess) ### The error may involve com.crm.auth.mapper.SysDeptMapper.selectList ### The error occurred while executing a query ### SQL: SELECT id, parent_id, dept_name, ancestors, sort, leader_user_id, dt_dept_id, creator_id, create_time, updater_id, update_time, deleted FROM sys_dept WHERE deleted = 0 ### Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id, parent_id, dept_name, ancestors, sort, leader_user_id, dt_dept_id, creator_id, create_time, updater_id, update_time, deleted FROM sys_dept WHERE deleted = 0 [42122-224] [ERROR] DataScopeIntegrationTest.overlappingSubtrees_expandAndDedupe:255->visibleRowIds:170->loadVisibility:176 ? Persistence ### Error querying database. Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id, parent_id, dept_name, ancestors, sort, leader_user_id, dt_dept_id, creator_id, create_time, updater_id, update_time, deleted FROM sys_dept WHERE deleted = 0 [42122-224] ### The error may exist in com/crm/auth/mapper/SysDeptMapper.java (best guess) ### The error may involve com.crm.auth.mapper.SysDeptMapper.selectList ### The error occurred while executing a query ### SQL: SELECT id, parent_id, dept_name, ancestors, sort, leader_user_id, dt_dept_id, creator_id, create_time, updater_id, update_time, deleted FROM sys_dept WHERE deleted = 0 ### Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id, parent_id, dept_name, ancestors, sort, leader_user_id, dt_dept_id, creator_id, create_time, updater_id, update_time, deleted FROM sys_dept WHERE deleted = 0 [42122-224] [ERROR] DataScopeIntegrationTest.partTimeChange_takesEffectImmediately_despiteCache:332->visibleRowIds:170->loadVisibility:176 ? Persistence ### Error querying database. Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id, parent_id, dept_name, ancestors, sort, leader_user_id, dt_dept_id, creator_id, create_time, updater_id, update_time, deleted FROM sys_dept WHERE deleted = 0 [42122-224] ### The error may exist in com/crm/auth/mapper/SysDeptMapper.java (best guess) ### The error may involve com.crm.auth.mapper.SysDeptMapper.selectList ### The error occurred while executing a query ### SQL: SELECT id, parent_id, dept_name, ancestors, sort, leader_user_id, dt_dept_id, creator_id, create_time, updater_id, update_time, deleted FROM sys_dept WHERE deleted = 0 ### Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id, parent_id, dept_name, ancestors, sort, leader_user_id, dt_dept_id, creator_id, create_time, updater_id, update_time, deleted FROM sys_dept WHERE deleted = 0 [42122-224] [ERROR] DataScopeIntegrationTest.partTime_scopeThree_seesUnionOfSubtrees:243->visibleRowIds:170->loadVisibility:176 ? Persistence ### Error querying database. Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id, parent_id, dept_name, ancestors, sort, leader_user_id, dt_dept_id, creator_id, create_time, updater_id, update_time, deleted FROM sys_dept WHERE deleted = 0 [42122-224] ### The error may exist in com/crm/auth/mapper/SysDeptMapper.java (best guess) ### The error may involve com.crm.auth.mapper.SysDeptMapper.selectList ### The error occurred while executing a query ### SQL: SELECT id, parent_id, dept_name, ancestors, sort, leader_user_id, dt_dept_id, creator_id, create_time, updater_id, update_time, deleted FROM sys_dept WHERE deleted = 0 ### Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id, parent_id, dept_name, ancestors, sort, leader_user_id, dt_dept_id, creator_id, create_time, updater_id, update_time, deleted FROM sys_dept WHERE deleted = 0 [42122-224] [ERROR] DataScopeIntegrationTest.scopeThree_seesSubtreeRows:194->visibleRowIds:170->loadVisibility:176 ? Persistence ### Error querying database. Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id, parent_id, dept_name, ancestors, sort, leader_user_id, dt_dept_id, creator_id, create_time, updater_id, update_time, deleted FROM sys_dept WHERE deleted = 0 [42122-224] ### The error may exist in com/crm/auth/mapper/SysDeptMapper.java (best guess) ### The error may involve com.crm.auth.mapper.SysDeptMapper.selectList ### The error occurred while executing a query ### SQL: SELECT id, parent_id, dept_name, ancestors, sort, leader_user_id, dt_dept_id, creator_id, create_time, updater_id, update_time, deleted FROM sys_dept WHERE deleted = 0 ### Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id, parent_id, dept_name, ancestors, sort, leader_user_id, dt_dept_id, creator_id, create_time, updater_id, update_time, deleted FROM sys_dept WHERE deleted = 0 [42122-224] [ERROR] DataScopeIntegrationTest.unannotatedTable_isNotFiltered:231 ? Persistence ### Error querying database. Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id, parent_id, dept_name, ancestors, sort, leader_user_id, dt_dept_id, creator_id, create_time, updater_id, update_time, deleted FROM sys_dept WHERE deleted = 0 [42122-224] ### The error may exist in com/crm/auth/mapper/SysDeptMapper.java (best guess) ### The error may involve com.crm.auth.mapper.SysDeptMapper.selectList ### The error occurred while executing a query ### SQL: SELECT id, parent_id, dept_name, ancestors, sort, leader_user_id, dt_dept_id, creator_id, create_time, updater_id, update_time, deleted FROM sys_dept WHERE deleted = 0 ### Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id, parent_id, dept_name, ancestors, sort, leader_user_id, dt_dept_id, creator_id, create_time, updater_id, update_time, deleted FROM sys_dept WHERE deleted = 0 [42122-224] [ERROR] UserListIntegrationTest.page_dtoAssembly_allFields:282 ? Persistence ### Error querying database. Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? , ? ) AND deleted=0 [42122-224] ### The error may exist in com/crm/auth/mapper/SysDeptMapper.java (best guess) ### The error may involve com.crm.auth.mapper.SysDeptMapper.selectBatchIds ### The error occurred while executing a query ### SQL: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? , ? ) AND deleted=0 ### Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? , ? ) AND deleted=0 [42122-224] [ERROR] UserListIntegrationTest.page_dtoAssembly_emptyRolesAndPartTime:310 ? Persistence ### Error querying database. Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? ) AND deleted=0 [42122-224] ### The error may exist in com/crm/auth/mapper/SysDeptMapper.java (best guess) ### The error may involve com.crm.auth.mapper.SysDeptMapper.selectBatchIds ### The error occurred while executing a query ### SQL: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? ) AND deleted=0 ### Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? ) AND deleted=0 [42122-224] [ERROR] UserListIntegrationTest.page_filterActive:184 ? Persistence ### Error querying database. Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? , ? , ? ) AND deleted=0 [42122-224] ### The error may exist in com/crm/auth/mapper/SysDeptMapper.java (best guess) ### The error may involve com.crm.auth.mapper.SysDeptMapper.selectBatchIds ### The error occurred while executing a query ### SQL: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? , ? , ? ) AND deleted=0 ### Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? , ? , ? ) AND deleted=0 [42122-224] [ERROR] UserListIntegrationTest.page_filterByDeptSubtree:219 ? Persistence ### Error querying database. Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE deleted=0 [42122-224] ### The error may exist in com/crm/auth/mapper/SysDeptMapper.java (best guess) ### The error may involve com.crm.auth.mapper.SysDeptMapper.selectList ### The error occurred while executing a query ### SQL: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE deleted=0 ### Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE deleted=0 [42122-224] [ERROR] UserListIntegrationTest.page_filterByKeywordAccount:242 ? Persistence ### Error querying database. Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? ) AND deleted=0 [42122-224] ### The error may exist in com/crm/auth/mapper/SysDeptMapper.java (best guess) ### The error may involve com.crm.auth.mapper.SysDeptMapper.selectBatchIds ### The error occurred while executing a query ### SQL: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? ) AND deleted=0 ### Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? ) AND deleted=0 [42122-224] [ERROR] UserListIntegrationTest.page_filterByKeywordUsername:231 ? Persistence ### Error querying database. Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? , ? ) AND deleted=0 [42122-224] ### The error may exist in com/crm/auth/mapper/SysDeptMapper.java (best guess) ### The error may involve com.crm.auth.mapper.SysDeptMapper.selectBatchIds ### The error occurred while executing a query ### SQL: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? , ? ) AND deleted=0 ### Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? , ? ) AND deleted=0 [42122-224] [ERROR] UserListIntegrationTest.page_filterByLoginTimeRange:253 ? Persistence ### Error querying database. Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? , ? ) AND deleted=0 [42122-224] ### The error may exist in com/crm/auth/mapper/SysDeptMapper.java (best guess) ### The error may involve com.crm.auth.mapper.SysDeptMapper.selectBatchIds ### The error occurred while executing a query ### SQL: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? , ? ) AND deleted=0 ### Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? , ? ) AND deleted=0 [42122-224] [ERROR] UserListIntegrationTest.page_filterResigned:196 ? Persistence ### Error querying database. Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? ) AND deleted=0 [42122-224] ### The error may exist in com/crm/auth/mapper/SysDeptMapper.java (best guess) ### The error may involve com.crm.auth.mapper.SysDeptMapper.selectBatchIds ### The error occurred while executing a query ### SQL: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? ) AND deleted=0 ### Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? ) AND deleted=0 [42122-224] [ERROR] UserListIntegrationTest.page_filterUnassigned:207 ? Persistence ### Error querying database. Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? , ? ) AND deleted=0 [42122-224] ### The error may exist in com/crm/auth/mapper/SysDeptMapper.java (best guess) ### The error may involve com.crm.auth.mapper.SysDeptMapper.selectBatchIds ### The error occurred while executing a query ### SQL: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? , ? ) AND deleted=0 ### Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? , ? ) AND deleted=0 [42122-224] [ERROR] UserListIntegrationTest.page_noFilter_returnsAll:173 ? Persistence ### Error querying database. Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? , ? , ? ) AND deleted=0 [42122-224] ### The error may exist in com/crm/auth/mapper/SysDeptMapper.java (best guess) ### The error may involve com.crm.auth.mapper.SysDeptMapper.selectBatchIds ### The error occurred while executing a query ### SQL: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? , ? , ? ) AND deleted=0 ### Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? , ? , ? ) AND deleted=0 [42122-224] [ERROR] UserListIntegrationTest.page_pagination:267 ? Persistence ### Error querying database. Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? , ? ) AND deleted=0 [42122-224] ### The error may exist in com/crm/auth/mapper/SysDeptMapper.java (best guess) ### The error may involve com.crm.auth.mapper.SysDeptMapper.selectBatchIds ### The error occurred while executing a query ### SQL: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? , ? ) AND deleted=0 ### Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE id IN ( ? , ? ) AND deleted=0 [42122-224] [ERROR] UserListIntegrationTest.stats_marketSubtree_includesPartTime:157 ? Persistence ### Error querying database. Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE deleted=0 [42122-224] ### The error may exist in com/crm/auth/mapper/SysDeptMapper.java (best guess) ### The error may involve com.crm.auth.mapper.SysDeptMapper.selectList ### The error occurred while executing a query ### SQL: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE deleted=0 ### Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE deleted=0 [42122-224] [ERROR] UserListIntegrationTest.stats_salesSubtree:147 ? Persistence ### Error querying database. Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE deleted=0 [42122-224] ### The error may exist in com/crm/auth/mapper/SysDeptMapper.java (best guess) ### The error may involve com.crm.auth.mapper.SysDeptMapper.selectList ### The error occurred while executing a query ### SQL: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE deleted=0 ### Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "dt_dept_id" not found; SQL statement: SELECT id,parent_id,dept_name,ancestors,sort,leader_user_id,dt_dept_id,creator_id,create_time,updater_id,update_time,deleted FROM sys_dept WHERE deleted=0 [42122-224] [INFO] [ERROR] Tests run: 196, Failures: 0, Errors: 20, Skipped: 0 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for crm 1.0.0-SNAPSHOT: [INFO] [INFO] crm ................................................ SUCCESS [ 0.002 s] [INFO] crm-base ........................................... SUCCESS [ 2.317 s] [INFO] crm-file ........................................... SUCCESS [ 4.325 s] [INFO] crm-auth ........................................... FAILURE [ 7.059 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 14.034 s [INFO] Finished at: 2026-08-17T23:14:36+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.2.5:test (default-test) on project crm-auth: [ERROR] [ERROR] Please refer to E:\code\crm-backend-matt\crm-auth\target\surefire-reports for the individual test results. [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :crm-auth