插单和工单查询

parent bc529e67
2026-05-21 10:11:26.567 | main | INFO | com.aps.demo.PlanResultServiceTest | Starting PlanResultServiceTest using Java 1.8.0_201 on DESKTOP-MH00R44 with PID 22404 (started by Thinkpad in F:\product\MES\hyh.apsj)
2026-05-21 10:11:26.579 | main | INFO | com.aps.demo.PlanResultServiceTest | No active profile set, falling back to 1 default profile: "default"
2026-05-21 10:11:28.362 | main | INFO | o.s.d.r.config.RepositoryConfigurationDelegate | Multiple Spring Data modules found, entering strict repository configuration mode
2026-05-21 10:11:28.367 | main | INFO | o.s.d.r.config.RepositoryConfigurationDelegate | Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2026-05-21 10:11:28.447 | main | INFO | o.s.d.r.config.RepositoryConfigurationDelegate | Finished Spring Data repository scanning in 55 ms. Found 0 Redis repository interfaces.
2026-05-21 10:11:29.599 | main | INFO | o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker | Bean 'spring.datasource.dynamic-com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceProperties' of type [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2026-05-21 10:11:29.611 | main | INFO | o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker | Bean 'com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration' of type [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration$$EnhancerBySpringCGLIB$$fef0469c] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2026-05-21 10:11:29.643 | main | INFO | o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker | Bean 'dsProcessor' of type [com.baomidou.dynamic.datasource.processor.DsHeaderProcessor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2026-05-21 10:11:30.166 | main | INFO | com.zaxxer.hikari.HikariDataSource | oracle - Starting...
2026-05-21 10:11:34.010 | main | INFO | com.zaxxer.hikari.HikariDataSource | oracle - Start completed.
2026-05-21 10:11:34.011 | main | INFO | c.b.dynamic.datasource.DynamicRoutingDataSource | dynamic-datasource - add a datasource named [oracle] success
2026-05-21 10:11:34.011 | main | INFO | c.b.dynamic.datasource.DynamicRoutingDataSource | dynamic-datasource initial loaded [1] datasource,primary datasource named [oracle]
2026-05-21 10:11:35.573 | main | WARN | c.b.mybatisplus.core.injector.DefaultSqlInjector | class com.aps.entity.ApsTimeConfig ,Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method.
2026-05-21 10:11:39.313 | main | WARN | c.b.mybatisplus.core.injector.DefaultSqlInjector | class com.aps.entity.Algorithm.OrderMaterialRequirement ,Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method.
2026-05-21 10:11:39.483 | main | INFO | com.aps.controller.gantt.FileUploadController | 使用已存在的上传目录: F:\product\MES\hyh.apsj\uploads
2026-05-21 10:11:39.483 | main | INFO | com.aps.controller.gantt.FileUploadController | 使用已存在的上传目录: F:\product\MES\hyh.apsj\uploads
2026-05-21 10:11:43.107 | main | INFO | com.aps.demo.PlanResultServiceTest | Started PlanResultServiceTest in 17.292 seconds (JVM running for 19.391)
2026-05-21 10:12:18.544 | main | WARN | com.aps.service.plan.ScheduleStrategyService | 跳过不支持的排产策略项: maximum_operation_priority
2026-05-21 10:12:18.544 | main | WARN | com.aps.service.plan.ScheduleStrategyService | 跳过不支持的排产策略项: maximum_operation_priority
2026-05-21 10:13:06.147 | main | INFO | com.aps.service.plan.SceneService | 染色体保存成功,场景ID: 64E64F6B68094AF38CEDC418630C3CC2, 文件: F:\product\MES\hyh.apsj\result\chromosome_result_64E64F6B68094AF38CEDC418630C3CC2_5_.json
2026-05-21 10:13:06.147 | main | INFO | com.aps.service.plan.SceneService | 染色体保存成功,场景ID: 64E64F6B68094AF38CEDC418630C3CC2, 文件: F:\product\MES\hyh.apsj\result\chromosome_result_64E64F6B68094AF38CEDC418630C3CC2_5_.json
2026-05-21 10:13:06.333 | SpringApplicationShutdownHook | INFO | c.b.dynamic.datasource.DynamicRoutingDataSource | dynamic-datasource start closing ....
2026-05-21 10:13:06.333 | SpringApplicationShutdownHook | INFO | com.zaxxer.hikari.HikariDataSource | oracle - Shutdown initiated...
2026-05-21 10:13:06.884 | SpringApplicationShutdownHook | INFO | com.zaxxer.hikari.HikariDataSource | oracle - Shutdown completed.
2026-05-21 10:13:06.884 | SpringApplicationShutdownHook | INFO | c.b.dynamic.datasource.DynamicRoutingDataSource | dynamic-datasource all closed success,bye
2026-05-21 10:17:21.614 | main | INFO | com.aps.demo.PlanResultServiceTest | Starting PlanResultServiceTest using Java 1.8.0_201 on DESKTOP-MH00R44 with PID 22128 (started by Thinkpad in F:\product\MES\hyh.apsj)
2026-05-21 10:17:21.617 | main | INFO | com.aps.demo.PlanResultServiceTest | No active profile set, falling back to 1 default profile: "default"
2026-05-21 10:17:23.677 | main | INFO | o.s.d.r.config.RepositoryConfigurationDelegate | Multiple Spring Data modules found, entering strict repository configuration mode
2026-05-21 10:17:23.683 | main | INFO | o.s.d.r.config.RepositoryConfigurationDelegate | Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2026-05-21 10:17:23.771 | main | INFO | o.s.d.r.config.RepositoryConfigurationDelegate | Finished Spring Data repository scanning in 63 ms. Found 0 Redis repository interfaces.
2026-05-21 10:17:25.150 | main | INFO | o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker | Bean 'spring.datasource.dynamic-com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceProperties' of type [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2026-05-21 10:17:25.162 | main | INFO | o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker | Bean 'com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration' of type [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration$$EnhancerBySpringCGLIB$$acc15abc] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2026-05-21 10:17:25.208 | main | INFO | o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker | Bean 'dsProcessor' of type [com.baomidou.dynamic.datasource.processor.DsHeaderProcessor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2026-05-21 10:17:25.989 | main | INFO | com.zaxxer.hikari.HikariDataSource | oracle - Starting...
2026-05-21 10:17:30.814 | main | INFO | com.zaxxer.hikari.HikariDataSource | oracle - Start completed.
2026-05-21 10:17:30.815 | main | INFO | c.b.dynamic.datasource.DynamicRoutingDataSource | dynamic-datasource - add a datasource named [oracle] success
2026-05-21 10:17:30.816 | main | INFO | c.b.dynamic.datasource.DynamicRoutingDataSource | dynamic-datasource initial loaded [1] datasource,primary datasource named [oracle]
2026-05-21 10:17:32.742 | main | WARN | c.b.mybatisplus.core.injector.DefaultSqlInjector | class com.aps.entity.ApsTimeConfig ,Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method.
2026-05-21 10:17:36.742 | main | WARN | c.b.mybatisplus.core.injector.DefaultSqlInjector | class com.aps.entity.Algorithm.OrderMaterialRequirement ,Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method.
2026-05-21 10:17:36.922 | main | INFO | com.aps.controller.gantt.FileUploadController | 使用已存在的上传目录: F:\product\MES\hyh.apsj\uploads
2026-05-21 10:17:36.922 | main | INFO | com.aps.controller.gantt.FileUploadController | 使用已存在的上传目录: F:\product\MES\hyh.apsj\uploads
2026-05-21 10:17:41.067 | main | INFO | com.aps.demo.PlanResultServiceTest | Started PlanResultServiceTest in 20.495 seconds (JVM running for 24.367)
2026-05-21 10:18:17.477 | main | WARN | com.aps.service.plan.ScheduleStrategyService | 跳过不支持的排产策略项: maximum_operation_priority
2026-05-21 10:18:17.477 | main | WARN | com.aps.service.plan.ScheduleStrategyService | 跳过不支持的排产策略项: maximum_operation_priority
2026-05-21 10:23:05.452 | oracle housekeeper | WARN | com.zaxxer.hikari.pool.HikariPool | oracle - Thread starvation or clock leap detected (housekeeper delta=3m33s884ms822µs500ns).
2026-05-21 10:23:13.404 | SpringApplicationShutdownHook | INFO | c.b.dynamic.datasource.DynamicRoutingDataSource | dynamic-datasource start closing ....
2026-05-21 10:23:13.404 | SpringApplicationShutdownHook | INFO | com.zaxxer.hikari.HikariDataSource | oracle - Shutdown initiated...
2026-05-21 10:23:13.810 | SpringApplicationShutdownHook | INFO | com.zaxxer.hikari.HikariDataSource | oracle - Shutdown completed.
2026-05-21 10:23:13.811 | SpringApplicationShutdownHook | INFO | c.b.dynamic.datasource.DynamicRoutingDataSource | dynamic-datasource all closed success,bye
2026-05-21 13:34:50.550 | main | INFO | com.aps.demo.PlanResultServiceTest | Starting PlanResultServiceTest using Java 1.8.0_201 on DESKTOP-MH00R44 with PID 25896 (started by Thinkpad in F:\product\MES\hyh.apsj)
2026-05-21 13:34:50.554 | main | INFO | com.aps.demo.PlanResultServiceTest | No active profile set, falling back to 1 default profile: "default"
2026-05-21 13:34:53.707 | main | INFO | o.s.d.r.config.RepositoryConfigurationDelegate | Multiple Spring Data modules found, entering strict repository configuration mode
2026-05-21 13:34:53.720 | main | INFO | o.s.d.r.config.RepositoryConfigurationDelegate | Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2026-05-21 13:34:53.920 | main | INFO | o.s.d.r.config.RepositoryConfigurationDelegate | Finished Spring Data repository scanning in 130 ms. Found 0 Redis repository interfaces.
2026-05-21 13:34:56.214 | main | INFO | o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker | Bean 'spring.datasource.dynamic-com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceProperties' of type [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2026-05-21 13:34:56.232 | main | INFO | o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker | Bean 'com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration' of type [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration$$EnhancerBySpringCGLIB$$1834f5ae] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2026-05-21 13:34:56.291 | main | INFO | o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker | Bean 'dsProcessor' of type [com.baomidou.dynamic.datasource.processor.DsHeaderProcessor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2026-05-21 13:34:57.231 | main | INFO | com.zaxxer.hikari.HikariDataSource | oracle - Starting...
2026-05-21 13:35:02.547 | main | INFO | com.zaxxer.hikari.HikariDataSource | oracle - Start completed.
2026-05-21 13:35:02.549 | main | INFO | c.b.dynamic.datasource.DynamicRoutingDataSource | dynamic-datasource - add a datasource named [oracle] success
2026-05-21 13:35:02.549 | main | INFO | c.b.dynamic.datasource.DynamicRoutingDataSource | dynamic-datasource initial loaded [1] datasource,primary datasource named [oracle]
2026-05-21 13:35:05.780 | main | WARN | c.b.mybatisplus.core.injector.DefaultSqlInjector | class com.aps.entity.ApsTimeConfig ,Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method.
2026-05-21 13:35:21.821 | main | WARN | c.b.mybatisplus.core.injector.DefaultSqlInjector | class com.aps.entity.Algorithm.OrderMaterialRequirement ,Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method.
2026-05-21 13:35:23.037 | main | INFO | com.aps.controller.gantt.FileUploadController | 使用已存在的上传目录: F:\product\MES\hyh.apsj\uploads
2026-05-21 13:35:23.037 | main | INFO | com.aps.controller.gantt.FileUploadController | 使用已存在的上传目录: F:\product\MES\hyh.apsj\uploads
2026-05-21 13:35:49.324 | main | INFO | com.aps.demo.PlanResultServiceTest | Started PlanResultServiceTest in 60.269 seconds (JVM running for 64.029)
2026-05-28 17:17:07.041 | main | INFO | com.aps.ApsApplication | Starting ApsApplication using Java 17 on DESKTOP-VKRD9QF with PID 20452 (E:\c\test\test14\hyh.apsj\target\classes started by Administration in E:\c\test\test14\hyh.apsj)
2026-05-28 17:17:07.050 | main | INFO | com.aps.ApsApplication | No active profile set, falling back to 1 default profile: "default"
2026-05-28 17:17:12.935 | main | INFO | o.s.d.r.config.RepositoryConfigurationDelegate | Multiple Spring Data modules found, entering strict repository configuration mode
2026-05-28 17:17:12.938 | main | INFO | o.s.d.r.config.RepositoryConfigurationDelegate | Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2026-05-28 17:17:13.002 | main | INFO | o.s.d.r.config.RepositoryConfigurationDelegate | Finished Spring Data repository scanning in 40 ms. Found 0 Redis repository interfaces.
2026-05-28 17:17:13.629 | main | INFO | o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker | Bean 'spring.datasource.dynamic-com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceProperties' of type [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2026-05-28 17:17:13.632 | main | INFO | o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker | Bean 'com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration' of type [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration$$EnhancerBySpringCGLIB$$34ed74d3] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2026-05-28 17:17:13.649 | main | INFO | o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker | Bean 'dsProcessor' of type [com.baomidou.dynamic.datasource.processor.DsHeaderProcessor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2026-05-28 17:17:14.085 | main | INFO | o.s.boot.web.embedded.tomcat.TomcatWebServer | Tomcat initialized with port(s): 8181 (http)
2026-05-28 17:17:14.087 | main | INFO | org.apache.catalina.core.AprLifecycleListener | An older version [1.2.24] of the Apache Tomcat Native library is installed, while Tomcat recommends a minimum version of [1.2.38]
2026-05-28 17:17:14.087 | main | INFO | org.apache.catalina.core.AprLifecycleListener | Loaded Apache Tomcat Native library [1.2.24] using APR version [1.7.0].
2026-05-28 17:17:14.087 | main | INFO | org.apache.catalina.core.AprLifecycleListener | APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true], UDS [false].
2026-05-28 17:17:14.087 | main | INFO | org.apache.catalina.core.AprLifecycleListener | APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
2026-05-28 17:17:14.106 | main | INFO | org.apache.catalina.core.AprLifecycleListener | OpenSSL successfully initialized [OpenSSL 1.1.1g 21 Apr 2020]
2026-05-28 17:17:14.122 | main | INFO | org.apache.coyote.http11.Http11NioProtocol | Initializing ProtocolHandler ["http-nio-8181"]
2026-05-28 17:17:14.124 | main | INFO | org.apache.catalina.core.StandardService | Starting service [Tomcat]
2026-05-28 17:17:14.125 | main | INFO | org.apache.catalina.core.StandardEngine | Starting Servlet engine: [Apache Tomcat/9.0.83]
2026-05-28 17:17:14.313 | main | INFO | o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] | Initializing Spring embedded WebApplicationContext
2026-05-28 17:17:14.314 | main | INFO | o.s.b.w.s.c.ServletWebServerApplicationContext | Root WebApplicationContext: initialization completed in 7195 ms
2026-05-28 17:17:14.646 | main | INFO | com.zaxxer.hikari.HikariDataSource | oracle - Starting...
2026-05-28 17:17:15.834 | main | INFO | com.zaxxer.hikari.HikariDataSource | oracle - Start completed.
2026-05-28 17:17:15.835 | main | INFO | c.b.dynamic.datasource.DynamicRoutingDataSource | dynamic-datasource - add a datasource named [oracle] success
2026-05-28 17:17:15.835 | main | INFO | c.b.dynamic.datasource.DynamicRoutingDataSource | dynamic-datasource initial loaded [1] datasource,primary datasource named [oracle]
2026-05-28 17:17:16.626 | main | WARN | c.b.mybatisplus.core.injector.DefaultSqlInjector | class com.aps.entity.ApsTimeConfig ,Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method.
2026-05-28 17:17:18.534 | main | WARN | c.b.mybatisplus.core.injector.DefaultSqlInjector | class com.aps.entity.Algorithm.OrderMaterialRequirement ,Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method.
2026-05-28 17:17:18.674 | main | INFO | com.aps.controller.gantt.FileUploadController | 使用已存在的上传目录: E:\c\test\test14\hyh.apsj\uploads
2026-05-28 17:17:18.674 | main | INFO | com.aps.controller.gantt.FileUploadController | 使用已存在的上传目录: E:\c\test\test14\hyh.apsj\uploads
2026-05-28 17:17:20.091 | main | INFO | org.apache.coyote.http11.Http11NioProtocol | Starting ProtocolHandler ["http-nio-8181"]
2026-05-28 17:17:20.108 | main | INFO | o.s.boot.web.embedded.tomcat.TomcatWebServer | Tomcat started on port(s): 8181 (http) with context path ''
2026-05-28 17:17:20.122 | main | INFO | com.aps.ApsApplication | Started ApsApplication in 13.844 seconds (JVM running for 15.345)
2026-05-28 17:18:19.486 | http-nio-8181-exec-1 | INFO | o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] | Initializing Spring DispatcherServlet 'dispatcherServlet'
2026-05-28 17:18:19.486 | http-nio-8181-exec-1 | INFO | org.springframework.web.servlet.DispatcherServlet | Initializing Servlet 'dispatcherServlet'
2026-05-28 17:18:19.487 | http-nio-8181-exec-1 | INFO | org.springframework.web.servlet.DispatcherServlet | Completed initialization in 1 ms
2026-05-28 17:18:22.149 | http-nio-8181-exec-9 | INFO | org.springdoc.api.AbstractOpenApiResource | Init duration for springdoc-openapi is: 1760 ms
2026-05-28 17:20:08.561 | http-nio-8181-exec-6 | INFO | com.aps.service.plan.SceneService | 染色体保存成功,场景ID: E2C1AAC7493B447AAF3F81EDB93BA09C, 文件: E:\c\test\test14\hyh.apsj\result\chromosome_result_E2C1AAC7493B447AAF3F81EDB93BA09C_2_.json
2026-05-28 17:20:08.561 | http-nio-8181-exec-6 | INFO | com.aps.service.plan.SceneService | 染色体保存成功,场景ID: E2C1AAC7493B447AAF3F81EDB93BA09C, 文件: E:\c\test\test14\hyh.apsj\result\chromosome_result_E2C1AAC7493B447AAF3F81EDB93BA09C_2_.json
2026-05-28 17:26:48.682 | lettuce-nioEventLoop-4-1 | INFO | io.lettuce.core.protocol.CommandHandler | null Unexpected exception during request: java.net.SocketException: Connection reset
java.net.SocketException: Connection reset
at java.base/sun.nio.ch.SocketChannelImpl.throwConnectionReset(SocketChannelImpl.java:394)
at java.base/sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:426)
at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:254)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1132)
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:357)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:151)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:833)
2026-05-28 17:26:48.822 | lettuce-eventExecutorLoop-1-9 | INFO | io.lettuce.core.protocol.ConnectionWatchdog | Reconnecting, last destination was /39.100.88.40:6379
2026-05-28 17:26:48.980 | lettuce-nioEventLoop-4-2 | INFO | io.lettuce.core.protocol.ReconnectionHandler | Reconnected to 39.100.88.40/<unresolved>:6379
2026-05-28 17:26:52.487 | lettuce-nioEventLoop-4-2 | INFO | io.lettuce.core.protocol.CommandHandler | null Unexpected exception during request: java.net.SocketException: Connection reset
java.net.SocketException: Connection reset
at java.base/sun.nio.ch.SocketChannelImpl.throwConnectionReset(SocketChannelImpl.java:394)
at java.base/sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:426)
at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:254)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1132)
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:357)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:151)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:833)
2026-05-28 17:26:52.702 | lettuce-nioEventLoop-4-3 | INFO | io.lettuce.core.protocol.ReconnectionHandler | Reconnected to 39.100.88.40/<unresolved>:6379
2026-05-28 17:28:51.810 | lettuce-nioEventLoop-4-3 | INFO | io.lettuce.core.protocol.CommandHandler | null Unexpected exception during request: java.net.SocketException: Connection reset
java.net.SocketException: Connection reset
at java.base/sun.nio.ch.SocketChannelImpl.throwConnectionReset(SocketChannelImpl.java:394)
at java.base/sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:426)
at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:254)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1132)
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:357)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:151)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:833)
2026-05-28 17:28:51.881 | lettuce-eventExecutorLoop-1-11 | INFO | io.lettuce.core.protocol.ConnectionWatchdog | Reconnecting, last destination was /39.100.88.40:6379
2026-05-28 17:28:53.024 | lettuce-nioEventLoop-4-4 | INFO | io.lettuce.core.protocol.ReconnectionHandler | Reconnected to 39.100.88.40/<unresolved>:6379
2026-05-28 17:28:54.446 | lettuce-nioEventLoop-4-4 | INFO | io.lettuce.core.protocol.CommandHandler | null Unexpected exception during request: java.net.SocketException: Connection reset
java.net.SocketException: Connection reset
at java.base/sun.nio.ch.SocketChannelImpl.throwConnectionReset(SocketChannelImpl.java:394)
at java.base/sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:426)
at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:254)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1132)
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:357)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:151)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:833)
2026-05-28 17:28:54.577 | lettuce-nioEventLoop-4-5 | INFO | io.lettuce.core.protocol.ReconnectionHandler | Reconnected to 39.100.88.40/<unresolved>:6379
......@@ -132,6 +132,16 @@
<artifactId>lombok</artifactId>
</exclude>
</excludes>
<requiresUnpack>
<dependency>
<groupId>com.google.ortools</groupId>
<artifactId>ortools-java</artifactId>
</dependency>
<dependency>
<groupId>com.google.ortools</groupId>
<artifactId>ortools-linux-x86-64</artifactId>
</dependency>
</requiresUnpack>
</configuration>
</plugin>
......@@ -155,4 +165,4 @@
</plugin>
</plugins>
</build>
</project>
\ No newline at end of file
</project>
package com.aps.entity.common;
import java.util.List;
import java.util.stream.Collectors;
public class ConditionEntity {
private String fieldName;
......@@ -22,8 +25,16 @@ public class ConditionEntity {
String safe=fieldValue.replaceAll("(?i)(delete|drop|\\s|%|;|or|‘)","");
return safe;
}
public void setFieldValue(String fieldValue) {
this.fieldValue = fieldValue;
public void setFieldValue(Object fieldValue) {
if (fieldValue == null) {
this.fieldValue = null;
} else if (fieldValue instanceof List) {
this.fieldValue = ((List<?>) fieldValue).stream()
.map(String::valueOf)
.collect(Collectors.joining(","));
} else {
this.fieldValue = String.valueOf(fieldValue);
}
}
public String getConditionalType() {
......
......@@ -2192,6 +2192,13 @@ public class ChromosomeDataService {
// 特殊处理时间类型字段
if (actualValue instanceof LocalDateTime) {
LocalDateTime actualDateTime = (LocalDateTime) actualValue;
if (conditionType == ConditionEnum.Between) {
LocalDateTime[] range = parseDateTimeRange(fieldValue);
if (range != null) {
// Between用于时间范围筛选时需要精确到时分秒,不能按日期截断。
return !actualDateTime.isBefore(range[0]) && !actualDateTime.isAfter(range[1]);
}
}
// 尝试解析输入的时间字符串
LocalDateTime inputDateTime = parseDateTimeString(fieldValue);
......@@ -2244,6 +2251,11 @@ public class ChromosomeDataService {
return compareValues(actualValueStr, fieldValue) < 0;
case LessThanOrEqual:
return compareValues(actualValueStr, fieldValue) <= 0;
case Between:
String[] range = splitBetweenValue(fieldValue);
return range != null
&& compareValues(actualValueStr, range[0]) >= 0
&& compareValues(actualValueStr, range[1]) <= 0;
case In:
return Arrays.asList(fieldValue.split(",")).contains(actualValueStr);
case NotIn:
......@@ -2261,6 +2273,33 @@ public class ChromosomeDataService {
}
}
private String[] splitBetweenValue(String fieldValue) {
if (fieldValue == null || fieldValue.trim().isEmpty()) {
return null;
}
String[] values = fieldValue.split(",", 2);
if (values.length != 2) {
return null;
}
return new String[]{values[0].trim(), values[1].trim()};
}
private LocalDateTime[] parseDateTimeRange(String fieldValue) {
String[] values = splitBetweenValue(fieldValue);
if (values == null) {
return null;
}
LocalDateTime start = parseDateTimeString(values[0]);
LocalDateTime end = parseDateTimeString(values[1]);
if (start == null || end == null) {
return null;
}
if (start.isAfter(end)) {
return new LocalDateTime[]{end, start};
}
return new LocalDateTime[]{start, end};
}
/**
* 解析时间字符串为LocalDateTime(兼容Java 8)
* @param dateTimeStr 时间字符串
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment