导出的数据是空的,但实际上已经查到数据了
2025-10-10 16:23:48.273 [reactor-http-nio-2] DEBUG reactor.netty.http.server.HttpServerOperations - [7aa6b257, L:/192.168.10.130:9000 - R:/192.168.10.130:57143] New http connection, requesting read
2025-10-10 16:23:48.273 [reactor-http-nio-2] DEBUG reactor.netty.transport.TransportConfig - [7aa6b257, L:/192.168.10.130:9000 - R:/192.168.10.130:57143] Initialized pipeline DefaultChannelPipeline{(reactor.left.httpCodec = io.netty.handler.codec.http.HttpServerCodec), (reactor.left.httpTrafficHandler = reactor.netty.http.server.HttpTrafficHandler), (reactor.right.reactiveBridge = reactor.netty.channel.ChannelOperationsHandler)}
2025-10-10 16:23:48.323 [reactor-http-nio-2] DEBUG reactor.netty.http.server.HttpServerOperations - [7aa6b257, L:/192.168.10.130:9000 - R:/192.168.10.130:57143] Increasing pending responses, now 1
2025-10-10 16:23:48.400 [reactor-http-nio-2] DEBUG reactor.netty.http.server.HttpServer - [7aa6b257-1, L:/192.168.10.130:9000 - R:/192.168.10.130:57143] Handler is being applied: org.springframework.http.server.reactive.ReactorHttpHandlerAdapter@707ef05f
2025-10-10 16:23:48.519 [reactor-http-nio-2] DEBUG o.s.web.server.adapter.HttpWebHandlerAdapter - [7aa6b257-1] HTTP POST "/master/inventory/export/excel"
2025-10-10 16:23:48.574 [reactor-http-nio-2] DEBUG o.s.w.r.r.m.a.RequestMappingHandlerMapping - [7aa6b257-1] Mapped to com.hvlink.controller.InventoryController#exportInventory(InventoryParam, ServerHttpResponse)
2025-10-10 16:23:48.623 [reactor-http-nio-2] DEBUG o.s.w.r.r.m.a.RequestBodyMethodArgumentResolver - [7aa6b257-1] Content-Type:application/json
2025-10-10 16:23:48.639 [reactor-http-nio-2] DEBUG o.s.w.r.r.m.a.RequestBodyMethodArgumentResolver - [7aa6b257-1] 0..1 [com.hvlink.entity.param.master.InventoryParam]
2025-10-10 16:23:48.718 [reactor-http-nio-2] DEBUG reactor.netty.channel.FluxReceive - [7aa6b257-1, L:/192.168.10.130:9000 - R:/192.168.10.130:57143] [terminated=false, cancelled=false, pending=0, error=null]: subscribing inbound receiver
2025-10-10 16:23:48.811 [reactor-http-nio-2] DEBUG o.s.http.codec.json.Jackson2JsonDecoder - [7aa6b257-1] Decoded [InventoryParam(id=null, companyCode=null, supplierCode=null, supplierName=null, factoryCode=null, fa (truncated)...]
2025-10-10 16:23:48.851 [reactor-http-nio-2] DEBUG com.hvlink.aspect.DataSourceAspect - 切换数据源:SALVE
2025-10-10 16:23:48.989 [reactor-http-nio-2] DEBUG org.mybatis.spring.SqlSessionUtils - Creating a new SqlSession
2025-10-10 16:23:49.038 [reactor-http-nio-2] DEBUG org.mybatis.spring.SqlSessionUtils - SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@44ec7e32] was not registered for synchronization because synchronization is not active
2025-10-10 16:23:49.234 [reactor-http-nio-2] DEBUG o.springframework.jdbc.datasource.DataSourceUtils - Fetching JDBC Connection from DataSource
2025-10-10 16:23:49.234 [reactor-http-nio-2] DEBUG o.m.spring.transaction.SpringManagedTransaction - JDBC Connection [ConnectionID:1 ClientConnectionId: 592081aa-c2b5-4801-aaf5-a770a35e87cc] will not be managed by Spring
2025-10-10 16:23:49.251 [reactor-http-nio-2] DEBUG c.hvlink.mapper.master.InventoryMapper.selectList - ==> Preparing: SELECT id,company_code,supplier_code,factory_code,warehouse_code,part_code,part_desc,supplier_part_code,unit,special_flag,batch_no,no_limit_quantity,quality_quantity,freeze_quantity,is_deleted,create_by,create_time,update_by,update_time FROM tb_inventory WHERE (id IN (?,?,?,?,?) AND is_deleted = ?)
2025-10-10 16:23:49.439 [reactor-http-nio-2] DEBUG c.hvlink.mapper.master.InventoryMapper.selectList - ==> Parameters: 2093(Integer), 2094(Integer), 2095(Integer), 2096(Integer), 2097(Integer), 0(Integer)
2025-10-10 16:23:49.606 [reactor-http-nio-2] DEBUG c.hvlink.mapper.master.InventoryMapper.selectList - <== Total: 5
2025-10-10 16:23:49.606 [reactor-http-nio-2] DEBUG org.mybatis.spring.SqlSessionUtils - Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@44ec7e32]
2025-10-10 16:23:49.611 [reactor-http-nio-2] DEBUG org.mybatis.spring.SqlSessionUtils - Creating a new SqlSession
2025-10-10 16:23:49.611 [reactor-http-nio-2] DEBUG org.mybatis.spring.SqlSessionUtils - SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@4a7d4d53] was not registered for synchronization because synchronization is not active
2025-10-10 16:23:49.611 [reactor-http-nio-2] DEBUG o.springframework.jdbc.datasource.DataSourceUtils - Fetching JDBC Connection from DataSource
2025-10-10 16:23:49.611 [reactor-http-nio-2] DEBUG o.m.spring.transaction.SpringManagedTransaction - JDBC Connection [ConnectionID:1 ClientConnectionId: 592081aa-c2b5-4801-aaf5-a770a35e87cc] will not be managed by Spring
2025-10-10 16:23:49.611 [reactor-http-nio-2] DEBUG com.hvlink.mapper.master.SupplierMapper.selectList - ==> Preparing: SELECT id,company_code,supplier_code,supplier_name,supplier_tel,remark,is_deleted,create_by,create_time,update_by,update_time FROM tm_supplier WHERE (supplier_code IN (?,?))
2025-10-10 16:23:49.611 [reactor-http-nio-2] DEBUG com.hvlink.mapper.master.SupplierMapper.selectList - ==> Parameters: 0012000049(String), 0012000048(String)
2025-10-10 16:23:49.634 [reactor-http-nio-2] DEBUG com.hvlink.mapper.master.SupplierMapper.selectList - <== Total: 18
2025-10-10 16:23:49.634 [reactor-http-nio-2] DEBUG org.mybatis.spring.SqlSessionUtils - Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@4a7d4d53]
2025-10-10 16:23:49.634 [reactor-http-nio-2] DEBUG org.mybatis.spring.SqlSessionUtils - Creating a new SqlSession
2025-10-10 16:23:49.634 [reactor-http-nio-2] DEBUG org.mybatis.spring.SqlSessionUtils - SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@3a66747d] was not registered for synchronization because synchronization is not active
2025-10-10 16:23:49.637 [reactor-http-nio-2] DEBUG o.springframework.jdbc.datasource.DataSourceUtils - Fetching JDBC Connection from DataSource
2025-10-10 16:23:49.637 [reactor-http-nio-2] DEBUG o.m.spring.transaction.SpringManagedTransaction - JDBC Connection [ConnectionID:1 ClientConnectionId: 592081aa-c2b5-4801-aaf5-a770a35e87cc] will not be managed by Spring
2025-10-10 16:23:49.637 [reactor-http-nio-2] DEBUG com.hvlink.mapper.master.FactoryMapper.selectList - ==> Preparing: SELECT id,company_code,factory_code,factory_name,status,is_deleted,create_by,create_time,update_by,update_time FROM tm_factory WHERE (factory_code IN (?))
2025-10-10 16:23:49.637 [reactor-http-nio-2] DEBUG com.hvlink.mapper.master.FactoryMapper.selectList - ==> Parameters: 1400(String)
2025-10-10 16:23:49.648 [reactor-http-nio-2] DEBUG com.hvlink.mapper.master.FactoryMapper.selectList - <== Total: 0
2025-10-10 16:23:49.648 [reactor-http-nio-2] DEBUG org.mybatis.spring.SqlSessionUtils - Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@3a66747d]
2025-10-10 16:23:49.650 [reactor-http-nio-2] DEBUG org.mybatis.spring.SqlSessionUtils - Creating a new SqlSession
2025-10-10 16:23:49.651 [reactor-http-nio-2] DEBUG org.mybatis.spring.SqlSessionUtils - SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@a1edc43] was not registered for synchronization because synchronization is not active
2025-10-10 16:23:49.653 [reactor-http-nio-2] DEBUG o.springframework.jdbc.datasource.DataSourceUtils - Fetching JDBC Connection from DataSource
2025-10-10 16:23:49.653 [reactor-http-nio-2] DEBUG o.m.spring.transaction.SpringManagedTransaction - JDBC Connection [ConnectionID:1 ClientConnectionId: 592081aa-c2b5-4801-aaf5-a770a35e87cc] will not be managed by Spring
2025-10-10 16:23:49.653 [reactor-http-nio-2] DEBUG com.hvlink.mapper.master.PackageMapper.selectList - ==> Preparing: SELECT id,company_code,factory_code,part_code,unit,standard_package,box_quantity,package_quantity,drag_quantity,max_inventory_level,safety_inventory,is_deleted,create_by,create_time,update_by,update_time FROM tm_package WHERE (factory_code IN (?) AND part_code IN (?,?,?,?,?))
2025-10-10 16:23:49.653 [reactor-http-nio-2] DEBUG com.hvlink.mapper.master.PackageMapper.selectList - ==> Parameters: 1400(String), S00020153101(String), S00020145101(String), S00020155101(String), S00020151101(String), S00020094101(String)
2025-10-10 16:23:49.705 [reactor-http-nio-2] DEBUG com.hvlink.mapper.master.PackageMapper.selectList - <== Total: 5
2025-10-10 16:23:49.705 [reactor-http-nio-2] DEBUG org.mybatis.spring.SqlSessionUtils - Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@a1edc43]
2025-10-10 16:23:53.080 [reactor-http-nio-2] DEBUG o.s.web.server.adapter.HttpWebHandlerAdapter - [7aa6b257-1] Completed 200 OK
2025-10-10 16:23:53.115 [reactor-http-nio-2] DEBUG reactor.netty.http.server.HttpServerOperations - [7aa6b257-1, L:/192.168.10.130:9000 - R:/192.168.10.130:57143] Last HTTP response frame
2025-10-10 16:23:53.115 [reactor-http-nio-2] DEBUG reactor.netty.http.server.HttpServerOperations - [7aa6b257-1, L:/192.168.10.130:9000 - R:/192.168.10.130:57143] No sendHeaders() called before complete, sending zero-length header
2025-10-10 16:23:53.121 [reactor-http-nio-2] DEBUG reactor.netty.http.server.HttpServerOperations - [7aa6b257-1, L:/192.168.10.130:9000 - R:/192.168.10.130:57143] Decreasing pending responses, now 0
2025-10-10 16:23:53.121 [reactor-http-nio-2] DEBUG reactor.netty.http.server.HttpServerOperations - [7aa6b257-1, L:/192.168.10.130:9000 - R:/192.168.10.130:57143] Last HTTP packet was sent, terminating the channel
2025-10-10 16:23:53.121 [reactor-http-nio-2] DEBUG reactor.netty.channel.ChannelOperations - [7aa6b257-1, L:/192.168.10.130:9000 - R:/192.168.10.130:57143] [HttpServer] Channel inbound receiver cancelled (subscription disposed).
2025-10-10 16:24:02.887 [reactor-http-nio-2] DEBUG reactor.netty.http.server.HttpServerOperations - [7aa6b257, L:/192.168.10.130:9000 - R:/192.168.10.130:57143] Increasing pending responses, now 1
2025-10-10 16:24:02.887 [reactor-http-nio-2] DEBUG reactor.netty.http.server.HttpServer - [7aa6b257-2, L:/192.168.10.130:9000 - R:/192.168.10.130:57143] Handler is being applied: org.springframework.http.server.reactive.ReactorHttpHandlerAdapter@707ef05f
2025-10-10 16:24:02.887 [reactor-http-nio-2] DEBUG o.s.web.server.adapter.HttpWebHandlerAdapter - [7aa6b257-2] HTTP POST "/master/inventory/export/excel"
2025-10-10 16:24:02.887 [reactor-http-nio-2] DEBUG o.s.w.r.r.m.a.RequestMappingHandlerMapping - [7aa6b257-2] Mapped to com.hvlink.controller.InventoryController#exportInventory(InventoryParam, ServerHttpResponse)
2025-10-10 16:24:02.887 [reactor-http-nio-2] DEBUG o.s.w.r.r.m.a.RequestBodyMethodArgumentResolver - [7aa6b257-2] Content-Type:application/json
2025-10-10 16:24:02.887 [reactor-http-nio-2] DEBUG o.s.w.r.r.m.a.RequestBodyMethodArgumentResolver - [7aa6b257-2] 0..1 [com.hvlink.entity.param.master.InventoryParam]
2025-10-10 16:24:02.887 [reactor-http-nio-2] DEBUG reactor.netty.channel.FluxReceive - [7aa6b257-2, L:/192.168.10.130:9000 - R:/192.168.10.130:57143] [terminated=false, cancelled=false, pending=0, error=null]: subscribing inbound receiver
2025-10-10 16:24:02.887 [reactor-http-nio-2] DEBUG o.s.http.codec.json.Jackson2JsonDecoder - [7aa6b257-2] Decoded [InventoryParam(id=null, companyCode=null, supplierCode=null, supplierName=null, factoryCode=null, fa (truncated)...]
2025-10-10 16:24:02.887 [reactor-http-nio-2] DEBUG com.hvlink.aspect.DataSourceAspect - 切换数据源:SALVE
2025-10-10 16:24:02.887 [reactor-http-nio-2] DEBUG org.mybatis.spring.SqlSessionUtils - Creating a new SqlSession
2025-10-10 16:24:02.887 [reactor-http-nio-2] DEBUG org.mybatis.spring.SqlSessionUtils - SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@35a2dbe5] was not registered for synchronization because synchronization is not active
2025-10-10 16:24:02.893 [reactor-http-nio-2] DEBUG o.springframework.jdbc.datasource.DataSourceUtils - Fetching JDBC Connection from DataSource
2025-10-10 16:24:02.893 [reactor-http-nio-2] DEBUG o.m.spring.transaction.SpringManagedTransaction - JDBC Connection [ConnectionID:1 ClientConnectionId: 592081aa-c2b5-4801-aaf5-a770a35e87cc] will not be managed by Spring
2025-10-10 16:24:02.893 [reactor-http-nio-2] DEBUG c.hvlink.mapper.master.InventoryMapper.selectList - ==> Preparing: SELECT id,company_code,supplier_code,factory_code,warehouse_code,part_code,part_desc,supplier_part_code,unit,special_flag,batch_no,no_limit_quantity,quality_quantity,freeze_quantity,is_deleted,create_by,create_time,update_by,update_time FROM tb_inventory WHERE (id IN (?,?,?,?,?) AND is_deleted = ?)
2025-10-10 16:24:02.893 [reactor-http-nio-2] DEBUG c.hvlink.mapper.master.InventoryMapper.selectList - ==> Parameters: 2093(Integer), 2094(Integer), 2095(Integer), 2096(Integer), 2097(Integer), 0(Integer)
2025-10-10 16:24:02.903 [reactor-http-nio-2] DEBUG c.hvlink.mapper.master.InventoryMapper.selectList - <== Total: 5
2025-10-10 16:24:02.903 [reactor-http-nio-2] DEBUG org.mybatis.spring.SqlSessionUtils - Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@35a2dbe5]
2025-10-10 16:24:02.903 [reactor-http-nio-2] DEBUG org.mybatis.spring.SqlSessionUtils - Creating a new SqlSession
2025-10-10 16:24:02.903 [reactor-http-nio-2] DEBUG org.mybatis.spring.SqlSessionUtils - SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@b7f3c15] was not registered for synchronization because synchronization is not active
2025-10-10 16:24:02.909 [reactor-http-nio-2] DEBUG o.springframework.jdbc.datasource.DataSourceUtils - Fetching JDBC Connection from DataSource
2025-10-10 16:24:02.909 [reactor-http-nio-2] DEBUG o.m.spring.transaction.SpringManagedTransaction - JDBC Connection [ConnectionID:1 ClientConnectionId: 592081aa-c2b5-4801-aaf5-a770a35e87cc] will not be managed by Spring
2025-10-10 16:24:02.909 [reactor-http-nio-2] DEBUG com.hvlink.mapper.master.SupplierMapper.selectList - ==> Preparing: SELECT id,company_code,supplier_code,supplier_name,supplier_tel,remark,is_deleted,create_by,create_time,update_by,update_time FROM tm_supplier WHERE (supplier_code IN (?,?))
2025-10-10 16:24:02.909 [reactor-http-nio-2] DEBUG com.hvlink.mapper.master.SupplierMapper.selectList - ==> Parameters: 0012000049(String), 0012000048(String)
2025-10-10 16:24:02.926 [reactor-http-nio-2] DEBUG com.hvlink.mapper.master.SupplierMapper.selectList - <== Total: 18
2025-10-10 16:24:02.926 [reactor-http-nio-2] DEBUG org.mybatis.spring.SqlSessionUtils - Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@b7f3c15]
2025-10-10 16:24:02.926 [reactor-http-nio-2] DEBUG org.mybatis.spring.SqlSessionUtils - Creating a new SqlSession
2025-10-10 16:24:02.927 [reactor-http-nio-2] DEBUG org.mybatis.spring.SqlSessionUtils - SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@17572d02] was not registered for synchronization because synchronization is not active
2025-10-10 16:24:02.931 [reactor-http-nio-2] DEBUG o.springframework.jdbc.datasource.DataSourceUtils - Fetching JDBC Connection from DataSource
2025-10-10 16:24:02.931 [reactor-http-nio-2] DEBUG o.m.spring.transaction.SpringManagedTransaction - JDBC Connection [ConnectionID:1 ClientConnectionId: 592081aa-c2b5-4801-aaf5-a770a35e87cc] will not be managed by Spring
2025-10-10 16:24:02.931 [reactor-http-nio-2] DEBUG com.hvlink.mapper.master.FactoryMapper.selectList - ==> Preparing: SELECT id,company_code,factory_code,factory_name,status,is_deleted,create_by,create_time,update_by,update_time FROM tm_factory WHERE (factory_code IN (?))
2025-10-10 16:24:02.931 [reactor-http-nio-2] DEBUG com.hvlink.mapper.master.FactoryMapper.selectList - ==> Parameters: 1400(String)
2025-10-10 16:24:02.944 [reactor-http-nio-2] DEBUG com.hvlink.mapper.master.FactoryMapper.selectList - <== Total: 0
2025-10-10 16:24:02.944 [reactor-http-nio-2] DEBUG org.mybatis.spring.SqlSessionUtils - Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@17572d02]
2025-10-10 16:24:02.944 [reactor-http-nio-2] DEBUG org.mybatis.spring.SqlSessionUtils - Creating a new SqlSession
2025-10-10 16:24:02.944 [reactor-http-nio-2] DEBUG org.mybatis.spring.SqlSessionUtils - SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@68ce4b4e] was not registered for synchronization because synchronization is not active
2025-10-10 16:24:02.946 [reactor-http-nio-2] DEBUG o.springframework.jdbc.datasource.DataSourceUtils - Fetching JDBC Connection from DataSource
2025-10-10 16:24:02.946 [reactor-http-nio-2] DEBUG o.m.spring.transaction.SpringManagedTransaction - JDBC Connection [ConnectionID:1 ClientConnectionId: 592081aa-c2b5-4801-aaf5-a770a35e87cc] will not be managed by Spring
2025-10-10 16:24:02.946 [reactor-http-nio-2] DEBUG com.hvlink.mapper.master.PackageMapper.selectList - ==> Preparing: SELECT id,company_code,factory_code,part_code,unit,standard_package,box_quantity,package_quantity,drag_quantity,max_inventory_level,safety_inventory,is_deleted,create_by,create_time,update_by,update_time FROM tm_package WHERE (factory_code IN (?) AND part_code IN (?,?,?,?,?))
2025-10-10 16:24:02.946 [reactor-http-nio-2] DEBUG com.hvlink.mapper.master.PackageMapper.selectList - ==> Parameters: 1400(String), S00020153101(String), S00020145101(String), S00020155101(String), S00020151101(String), S00020094101(String)
2025-10-10 16:24:03.001 [reactor-http-nio-2] DEBUG com.hvlink.mapper.master.PackageMapper.selectList - <== Total: 5
2025-10-10 16:24:03.003 [reactor-http-nio-2] DEBUG org.mybatis.spring.SqlSessionUtils - Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@68ce4b4e]
2025-10-10 16:24:03.068 [reactor-http-nio-2] DEBUG o.s.web.server.adapter.HttpWebHandlerAdapter - [7aa6b257-2] Completed 200 OK
2025-10-10 16:24:03.070 [reactor-http-nio-2] DEBUG reactor.netty.http.server.HttpServerOperations - [7aa6b257-2, L:/192.168.10.130:9000 - R:/192.168.10.130:57143] Last HTTP response frame
2025-10-10 16:24:03.070 [reactor-http-nio-2] DEBUG reactor.netty.http.server.HttpServerOperations - [7aa6b257-2, L:/192.168.10.130:9000 - R:/192.168.10.130:57143] No sendHeaders() called before complete, sending zero-length header
2025-10-10 16:24:03.070 [reactor-http-nio-2] DEBUG reactor.netty.http.server.HttpServerOperations - [7aa6b257-2, L:/192.168.10.130:9000 - R:/192.168.10.130:57143] Decreasing pending responses, now 0
2025-10-10 16:24:03.070 [reactor-http-nio-2] DEBUG reactor.netty.http.server.HttpServerOperations - [7aa6b257-2, L:/192.168.10.130:9000 - R:/192.168.10.130:57143] Last HTTP packet was sent, terminating the channel
2025-10-10 16:24:03.070 [reactor-http-nio-2] DEBUG reactor.netty.channel.ChannelOperations - [7aa6b257-2, L:/192.168.10.130:9000 - R:/192.168.10.130:57143] [HttpServer] Channel inbound receiver cancelled (subscription disposed).
最新发布