Browse Source

建表:容器信息 执行器信息 库存位置 库存 库存账页

master
修宁 6 months ago
parent
commit
25e4a72e76
  1. 42
      servo/src/main/java/com/galaxis/rcs/common/query/QLccInvLedger.java
  2. 17
      servo/src/main/java/com/yvan/workbench/model/query/QLccModelFloor.java

42
servo/src/main/java/com/galaxis/rcs/common/query/QLccInvLedger.java

@ -28,16 +28,12 @@ public class QLccInvLedger extends RelationalPathBase<LccInvLedger> {
public final StringPath ledgerRemark = createString("ledgerRemark");
/** 托盘条码 */
public final StringPath lpn = createString("lpn");
/** 改变前库存位置 */
public final StringPath locCodeBefore = createString("locCodeBefore");
/** 改变前堆叠层号从0开始 */
public final NumberPath<Integer> layerIndexBefore = createNumber("layerIndexBefore", Integer.class);
/** 改变前库存数量 */
public final NumberPath<Integer> qtyBefore = createNumber("qtyBefore", Integer.class);
/** 改变前入库占用数量 */
public final NumberPath<Integer> qtyInBefore = createNumber("qtyInBefore", Integer.class);
/** 改变前出库占用数量 */
public final NumberPath<Integer> qtyOutBefore = createNumber("qtyOutBefore", Integer.class);
/** 库存改变数量 */
public final NumberPath<Integer> qtyChange = createNumber("qtyChange", Integer.class);
/** 入库占用改变数量 */
public final NumberPath<Integer> qtyInChange = createNumber("qtyInChange", Integer.class);
/** 出库占用改变数量 */
public final NumberPath<Integer> qtyOutChange = createNumber("qtyOutChange", Integer.class);
/** 改变后堆叠层号从0开始 */
public final NumberPath<Integer> layerIndex = createNumber("layerIndex", Integer.class);
/** 改变前库存位置 */
@ -89,19 +85,17 @@ public class QLccInvLedger extends RelationalPathBase<LccInvLedger> {
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));
}
}

17
servo/src/main/java/com/yvan/workbench/model/query/QLccModelFloor.java

@ -22,6 +22,8 @@ public class QLccModelFloor extends RelationalPathBase<LccModelFloor> {
public final StringPath projectUuid = createString("projectUuid");
/** 项目版本 */
public final NumberPath<Long> projectVersion = createNumber("projectVersion", Long.class);
/** 环境ID */
public final NumberPath<Long> envId = createNumber("envId", Long.class);
/** 楼层编号 */
public final StringPath catalogCode = createString("catalogCode");
/** 楼层数据 */
@ -66,12 +68,13 @@ public class QLccModelFloor extends RelationalPathBase<LccModelFloor> {
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));
}
}

Loading…
Cancel
Save