4 changed files with 646 additions and 17 deletions
-
235src/main/java/com/spring/modules/Tooling/data/PartCatalog.java
-
89src/main/java/com/spring/modules/Tooling/data/TechnicalClass.java
-
81src/main/java/com/spring/modules/Tooling/data/TechnicalClassAttribute.java
-
256src/main/java/com/spring/modules/Tooling/service/impl/ToolServiceImpl.java
@ -0,0 +1,235 @@ |
|||||
|
package com.spring.modules.Tooling.data; |
||||
|
|
||||
|
import java.util.Date; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
* @ClassName: PartIfsCatalog |
||||
|
* @Description:物料目录 |
||||
|
* @author: LR |
||||
|
* @date: 2023年12月22日 上午10:14:06 |
||||
|
* @Copyright: |
||||
|
*/ |
||||
|
public class PartCatalog { |
||||
|
private int id;// |
||||
|
private String contract;// |
||||
|
private String partNo;// |
||||
|
private String partDesc;// |
||||
|
private String unitCode;// 单位 |
||||
|
private String partMainGroup;// |
||||
|
private String weightNet; |
||||
|
private String uomForWeightNet; |
||||
|
private String volumeNet; |
||||
|
private String uomForVolumeNet; |
||||
|
private String conditionCodeUsageDb;// |
||||
|
private String multilevelTrackingDb;// |
||||
|
private String allowAsNotConsumedDb;// |
||||
|
private String lotTrackingCode; |
||||
|
private String lotQuantityRule;// |
||||
|
private String subLotRule;// |
||||
|
private String componentLotRule;// |
||||
|
private String infoText;// 备注 |
||||
|
private String createdBy;// 创建人 |
||||
|
private Date createdDate;// 创建时间 |
||||
|
private String ifsRowKey; |
||||
|
private String ifsRowId; |
||||
|
private String ifsRowVersion; |
||||
|
private String histType;// 类型 |
||||
|
|
||||
|
public PartCatalog() { |
||||
|
super(); |
||||
|
} |
||||
|
|
||||
|
public int getId() { |
||||
|
return id; |
||||
|
} |
||||
|
|
||||
|
public void setId(int id) { |
||||
|
this.id = id; |
||||
|
} |
||||
|
|
||||
|
public String getContract() { |
||||
|
return contract; |
||||
|
} |
||||
|
|
||||
|
public void setContract(String contract) { |
||||
|
this.contract = contract; |
||||
|
} |
||||
|
|
||||
|
public String getPartNo() { |
||||
|
return partNo; |
||||
|
} |
||||
|
|
||||
|
public void setPartNo(String partNo) { |
||||
|
this.partNo = partNo; |
||||
|
} |
||||
|
|
||||
|
public String getPartDesc() { |
||||
|
return partDesc; |
||||
|
} |
||||
|
|
||||
|
public void setPartDesc(String partDesc) { |
||||
|
this.partDesc = partDesc; |
||||
|
} |
||||
|
|
||||
|
public String getUnitCode() { |
||||
|
return unitCode; |
||||
|
} |
||||
|
|
||||
|
public void setUnitCode(String unitCode) { |
||||
|
this.unitCode = unitCode; |
||||
|
} |
||||
|
|
||||
|
public String getPartMainGroup() { |
||||
|
return partMainGroup; |
||||
|
} |
||||
|
|
||||
|
public void setPartMainGroup(String partMainGroup) { |
||||
|
this.partMainGroup = partMainGroup; |
||||
|
} |
||||
|
|
||||
|
public String getWeightNet() { |
||||
|
return weightNet; |
||||
|
} |
||||
|
|
||||
|
public void setWeightNet(String weightNet) { |
||||
|
this.weightNet = weightNet; |
||||
|
} |
||||
|
|
||||
|
public String getUomForWeightNet() { |
||||
|
return uomForWeightNet; |
||||
|
} |
||||
|
|
||||
|
public void setUomForWeightNet(String uomForWeightNet) { |
||||
|
this.uomForWeightNet = uomForWeightNet; |
||||
|
} |
||||
|
|
||||
|
public String getVolumeNet() { |
||||
|
return volumeNet; |
||||
|
} |
||||
|
|
||||
|
public void setVolumeNet(String volumeNet) { |
||||
|
this.volumeNet = volumeNet; |
||||
|
} |
||||
|
|
||||
|
public String getUomForVolumeNet() { |
||||
|
return uomForVolumeNet; |
||||
|
} |
||||
|
|
||||
|
public void setUomForVolumeNet(String uomForVolumeNet) { |
||||
|
this.uomForVolumeNet = uomForVolumeNet; |
||||
|
} |
||||
|
|
||||
|
public String getConditionCodeUsageDb() { |
||||
|
return conditionCodeUsageDb; |
||||
|
} |
||||
|
|
||||
|
public void setConditionCodeUsageDb(String conditionCodeUsageDb) { |
||||
|
this.conditionCodeUsageDb = conditionCodeUsageDb; |
||||
|
} |
||||
|
|
||||
|
public String getMultilevelTrackingDb() { |
||||
|
return multilevelTrackingDb; |
||||
|
} |
||||
|
|
||||
|
public void setMultilevelTrackingDb(String multilevelTrackingDb) { |
||||
|
this.multilevelTrackingDb = multilevelTrackingDb; |
||||
|
} |
||||
|
|
||||
|
public String getAllowAsNotConsumedDb() { |
||||
|
return allowAsNotConsumedDb; |
||||
|
} |
||||
|
|
||||
|
public void setAllowAsNotConsumedDb(String allowAsNotConsumedDb) { |
||||
|
this.allowAsNotConsumedDb = allowAsNotConsumedDb; |
||||
|
} |
||||
|
|
||||
|
public String getLotTrackingCode() { |
||||
|
return lotTrackingCode; |
||||
|
} |
||||
|
|
||||
|
public void setLotTrackingCode(String lotTrackingCode) { |
||||
|
this.lotTrackingCode = lotTrackingCode; |
||||
|
} |
||||
|
|
||||
|
public String getLotQuantityRule() { |
||||
|
return lotQuantityRule; |
||||
|
} |
||||
|
|
||||
|
public void setLotQuantityRule(String lotQuantityRule) { |
||||
|
this.lotQuantityRule = lotQuantityRule; |
||||
|
} |
||||
|
|
||||
|
public String getSubLotRule() { |
||||
|
return subLotRule; |
||||
|
} |
||||
|
|
||||
|
public void setSubLotRule(String subLotRule) { |
||||
|
this.subLotRule = subLotRule; |
||||
|
} |
||||
|
|
||||
|
public String getComponentLotRule() { |
||||
|
return componentLotRule; |
||||
|
} |
||||
|
|
||||
|
public void setComponentLotRule(String componentLotRule) { |
||||
|
this.componentLotRule = componentLotRule; |
||||
|
} |
||||
|
|
||||
|
public String getInfoText() { |
||||
|
return infoText; |
||||
|
} |
||||
|
|
||||
|
public void setInfoText(String infoText) { |
||||
|
this.infoText = infoText; |
||||
|
} |
||||
|
|
||||
|
public String getCreatedBy() { |
||||
|
return createdBy; |
||||
|
} |
||||
|
|
||||
|
public void setCreatedBy(String createdBy) { |
||||
|
this.createdBy = createdBy; |
||||
|
} |
||||
|
|
||||
|
public Date getCreatedDate() { |
||||
|
return createdDate; |
||||
|
} |
||||
|
|
||||
|
public void setCreatedDate(Date createdDate) { |
||||
|
this.createdDate = createdDate; |
||||
|
} |
||||
|
|
||||
|
public String getIfsRowKey() { |
||||
|
return ifsRowKey; |
||||
|
} |
||||
|
|
||||
|
public void setIfsRowKey(String ifsRowKey) { |
||||
|
this.ifsRowKey = ifsRowKey; |
||||
|
} |
||||
|
|
||||
|
public String getIfsRowId() { |
||||
|
return ifsRowId; |
||||
|
} |
||||
|
|
||||
|
public void setIfsRowId(String ifsRowId) { |
||||
|
this.ifsRowId = ifsRowId; |
||||
|
} |
||||
|
|
||||
|
public String getIfsRowVersion() { |
||||
|
return ifsRowVersion; |
||||
|
} |
||||
|
|
||||
|
public void setIfsRowVersion(String ifsRowVersion) { |
||||
|
this.ifsRowVersion = ifsRowVersion; |
||||
|
} |
||||
|
|
||||
|
public String getHistType() { |
||||
|
return histType; |
||||
|
} |
||||
|
|
||||
|
public void setHistType(String histType) { |
||||
|
this.histType = histType; |
||||
|
} |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,89 @@ |
|||||
|
package com.spring.modules.Tooling.data; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
* @ClassName: TechnicalClass |
||||
|
* @Description:技术等级的参数 |
||||
|
* @author: LR |
||||
|
* @date: 2024年10月23日 下午5:37:27 |
||||
|
* @Copyright: |
||||
|
*/ |
||||
|
public class TechnicalClass extends PartCatalog { |
||||
|
private String luName; // |
||||
|
private String keyRef; // |
||||
|
private String technicalSpecNo; // |
||||
|
private String technicalClass; // |
||||
|
private String okYesNo; // |
||||
|
private String okSign; // |
||||
|
private String dtOk; // |
||||
|
private String technicalType;// 区分类型 物料件 还是工具 |
||||
|
|
||||
|
public TechnicalClass() { |
||||
|
super(); |
||||
|
} |
||||
|
|
||||
|
public String getLuName() { |
||||
|
return luName; |
||||
|
} |
||||
|
|
||||
|
public void setLuName(String luName) { |
||||
|
this.luName = luName; |
||||
|
} |
||||
|
|
||||
|
public String getKeyRef() { |
||||
|
return keyRef; |
||||
|
} |
||||
|
|
||||
|
public void setKeyRef(String keyRef) { |
||||
|
this.keyRef = keyRef; |
||||
|
} |
||||
|
|
||||
|
public String getTechnicalSpecNo() { |
||||
|
return technicalSpecNo; |
||||
|
} |
||||
|
|
||||
|
public void setTechnicalSpecNo(String technicalSpecNo) { |
||||
|
this.technicalSpecNo = technicalSpecNo; |
||||
|
} |
||||
|
|
||||
|
public String getTechnicalClass() { |
||||
|
return technicalClass; |
||||
|
} |
||||
|
|
||||
|
public void setTechnicalClass(String technicalClass) { |
||||
|
this.technicalClass = technicalClass; |
||||
|
} |
||||
|
|
||||
|
public String getOkYesNo() { |
||||
|
return okYesNo; |
||||
|
} |
||||
|
|
||||
|
public void setOkYesNo(String okYesNo) { |
||||
|
this.okYesNo = okYesNo; |
||||
|
} |
||||
|
|
||||
|
public String getOkSign() { |
||||
|
return okSign; |
||||
|
} |
||||
|
|
||||
|
public void setOkSign(String okSign) { |
||||
|
this.okSign = okSign; |
||||
|
} |
||||
|
|
||||
|
public String getDtOk() { |
||||
|
return dtOk; |
||||
|
} |
||||
|
|
||||
|
public void setDtOk(String dtOk) { |
||||
|
this.dtOk = dtOk; |
||||
|
} |
||||
|
|
||||
|
public String getTechnicalType() { |
||||
|
return technicalType; |
||||
|
} |
||||
|
|
||||
|
public void setTechnicalType(String technicalType) { |
||||
|
this.technicalType = technicalType; |
||||
|
} |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,81 @@ |
|||||
|
package com.spring.modules.Tooling.data; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
* @ClassName: TechnicalClassAttribute |
||||
|
* @Description:技术等级的属性 |
||||
|
* @author: LR |
||||
|
* @date: 2024年10月24日 下午3:57:14 |
||||
|
* @Copyright: |
||||
|
*/ |
||||
|
public class TechnicalClassAttribute extends TechnicalClass { |
||||
|
private String attribute; |
||||
|
private String valueNo; // |
||||
|
private String valueText; // |
||||
|
private String lowerLimit; // |
||||
|
private String upperLimit; // |
||||
|
private String info; // |
||||
|
private String attributeType; // 属性类型 numeric alpha |
||||
|
|
||||
|
public TechnicalClassAttribute() { |
||||
|
super(); |
||||
|
// TODO Auto-generated constructor stub |
||||
|
} |
||||
|
|
||||
|
public String getAttribute() { |
||||
|
return attribute; |
||||
|
} |
||||
|
|
||||
|
public void setAttribute(String attribute) { |
||||
|
this.attribute = attribute; |
||||
|
} |
||||
|
|
||||
|
public String getValueNo() { |
||||
|
return valueNo; |
||||
|
} |
||||
|
|
||||
|
public void setValueNo(String valueNo) { |
||||
|
this.valueNo = valueNo; |
||||
|
} |
||||
|
|
||||
|
public String getValueText() { |
||||
|
return valueText; |
||||
|
} |
||||
|
|
||||
|
public void setValueText(String valueText) { |
||||
|
this.valueText = valueText; |
||||
|
} |
||||
|
|
||||
|
public String getLowerLimit() { |
||||
|
return lowerLimit; |
||||
|
} |
||||
|
|
||||
|
public void setLowerLimit(String lowerLimit) { |
||||
|
this.lowerLimit = lowerLimit; |
||||
|
} |
||||
|
|
||||
|
public String getUpperLimit() { |
||||
|
return upperLimit; |
||||
|
} |
||||
|
|
||||
|
public void setUpperLimit(String upperLimit) { |
||||
|
this.upperLimit = upperLimit; |
||||
|
} |
||||
|
|
||||
|
public String getInfo() { |
||||
|
return info; |
||||
|
} |
||||
|
|
||||
|
public void setInfo(String info) { |
||||
|
this.info = info; |
||||
|
} |
||||
|
|
||||
|
public String getAttributeType() { |
||||
|
return attributeType; |
||||
|
} |
||||
|
|
||||
|
public void setAttributeType(String attributeType) { |
||||
|
this.attributeType = attributeType; |
||||
|
} |
||||
|
|
||||
|
} |
||||
Write
Preview
Loading…
Cancel
Save
Reference in new issue