From f6fe949db75c0879ca506eadce6976eb94492d09 Mon Sep 17 00:00:00 2001 From: skyouc Date: 星期六, 24 五月 2025 15:39:42 +0800 Subject: [PATCH] 1.出库作业未判断小于零的作业(完成) 2.入出为历史添加库位号,托盘码显示(完成) 3.确认出为完成后,是否清空托盘码(完成) 4.库位主档托盘码未显示(完成) --- rsf-server/src/main/java/com/vincent/rsf/server/common/config/WebMvcConfig.java | 18 +++++++++++++++++- 1 files changed, 17 insertions(+), 1 deletions(-) diff --git a/rsf-server/src/main/java/com/vincent/rsf/server/common/config/WebMvcConfig.java b/rsf-server/src/main/java/com/vincent/rsf/server/common/config/WebMvcConfig.java index c79c7d6..f5b8463 100644 --- a/rsf-server/src/main/java/com/vincent/rsf/server/common/config/WebMvcConfig.java +++ b/rsf-server/src/main/java/com/vincent/rsf/server/common/config/WebMvcConfig.java @@ -1,6 +1,7 @@ package com.vincent.rsf.server.common.config; import com.vincent.rsf.server.common.constant.Constants; +import com.vincent.rsf.server.common.interceptor.severlet.DynamicFieldsInterceptor; import com.vincent.rsf.server.common.utils.Http; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; @@ -26,7 +27,22 @@ public void addInterceptors(InterceptorRegistry registry) { registry.addInterceptor(getAsyncHandlerInterceptor()) .addPathPatterns("/**") - .excludePathPatterns("/swagger-resources/**", "/webjars/**", "/v2/**","/v3/**","/doc.html/**", "/swagger-ui.html/**"); + .excludePathPatterns("/swagger-resources/**", "/webjars/**","/erp/**", "/v2/**","/v3/**","/doc.html/**", "/swagger-ui.html/**"); + + registry.addInterceptor(dynamicFieldsInterceptor()) + .addPathPatterns("/**") + .excludePathPatterns("/swagger-resources/**", + "/webjars/**", + "/erp/**", + "/v2/**", + "/v3/**", + "/doc.html/**", + "/swagger-ui.html/**"); + } + + @Bean + public DynamicFieldsInterceptor dynamicFieldsInterceptor() { + return new DynamicFieldsInterceptor(); } @Bean -- Gitblit v1.9.1