【任务:1256工序BOM改为工位BOM】

yun-zuoyi
jokelone 6 years ago
parent 7a379fb5ab
commit 3c9183e422

@ -121,7 +121,7 @@ public class MesStationBom extends BaseBean {
@Override
public String toString() {
return "MesProcessBom{" +
return "MesStationBom{" +
"partNo='" + partNo + '\'' +
", itemPartNo='" + itemPartNo + '\'' +
", qty=" + qty +

@ -0,0 +1,49 @@
package cn.estsh.i3plus.pojo.mes.pcn.model;
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesDefect;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import java.util.List;
/**
* @Description:
* @Reference:
* @Author: joke.wang
* @CreateDate: 2019\11\28 19:50
* @Modify:
**/
@Data
public class DefectModel {
private Long id;
@ApiParam("缺陷代码")
private String defectCode;
@ApiParam("缺陷名称")
private String defectName;
@ApiParam("缺陷类型")
private String defectType;
@ApiParam("缺陷类型名称")
private String defectTypeName;
@ApiParam("缺陷位置")
private String defectLocation;
@ApiParam("缺陷类型子集")
private List<DefectModel> mesDefectList;
public DefectModel() {
}
public DefectModel(Long id, String defectCode, String defectName, String defectType, String defectTypeName) {
this.id = id;
this.defectCode = defectCode;
this.defectName = defectName;
this.defectType = defectType;
this.defectTypeName = defectTypeName;
}
}

@ -11,7 +11,7 @@ import lombok.Data;
* @Modify:
**/
@Data
public class MesProcessBomModel {
public class MesStationBomModel {
private Long id;
@ApiParam("子物料编码")
@ -40,11 +40,11 @@ public class MesProcessBomModel {
@ApiParam("报废数")
private Integer scrapQty;
public MesProcessBomModel() {
public MesStationBomModel() {
}
public MesProcessBomModel(Long id, String itemPartNo, String itemPartName, Double qty, Integer isValid, Integer isDeleted, String organizeCode, Integer isFeed, String workCenterCode, String workCellCode, String parentPartNo, String parentPartName) {
public MesStationBomModel(Long id, String itemPartNo, String itemPartName, Double qty, Integer isValid, Integer isDeleted, String organizeCode, Integer isFeed, String workCenterCode, String workCellCode, String parentPartNo, String parentPartName) {
this.id = id;
this.itemPartNo = itemPartNo;
this.itemPartName = itemPartName;
@ -59,7 +59,7 @@ public class MesProcessBomModel {
this.parentPartName = parentPartName;
}
public MesProcessBomModel(String itemPartNo, String itemPartName, Double qty, Integer isValid, Integer isDeleted, String organizeCode, Integer isFeed, String workCenterCode, String workCellCode, String parentPartNo, String parentPartName) {
public MesStationBomModel(String itemPartNo, String itemPartName, Double qty, Integer isValid, Integer isDeleted, String organizeCode, Integer isFeed, String workCenterCode, String workCellCode, String parentPartNo, String parentPartName) {
this.itemPartNo = itemPartNo;
this.itemPartName = itemPartName;
this.qty = qty;

@ -110,7 +110,7 @@ public class MesStationBom extends BaseBean {
@Override
public String toString() {
return "MesProcessBom{" +
return "MesStationBom{" +
"partNo='" + partNo + '\'' +
", itemPartNo='" + itemPartNo + '\'' +
", qty=" + qty +

@ -66,4 +66,8 @@ public class ProdOrgModel extends BaseBean {
@Transient
@ApiParam("工位类型")
private Integer workCellType;
@Transient
@ApiParam("序号")
private Integer seq;
}

Loading…
Cancel
Save