From b176072388747abb438990157bfa305b215b4b90 Mon Sep 17 00:00:00 2001
From: zwl <1051256694@qq.com>
Date: 星期二, 14 四月 2026 21:59:39 +0800
Subject: [PATCH] 我们现在讨论一下系统找库位方案, 如何实现,对现有找库位规则进行整改,数据库也要整改 1、要能方便的填写单伸堆垛机或双伸堆垛机的深浅库位配置 2、根据设备状态分配库位,离线设备不分配 3、库位分配要均衡到每一个设备 4、库位高度需要匹配到对应库位信息,低库位能向上兼容 5、空托盘优先放在locType2库位=1的库位,没有这种库位了,允许放到其他库位 6、给入库站点设置有限去那些堆垛机,其次去那些堆垛机,弄成页面可以配置入库站点 7、在系统配置新增优先放前几列的配置,当入库的货物是高频货物时放在前几列 8、组托中会标识该托盘是高频还是低频,如果是高频则从前往后找库位,如果是低频则从后往前找库位 9、找库位时locMast中whsType字段无用
---
src/main/java/com/zy/asrs/entity/result/FindLocNoAttributeVo.java | 151 +++++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 148 insertions(+), 3 deletions(-)
diff --git a/src/main/java/com/zy/asrs/entity/result/FindLocNoAttributeVo.java b/src/main/java/com/zy/asrs/entity/result/FindLocNoAttributeVo.java
index 5263418..8151f08 100644
--- a/src/main/java/com/zy/asrs/entity/result/FindLocNoAttributeVo.java
+++ b/src/main/java/com/zy/asrs/entity/result/FindLocNoAttributeVo.java
@@ -1,14 +1,27 @@
package com.zy.asrs.entity.result;
+import com.zy.asrs.entity.LocDetl;
+import com.zy.asrs.entity.WaitPakin;
+import com.zy.asrs.entity.WrkDetl;
+import com.zy.asrs.entity.param.FullStoreParam;
+
+import java.util.List;
+
public class FindLocNoAttributeVo {
private String matnr = "";
private String specs = "";
private String batch = "";
private String grade = "";
private String brand = "";
- private String standby1 = "";
- private String standby2 = "";
- private String standby3 = "";
+ private String standby1 = "1";
+ private String standby2 = "1";
+ private String standby3 = "1";
+ private String boxType1 = "1";
+ private String boxType2 = "1";
+ private String boxType3 = "1";
+ private Integer outArea;
+ private List<Integer> outAreas;
+ private Integer freqType;
public FindLocNoAttributeVo() {
}
@@ -20,6 +33,20 @@
public FindLocNoAttributeVo(String matnr, String batch) {
this.matnr = matnr;
this.batch = batch;
+ }
+
+ public FindLocNoAttributeVo(String matnr, String specs, String batch, String grade, String brand, String standby1, String standby2, String standby3, String boxType1, String boxType2, String boxType3) {
+ this.matnr = matnr;
+ this.specs = specs;
+ this.batch = batch;
+ this.grade = grade;
+ this.brand = brand;
+ this.standby1 = standby1;
+ this.standby2 = standby2;
+ this.standby3 = standby3;
+ this.boxType1 = boxType1;
+ this.boxType2 = boxType2;
+ this.boxType3 = boxType3;
}
public FindLocNoAttributeVo(String matnr, String batch, String brand) {
@@ -45,6 +72,73 @@
this.standby1 = standby1;
this.standby2 = standby2;
this.standby3 = standby3;
+ }
+
+ public FindLocNoAttributeVo(WaitPakin waitPakin) {
+ this.matnr = waitPakin.getMatnr();
+ this.specs = waitPakin.getSpecs();
+ this.batch = waitPakin.getBatch();
+// this.grade = waitPakin.g;
+ this.brand = waitPakin.getBrand();
+ this.standby1 = waitPakin.getStandby1();
+ this.standby2 = waitPakin.getStandby2();
+ this.standby3 = waitPakin.getStandby3();
+ this.boxType1 = waitPakin.getBoxType1();
+ this.boxType2 = waitPakin.getBoxType2();
+ this.boxType3 = waitPakin.getBoxType3();
+ this.freqType = waitPakin.getFreqType();
+ }
+
+ public FindLocNoAttributeVo(FullStoreParam.MatCodeStore matCodeStore) {
+ this.matnr = matCodeStore.getMatnr();
+ this.specs = matCodeStore.getSpecs();
+ this.batch = matCodeStore.getBatch();
+// this.grade = waitPakin.g;
+ this.brand = matCodeStore.getBrand();
+ this.standby1 = matCodeStore.getStandby1();
+ this.standby2 = matCodeStore.getStandby2();
+ this.standby3 = matCodeStore.getStandby3();
+ this.boxType1 = matCodeStore.getBoxType1();
+ this.boxType2 = matCodeStore.getBoxType2();
+ this.boxType3 = matCodeStore.getBoxType3();
+ }
+
+ public FindLocNoAttributeVo(LocDetl locDetl) {
+ this.matnr = locDetl.getMatnr();
+ this.specs = locDetl.getSpecs();
+ this.batch = locDetl.getBatch();
+// this.grade = waitPakin.g;
+ this.brand = locDetl.getBrand();
+ this.standby1 = locDetl.getStandby1();
+ this.standby2 = locDetl.getStandby2();
+ this.standby3 = locDetl.getStandby3();
+ this.boxType1 = locDetl.getBoxType1();
+ this.boxType2 = locDetl.getBoxType2();
+ this.boxType3 = locDetl.getBoxType3();
+ }
+
+ public String getBoxType1() {
+ return boxType1;
+ }
+
+ public void setBoxType1(String boxType1) {
+ this.boxType1 = boxType1;
+ }
+
+ public String getBoxType2() {
+ return boxType2;
+ }
+
+ public void setBoxType2(String boxType2) {
+ this.boxType2 = boxType2;
+ }
+
+ public String getBoxType3() {
+ return boxType3;
+ }
+
+ public void setBoxType3(String boxType3) {
+ this.boxType3 = boxType3;
}
public String getMatnr() {
@@ -110,4 +204,55 @@
public void setStandby3(String standby3) {
this.standby3 = standby3;
}
+
+ public Integer getOutArea() {
+ return outArea;
+ }
+
+ public void setOutArea(Integer outArea) {
+ this.outArea = outArea;
+ }
+
+ public List<Integer> getOutAreas() {
+ return outAreas;
+ }
+
+ public void setOutAreas(List<Integer> outAreas) {
+ this.outAreas = outAreas;
+ }
+
+ public Integer getFreqType() {
+ return freqType;
+ }
+
+ public void setFreqType(Integer freqType) {
+ this.freqType = freqType;
+ }
+
+
+ public boolean beSimilar(LocDetl locDetl){
+ return (this.matnr.equals(locDetl.getMatnr())
+ && this.batch.equals(locDetl.getBatch())
+ && this.brand.equals(locDetl.getBrand())
+ && this.standby1.equals(locDetl.getStandby1())
+ && this.standby2.equals(locDetl.getStandby2())
+ && this.standby3.equals(locDetl.getStandby3())
+ && this.boxType1.equals(locDetl.getBoxType1())
+ && this.boxType2.equals(locDetl.getBoxType2())
+ && this.boxType3.equals(locDetl.getBoxType3())
+ );
+ }
+
+ public boolean beSimilar(WrkDetl wrkDetl){
+ return (this.matnr.equals(wrkDetl.getMatnr())
+ && this.batch.equals(wrkDetl.getBatch())
+ && this.brand.equals(wrkDetl.getBrand())
+ && this.standby1.equals(wrkDetl.getStandby1())
+ && this.standby2.equals(wrkDetl.getStandby2())
+ && this.standby3.equals(wrkDetl.getStandby3())
+ && this.boxType1.equals(wrkDetl.getBoxType1())
+ && this.boxType2.equals(wrkDetl.getBoxType2())
+ && this.boxType3.equals(wrkDetl.getBoxType3())
+ );
+ }
}
--
Gitblit v1.9.1