opt:优化出库逻辑增加平库判断

This commit is contained in:
zhangzq
2026-06-15 16:55:35 +08:00
parent 88d1a8e8bb
commit 8a3caa4126
31 changed files with 234 additions and 78 deletions

View File

@@ -1,7 +1,24 @@
server:
port: 8011
#配置数据源
#rabbitmq配置
spring:
rabbitmq:
addresses: 127.0.0.1
username: guest
password: guest
virtual-host: dev
publisher-confirm-type: correlated
listener:
simple:
acknowledge-mode: auto
retry:
enabled: true
max-attempts: 2
initial-interval: 2000
multiplier: 1.0
max-interval: 5000
default-requeue-rejected: false
#配置数据源
main:
allow-bean-definition-overriding: true
allow-circular-references: true
@@ -34,9 +51,9 @@ spring:
master:
driver-class-name: com.mysql.cj.jdbc.Driver
# url: jdbc:mysql://${DB_HOST:localhost}:${DB_PORT:3306}/${DB_NAME:wms_nlwq}?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false&useOldAliasMetadataBehavior=true&allowPublicKeyRetrieval=true
url: jdbc:mysql://${DB_HOST:localhost}:${DB_PORT:3306}/${DB_NAME:wms_standardv2}?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false&useOldAliasMetadataBehavior=true&allowPublicKeyRetrieval=true
url: jdbc:mysql://${DB_HOST:127.0.0.1}:${DB_PORT:3306}/${DB_NAME:wms_standardv2}?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false&useOldAliasMetadataBehavior=true&allowPublicKeyRetrieval=true&useSSL=false
username: ${DB_USER:root}
password: ${DB_PWD:123456}
password: ${DB_PWD:5XXX/3GEgdUnRZd4cbVnDL6BA6P9YToc}
druid:
# 基础连接池配置
initial-size: 15
@@ -57,13 +74,13 @@ spring:
# 监控统计(连接池层面的监控)
filters:
DruidFilter,stat # 修正:stat是监控统计,wall是SQL防火墙
DruidFilter,stat # 修正:stat是监控统计,wall是SQL防火墙
log-abandoned: false
eas:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://${EAS_DB_HOST:localhost}:${EAS_DB_PORT:3306}/${EAS_DB_NAME:eas_db}?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true
url: jdbc:mysql://${DB_HOST:127.0.0.1}:${DB_PORT:3306}/${DB_NAME:wms_standardv2}?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false&useOldAliasMetadataBehavior=true&allowPublicKeyRetrieval=true&useSSL=false
username: ${EAS_DB_USER:root}
password: ${EAS_DB_PWD:123456}
password: ${DB_PWD:5XXX/3GEgdUnRZd4cbVnDL6BA6P9YToc}
druid:
initial-size: 5
min-idle: 5
@@ -157,4 +174,10 @@ sa-token:
is-print: false
lucene:
index:
path: D:\lms\lucene\index
path: D:\lms\lucene\index
eas:
webservice:
wsdl: http://192.168.100.100:8080/ormrpc/services/WSNLWQFacade?wsdl
namespace: http://ws.eas.kingdee.com/
inbound:
liku-codes: LK01

View File

@@ -52,3 +52,6 @@ CREATE TABLE `sys_mock_config` (
ALTER TABLE `st_ivt_iostorinvdis`
ADD COLUMN `hand_type` tinyint(1) NULL DEFAULT 0 COMMENT '出库类型:0自动搬运1手动搬运' AFTER `point_code`;
ALTER TABLE `st_ivt_iostorinvdtl`
DROP COLUMN `source_load_port`,
ADD COLUMN `source_load_port` varchar(255) NULL COMMENT '来源单指定上料口' AFTER `material_code`;