From 25e4a72e76d63a15dd2d2aa5c66cac0a4c71d26b Mon Sep 17 00:00:00 2001 From: luoyifan Date: Sun, 29 Jun 2025 20:02:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BB=BA=E8=A1=A8=EF=BC=9A=E5=AE=B9=E5=99=A8?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=20=E6=89=A7=E8=A1=8C=E5=99=A8=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=20=E5=BA=93=E5=AD=98=E4=BD=8D=E7=BD=AE=20=E5=BA=93?= =?UTF-8?q?=E5=AD=98=20=E5=BA=93=E5=AD=98=E8=B4=A6=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../galaxis/rcs/common/query/QLccInvLedger.java | 42 ++++++++++------------ .../yvan/workbench/model/query/QLccModelFloor.java | 17 +++++---- 2 files changed, 28 insertions(+), 31 deletions(-) diff --git a/servo/src/main/java/com/galaxis/rcs/common/query/QLccInvLedger.java b/servo/src/main/java/com/galaxis/rcs/common/query/QLccInvLedger.java index 8757755..a6fb522 100644 --- a/servo/src/main/java/com/galaxis/rcs/common/query/QLccInvLedger.java +++ b/servo/src/main/java/com/galaxis/rcs/common/query/QLccInvLedger.java @@ -28,16 +28,12 @@ public class QLccInvLedger extends RelationalPathBase { public final StringPath ledgerRemark = createString("ledgerRemark"); /** 托盘条码 */ public final StringPath lpn = createString("lpn"); - /** 改变前库存位置 */ - public final StringPath locCodeBefore = createString("locCodeBefore"); - /** 改变前堆叠层号从0开始 */ - public final NumberPath layerIndexBefore = createNumber("layerIndexBefore", Integer.class); - /** 改变前库存数量 */ - public final NumberPath qtyBefore = createNumber("qtyBefore", Integer.class); - /** 改变前入库占用数量 */ - public final NumberPath qtyInBefore = createNumber("qtyInBefore", Integer.class); - /** 改变前出库占用数量 */ - public final NumberPath qtyOutBefore = createNumber("qtyOutBefore", Integer.class); + /** 库存改变数量 */ + public final NumberPath qtyChange = createNumber("qtyChange", Integer.class); + /** 入库占用改变数量 */ + public final NumberPath qtyInChange = createNumber("qtyInChange", Integer.class); + /** 出库占用改变数量 */ + public final NumberPath qtyOutChange = createNumber("qtyOutChange", Integer.class); /** 改变后堆叠层号从0开始 */ public final NumberPath layerIndex = createNumber("layerIndex", Integer.class); /** 改变前库存位置 */ @@ -89,19 +85,17 @@ public class QLccInvLedger extends RelationalPathBase { addMetadata(ledgerType, ColumnMetadata.named("ledger_type").withIndex(4).ofType(Types.VARCHAR).withSize(20)); addMetadata(ledgerRemark, ColumnMetadata.named("ledger_remark").withIndex(5).ofType(Types.VARCHAR).withSize(200)); addMetadata(lpn, ColumnMetadata.named("lpn").withIndex(6).ofType(Types.VARCHAR).withSize(50)); - addMetadata(locCodeBefore, ColumnMetadata.named("loc_code_before").withIndex(7).ofType(Types.VARCHAR).withSize(50)); - addMetadata(layerIndexBefore, ColumnMetadata.named("layer_index_before").withIndex(8).ofType(Types.INTEGER).withSize(10)); - addMetadata(qtyBefore, ColumnMetadata.named("qty_before").withIndex(9).ofType(Types.INTEGER).withSize(10)); - addMetadata(qtyInBefore, ColumnMetadata.named("qty_in_before").withIndex(10).ofType(Types.INTEGER).withSize(10)); - addMetadata(qtyOutBefore, ColumnMetadata.named("qty_out_before").withIndex(11).ofType(Types.INTEGER).withSize(10)); - addMetadata(layerIndex, ColumnMetadata.named("layer_index").withIndex(12).ofType(Types.INTEGER).withSize(10)); - addMetadata(locCode, ColumnMetadata.named("loc_code").withIndex(13).ofType(Types.VARCHAR).withSize(50)); - addMetadata(qty, ColumnMetadata.named("qty").withIndex(14).ofType(Types.INTEGER).withSize(10)); - addMetadata(qtyIn, ColumnMetadata.named("qty_in").withIndex(15).ofType(Types.INTEGER).withSize(10)); - addMetadata(qtyOut, ColumnMetadata.named("qty_out").withIndex(16).ofType(Types.INTEGER).withSize(10)); - addMetadata(createAt, ColumnMetadata.named("create_at").withIndex(17).ofType(Types.TIMESTAMP)); - addMetadata(createBy, ColumnMetadata.named("create_by").withIndex(18).ofType(Types.VARCHAR).withSize(50)); - addMetadata(updateAt, ColumnMetadata.named("update_at").withIndex(19).ofType(Types.TIMESTAMP)); - addMetadata(updateBy, ColumnMetadata.named("update_by").withIndex(20).ofType(Types.VARCHAR).withSize(50)); + addMetadata(qtyChange, ColumnMetadata.named("qty_change").withIndex(7).ofType(Types.INTEGER).withSize(10)); + addMetadata(qtyInChange, ColumnMetadata.named("qty_in_change").withIndex(8).ofType(Types.INTEGER).withSize(10)); + addMetadata(qtyOutChange, ColumnMetadata.named("qty_out_change").withIndex(9).ofType(Types.INTEGER).withSize(10)); + addMetadata(layerIndex, ColumnMetadata.named("layer_index").withIndex(10).ofType(Types.INTEGER).withSize(10)); + addMetadata(locCode, ColumnMetadata.named("loc_code").withIndex(11).ofType(Types.VARCHAR).withSize(50)); + addMetadata(qty, ColumnMetadata.named("qty").withIndex(12).ofType(Types.INTEGER).withSize(10)); + addMetadata(qtyIn, ColumnMetadata.named("qty_in").withIndex(13).ofType(Types.INTEGER).withSize(10)); + addMetadata(qtyOut, ColumnMetadata.named("qty_out").withIndex(14).ofType(Types.INTEGER).withSize(10)); + addMetadata(createAt, ColumnMetadata.named("create_at").withIndex(15).ofType(Types.TIMESTAMP)); + addMetadata(createBy, ColumnMetadata.named("create_by").withIndex(16).ofType(Types.VARCHAR).withSize(50)); + addMetadata(updateAt, ColumnMetadata.named("update_at").withIndex(17).ofType(Types.TIMESTAMP)); + addMetadata(updateBy, ColumnMetadata.named("update_by").withIndex(18).ofType(Types.VARCHAR).withSize(50)); } } diff --git a/servo/src/main/java/com/yvan/workbench/model/query/QLccModelFloor.java b/servo/src/main/java/com/yvan/workbench/model/query/QLccModelFloor.java index 8643b25..19fa775 100644 --- a/servo/src/main/java/com/yvan/workbench/model/query/QLccModelFloor.java +++ b/servo/src/main/java/com/yvan/workbench/model/query/QLccModelFloor.java @@ -22,6 +22,8 @@ public class QLccModelFloor extends RelationalPathBase { public final StringPath projectUuid = createString("projectUuid"); /** 项目版本 */ public final NumberPath projectVersion = createNumber("projectVersion", Long.class); + /** 环境ID */ + public final NumberPath envId = createNumber("envId", Long.class); /** 楼层编号 */ public final StringPath catalogCode = createString("catalogCode"); /** 楼层数据 */ @@ -66,12 +68,13 @@ public class QLccModelFloor extends RelationalPathBase { addMetadata(id, ColumnMetadata.named("id").withIndex(1).ofType(Types.BIGINT).withSize(19)); addMetadata(projectUuid, ColumnMetadata.named("project_uuid").withIndex(2).ofType(Types.VARCHAR).withSize(36)); addMetadata(projectVersion, ColumnMetadata.named("project_version").withIndex(3).ofType(Types.BIGINT).withSize(19)); - addMetadata(catalogCode, ColumnMetadata.named("catalogCode").withIndex(4).ofType(Types.VARCHAR).withSize(255)); - addMetadata(items, ColumnMetadata.named("items").withIndex(5).ofType(Types.LONGVARCHAR).withSize(16777215)); - addMetadata(autoStart, ColumnMetadata.named("auto_start").withIndex(6).ofType(Types.BIT).withSize(3)); - addMetadata(createAt, ColumnMetadata.named("create_at").withIndex(7).ofType(Types.TIMESTAMP)); - addMetadata(createBy, ColumnMetadata.named("create_by").withIndex(8).ofType(Types.VARCHAR).withSize(255)); - addMetadata(updateAt, ColumnMetadata.named("update_at").withIndex(9).ofType(Types.TIMESTAMP)); - addMetadata(updateBy, ColumnMetadata.named("update_by").withIndex(10).ofType(Types.VARCHAR).withSize(255)); + addMetadata(envId, ColumnMetadata.named("env_id").withIndex(4).ofType(Types.BIGINT).withSize(19)); + addMetadata(catalogCode, ColumnMetadata.named("catalogCode").withIndex(5).ofType(Types.VARCHAR).withSize(255)); + addMetadata(items, ColumnMetadata.named("items").withIndex(6).ofType(Types.LONGVARCHAR).withSize(16777215)); + addMetadata(autoStart, ColumnMetadata.named("auto_start").withIndex(7).ofType(Types.BIT).withSize(3)); + addMetadata(createAt, ColumnMetadata.named("create_at").withIndex(8).ofType(Types.TIMESTAMP)); + addMetadata(createBy, ColumnMetadata.named("create_by").withIndex(9).ofType(Types.VARCHAR).withSize(255)); + addMetadata(updateAt, ColumnMetadata.named("update_at").withIndex(10).ofType(Types.TIMESTAMP)); + addMetadata(updateBy, ColumnMetadata.named("update_by").withIndex(11).ofType(Types.VARCHAR).withSize(255)); } }