1. 修复主数据的物料信息ZT前缀时,存在层级判断错误的问题

This commit is contained in:
chenbowen
2025-12-15 14:26:03 +08:00
parent 7defbbed90
commit d2471d3d8a
13 changed files with 393 additions and 14 deletions

View File

@@ -0,0 +1,39 @@
spring:
main:
lazy-initialization: true
banner-mode: off
--- #################### 数据库相关配置 ####################
spring:
datasource:
name: zt-base
url: jdbc:h2:mem:testdb;MODE=MYSQL;DATABASE_TO_UPPER=false;NON_KEYWORDS=value
driver-class-name: org.h2.Driver
username: sa
password:
druid:
async-init: true
initial-size: 1
sql:
init:
schema-locations: classpath:/sql/create_tables.sql
data:
redis:
host: 127.0.0.1
port: 16379
database: 0
mybatis-plus:
lazy-initialization: true
type-aliases-package: ${zt.info.base-package}.dal.dataobject
global-config:
db-config:
id-type: AUTO
zt:
info:
base-package: com.zt.plat.module.base
AES:
key: XDV71a+xqStEA3WH

View File

@@ -0,0 +1 @@
TRUNCATE TABLE bse_mtrl_hs_prps;

View File

@@ -0,0 +1,16 @@
CREATE TABLE IF NOT EXISTS bse_mtrl_hs_prps (
id BIGINT PRIMARY KEY,
INF_ID BIGINT NOT NULL,
PRPS_ID BIGINT NOT NULL,
UNT_ID BIGINT,
VAL VARCHAR(255),
IS_KY INT,
IS_MTNG INT,
SRT BIGINT,
creator VARCHAR(64) DEFAULT '',
create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL,
updater VARCHAR(64) DEFAULT '',
update_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL,
deleted BIT DEFAULT FALSE NOT NULL,
tenant_id BIGINT DEFAULT 1 NOT NULL
);