|
|
|
@ -119,6 +119,22 @@ public class MesDefectRecord extends BaseBean implements Serializable {
|
|
|
|
|
@ApiParam("产品二维码")
|
|
|
|
|
private String productSn;
|
|
|
|
|
|
|
|
|
|
@Transient
|
|
|
|
|
@ApiParam("措施代码")
|
|
|
|
|
private String repairCode;
|
|
|
|
|
|
|
|
|
|
@Transient
|
|
|
|
|
@ApiParam("措施描述")
|
|
|
|
|
private String repairName;
|
|
|
|
|
|
|
|
|
|
@Transient
|
|
|
|
|
@ApiParam("缺陷原因代码")
|
|
|
|
|
private String dcCode;
|
|
|
|
|
|
|
|
|
|
@Transient
|
|
|
|
|
@ApiParam("缺陷原因描述")
|
|
|
|
|
private String dcName;
|
|
|
|
|
|
|
|
|
|
public int getRepairStatusVal() {
|
|
|
|
|
return this.repairStatus == null ? 0 : this.repairStatus;
|
|
|
|
|
}
|
|
|
|
@ -149,4 +165,33 @@ public class MesDefectRecord extends BaseBean implements Serializable {
|
|
|
|
|
this.modifyUser = modifyUser;
|
|
|
|
|
this.modifyDatetime = modifyDatetime;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public MesDefectRecord(Long id, String serialNumber, String workOrderNo, String partNo, String partName, String defectCode,
|
|
|
|
|
String defectName, String defectLocation, String sideLocation, Integer repairStatus, String workCenterCode,
|
|
|
|
|
String workCellCode, String memo, String defectActionType, Double qty, String repairCode, String repairName,
|
|
|
|
|
String dcCode, String dcName, String createUser, String createDatetime, String modifyUser, String modifyDatetime) {
|
|
|
|
|
this.id = id;
|
|
|
|
|
this.serialNumber = serialNumber;
|
|
|
|
|
this.workOrderNo = workOrderNo;
|
|
|
|
|
this.partNo = partNo;
|
|
|
|
|
this.partName = partName;
|
|
|
|
|
this.defectCode = defectCode;
|
|
|
|
|
this.defectName = defectName;
|
|
|
|
|
this.defectLocation = defectLocation;
|
|
|
|
|
this.sideLocation = sideLocation;
|
|
|
|
|
this.repairStatus = repairStatus;
|
|
|
|
|
this.workCenterCode = workCenterCode;
|
|
|
|
|
this.workCellCode = workCellCode;
|
|
|
|
|
this.memo = memo;
|
|
|
|
|
this.defectActionType = defectActionType;
|
|
|
|
|
this.qty = qty;
|
|
|
|
|
this.repairCode = repairCode;
|
|
|
|
|
this.repairName = repairName;
|
|
|
|
|
this.dcCode = dcCode;
|
|
|
|
|
this.dcName = dcName;
|
|
|
|
|
this.createUser = createUser;
|
|
|
|
|
this.createDatetime = createDatetime;
|
|
|
|
|
this.modifyUser = modifyUser;
|
|
|
|
|
this.modifyDatetime = modifyDatetime;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|