src/main/java/com/whyc/pojo/ComponentProductApproving.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/main/java/com/whyc/pojo/ComponentProductHistory.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/main/java/com/whyc/pojo/Material.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/main/java/com/whyc/pojo/MaterialApproving.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/main/java/com/whyc/pojo/MaterialProductApproving.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/main/java/com/whyc/pojo/MaterialProductHistory.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/main/java/com/whyc/pojo/ProductBom.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/main/java/com/whyc/pojo/ProductBomApproving.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/main/java/com/whyc/pojo/ProductBomHistory.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/main/java/com/whyc/pojo/ComponentProductApproving.java
File was deleted src/main/java/com/whyc/pojo/ComponentProductHistory.java
File was deleted src/main/java/com/whyc/pojo/Material.java
File was renamed from src/main/java/com/whyc/pojo/Component.java @@ -12,9 +12,9 @@ /** * 散装件 */ @TableName(schema = "db_doc",value = "tb_component") @Alias("Component") public class Component { @TableName(schema = "db_doc",value = "tb_material") @Alias("Material") public class Material { private Integer id; @ApiModelProperty("母料编号") @@ -55,7 +55,7 @@ private String dwgUrl; @TableField(exist = false) private List<ComponentProductHistory> cProductHistorys; private List<MaterialProductHistory> mProductHistorys; public Integer getId() { return id; @@ -217,11 +217,11 @@ this.status = status; } public List<ComponentProductHistory> getcProductHistorys() { return cProductHistorys; public List<MaterialProductHistory> getMProductHistorys() { return mProductHistorys; } public void setcProductHistorys(List<ComponentProductHistory> cProductHistorys) { this.cProductHistorys = cProductHistorys; public void setMProductHistorys(List<MaterialProductHistory> mProductHistorys) { this.mProductHistorys = mProductHistorys; } } src/main/java/com/whyc/pojo/MaterialApproving.java
File was renamed from src/main/java/com/whyc/pojo/ComponentApproving.java @@ -12,9 +12,9 @@ /** * 散装件 */ @TableName(schema = "db_doc",value = "tb_component_approving") @Alias("ComponentApproving") public class ComponentApproving { @TableName(schema = "db_doc",value = "tb_material_approving") @Alias("MaterialApproving") public class MaterialApproving { private Integer id; @ApiModelProperty("母料编号") @@ -55,11 +55,11 @@ private Integer mainId; @ApiModelProperty("散装件id,新增必然没有值,删除必然存在值") private Integer componentId; @ApiModelProperty("物料id,新增必然没有值,删除必然存在值") private Integer materialId; @TableField(exist = false) private Component component; private Material materialObject; public Integer getId() { return id; @@ -229,19 +229,19 @@ this.mainId = mainId; } public Integer getComponentId() { return componentId; public Integer getMaterialId() { return materialId; } public void setComponentId(Integer componentId) { this.componentId = componentId; public void setMaterialId(Integer materialId) { this.materialId = materialId; } public Component getComponent() { return component; public Material getMaterialObject() { return materialObject; } public void setComponent(Component component) { this.component = component; public void setMaterialObject(Material materialObject) { this.materialObject = materialObject; } } src/main/java/com/whyc/pojo/MaterialProductApproving.java
New file @@ -0,0 +1,92 @@ package com.whyc.pojo; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; import io.swagger.annotations.ApiModelProperty; import org.apache.ibatis.type.Alias; @TableName(schema = "db_doc",value = "tb_material_product_approving") @Alias("MaterialProductApproving") public class MaterialProductApproving { private Integer id; @ApiModelProperty("物料id") private Integer materialId; @ApiModelProperty("产品id") private String productId; @ApiModelProperty("子件编码") private String subCode; @ApiModelProperty("子件数量") private Integer quantity; @ApiModelProperty("关联类型:-1(移除),1(关联)") private Integer linkType; @ApiModelProperty("主表id") private Integer mainId; @TableField(exist = false) private Material material; public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public Integer getMaterialId() { return materialId; } public void setMaterialId(Integer materialId) { this.materialId = materialId; } public String getProductId() { return productId; } public void setProductId(String productId) { this.productId = productId; } public String getSubCode() { return subCode; } public void setSubCode(String subCode) { this.subCode = subCode; } public Integer getMainId() { return mainId; } public void setMainId(Integer mainId) { this.mainId = mainId; } public Integer getLinkType() { return linkType; } public void setLinkType(Integer linkType) { this.linkType = linkType; } public Material getMaterial() { return material; } public void setMaterial(Material material) { this.material = material; } public Integer getQuantity() { return quantity; } public void setQuantity(Integer quantity) { this.quantity = quantity; } } src/main/java/com/whyc/pojo/MaterialProductHistory.java
New file @@ -0,0 +1,90 @@ package com.whyc.pojo; import com.baomidou.mybatisplus.annotation.TableName; import io.swagger.annotations.ApiModelProperty; import org.apache.ibatis.type.Alias; import java.util.Date; @TableName(schema = "db_doc",value = "tb_material_product_history") @Alias("MaterialProductHistory") public class MaterialProductHistory { private Integer id; @ApiModelProperty("物料id") private Integer materialId; @ApiModelProperty("产品id") private String productId; @ApiModelProperty("子件编码") private String subCode; @ApiModelProperty("子件数量") private Integer quantity; private Date createTime; @ApiModelProperty("关联类型:1(关联)") private Integer linkType; private Integer version; public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public Integer getMaterialId() { return materialId; } public void setMaterialId(Integer materialId) { this.materialId = materialId; } public String getProductId() { return productId; } public void setProductId(String productId) { this.productId = productId; } public String getSubCode() { return subCode; } public void setSubCode(String subCode) { this.subCode = subCode; } public Integer getVersion() { return version; } public void setVersion(Integer version) { this.version = version; } public Date getCreateTime() { return createTime; } public void setCreateTime(Date createTime) { this.createTime = createTime; } public Integer getLinkType() { return linkType; } public void setLinkType(Integer linkType) { this.linkType = linkType; } public Integer getQuantity() { return quantity; } public void setQuantity(Integer quantity) { this.quantity = quantity; } } src/main/java/com/whyc/pojo/ProductBom.java
@@ -20,12 +20,8 @@ private static final long serialVersionUID = 1L; private Integer id; @ApiModelProperty("母料编号") private String parentCode; @ApiModelProperty("母料名称") private String parentName; @ApiModelProperty("母料型号") private String parentModel; @ApiModelProperty("产品id") private Integer productId; @ApiModelProperty("结构件类型") private String type; @ApiModelProperty("类别") @@ -58,17 +54,14 @@ @TableField(exist = false) private String upUser; private Date createDate; private Date updateDate; @ApiModelProperty("版本") private Integer version; @ApiModelProperty("母料版本号(产品版本号)") private String parentVersion; @ApiModelProperty("工程图纸url") private String dwgUrl; @TableField(exist = false) private List<Component> components; private List<Material> materials; @TableField(exist = false) @ApiModelProperty("是否是替换件:0:原子件,1:替换件") @@ -87,28 +80,12 @@ this.id = id; } public String getParentCode() { return parentCode; public Integer getProductId() { return productId; } public void setParentCode(String parentCode) { this.parentCode = parentCode; } public String getParentName() { return parentName; } public void setParentName(String parentName) { this.parentName = parentName; } public String getParentModel() { return parentModel; } public void setParentModel(String parentModel) { this.parentModel = parentModel; public void setProductId(Integer productId) { this.productId = productId; } public String getType() { @@ -239,28 +216,12 @@ this.createDate = createDate; } public Date getUpdateDate() { return updateDate; } public void setUpdateDate(Date updateDate) { this.updateDate = updateDate; } public Integer getVersion() { return version; } public void setVersion(Integer version) { this.version = version; } public String getParentVersion() { return parentVersion; } public void setParentVersion(String parentVersion) { this.parentVersion = parentVersion; } public String getDwgUrl() { @@ -279,12 +240,12 @@ this.upUser = upUser; } public List<Component> getComponents() { return components; public List<Material> getMaterials() { return materials; } public void setComponents(List<Component> components) { this.components = components; public void setMaterials(List<Material> materials) { this.materials = materials; } public int getReplaceStatus() { src/main/java/com/whyc/pojo/ProductBomApproving.java
@@ -18,6 +18,8 @@ private Integer id; @ApiModelProperty("审批主表id") private Integer mainId; @ApiModelProperty("产品id") private Integer productId; @ApiModelProperty("母料编号") private String parentCode; @ApiModelProperty("母料名称") @@ -53,16 +55,10 @@ @ApiModelProperty("上传人") private Long upUserId; private Date createDate; private Date updateDate; @ApiModelProperty("版本") private Integer version; @ApiModelProperty("母料版本号(产品版本号)") private String parentVersion; @ApiModelProperty("工程图纸url") private String dwgUrl; @ApiModelProperty("驳回版本号") private Integer rejectVersion; @ApiModelProperty("工程图纸是否存在:0否1存在") @TableField(exist = false) @@ -73,7 +69,7 @@ @ApiModelProperty("散装件数组") @TableField(exist = false) private List<Component> componentList; private List<Material> materialList; public Integer getId() { return id; @@ -235,28 +231,12 @@ this.createDate = createDate; } public Date getUpdateDate() { return updateDate; } public void setUpdateDate(Date updateDate) { this.updateDate = updateDate; } public Integer getVersion() { return version; } public void setVersion(Integer version) { this.version = version; } public String getParentVersion() { return parentVersion; } public void setParentVersion(String parentVersion) { this.parentVersion = parentVersion; } public String getType() { @@ -283,14 +263,6 @@ this.dwgExist = dwgExist; } public Integer getRejectVersion() { return rejectVersion; } public void setRejectVersion(Integer rejectVersion) { this.rejectVersion = rejectVersion; } public String getExcelName() { return excelName; } @@ -299,11 +271,19 @@ this.excelName = excelName; } public List<Component> getComponentList() { return componentList; public Integer getProductId() { return productId; } public void setComponentList(List<Component> componentList) { this.componentList = componentList; public void setProductId(Integer productId) { this.productId = productId; } public List<Material> getMaterialList() { return materialList; } public void setMaterialList(List<Material> materialList) { this.materialList = materialList; } } src/main/java/com/whyc/pojo/ProductBomHistory.java
@@ -15,12 +15,8 @@ public class ProductBomHistory { private Integer id; @ApiModelProperty("母料编号") private String parentCode; @ApiModelProperty("母料名称") private String parentName; @ApiModelProperty("母料型号") private String parentModel; @ApiModelProperty("产品id") private Integer productId; @ApiModelProperty("结构件类型") private String type; @ApiModelProperty("类别") @@ -50,13 +46,8 @@ @ApiModelProperty("上传人") private Long upUserId; private Date createDate; //private Date updateDate; @ApiModelProperty("起始版本号") private Integer sVersion; @ApiModelProperty("终止版本号") private Integer eVersion; @ApiModelProperty("母料版本号(产品版本号)") private String parentVersion; @ApiModelProperty("版本号") private Integer version; @ApiModelProperty("工程图纸url") private String dwgUrl; @@ -75,30 +66,6 @@ public void setId(Integer id) { this.id = id; } public String getParentCode() { return parentCode; } public void setParentCode(String parentCode) { this.parentCode = parentCode; } public String getParentName() { return parentName; } public void setParentName(String parentName) { this.parentName = parentName; } public String getParentModel() { return parentModel; } public void setParentModel(String parentModel) { this.parentModel = parentModel; } public String getType() { @@ -229,30 +196,6 @@ this.createDate = createDate; } public Integer getSVersion() { return sVersion; } public void setSVersion(Integer sVersion) { this.sVersion = sVersion; } public Integer getEVersion() { return eVersion; } public void setEVersion(Integer eVersion) { this.eVersion = eVersion; } public String getParentVersion() { return parentVersion; } public void setParentVersion(String parentVersion) { this.parentVersion = parentVersion; } public String getDwgUrl() { return dwgUrl; } @@ -261,20 +204,20 @@ this.dwgUrl = dwgUrl; } public Integer getsVersion() { return sVersion; public Integer getProductId() { return productId; } public void setsVersion(Integer sVersion) { this.sVersion = sVersion; public void setProductId(Integer productId) { this.productId = productId; } public Integer geteVersion() { return eVersion; public Integer getVersion() { return version; } public void seteVersion(Integer eVersion) { this.eVersion = eVersion; public void setVersion(Integer version) { this.version = version; } public String getOldSubName() {