|
|
|
@ -131,7 +131,6 @@ public class MesProduceSn extends BaseBean implements Serializable {
|
|
|
|
|
@ApiParam("条码类型 10=正常 20=首检件")
|
|
|
|
|
private Integer snType;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "TRAY_NO")
|
|
|
|
|
@ApiParam("托盘号")
|
|
|
|
|
private String trayNo;
|
|
|
|
@ -233,6 +232,10 @@ public class MesProduceSn extends BaseBean implements Serializable {
|
|
|
|
|
@ApiParam("颜色名称")
|
|
|
|
|
private String colorName;
|
|
|
|
|
|
|
|
|
|
@Transient
|
|
|
|
|
@ApiParam("物料版本号")
|
|
|
|
|
private String versionNo;
|
|
|
|
|
|
|
|
|
|
public MesProduceSn() {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -241,6 +244,51 @@ public class MesProduceSn extends BaseBean implements Serializable {
|
|
|
|
|
this.qcStatus = qcStatus;
|
|
|
|
|
this.qty = qty;
|
|
|
|
|
}
|
|
|
|
|
//sn.serialNumber, sn.productSn, " +
|
|
|
|
|
// " sn.partNo, sn.partNameRdd, sn.qty, sn.qcStatus, sn.snStatus, sn.printCount, sn.printStatus" +
|
|
|
|
|
// " sn.workCenterCode, sn.workCellCode, sn.routeCode, sn.processCode, sn.nextProcessCode, sn.inWorkCenterTime, " +
|
|
|
|
|
// " sn.outWorkCenterTime, sn.shippingTime, sn.workOrderNo, sn.custSn, sn.custPartNo, sn.custCode," +
|
|
|
|
|
// " sn.snType, sn.trayNo, sn.operateType, sn.processLabelTemplate, sn.prodLabelTemplate, sn.custLabelTemplate, " +
|
|
|
|
|
// " sn.lotNo, sn.defectActionType, sn.vinCode, p.versionNo
|
|
|
|
|
public MesProduceSn(Long id, String serialNumber, String productSn, String partNo, String partNameRdd, Double qty, Integer qcStatus, Integer snStatus,
|
|
|
|
|
Integer printCount, Integer printStatus, String workCenterCode, String workCellCode, String routeCode, String processCode,
|
|
|
|
|
String nextProcessCode, String inWorkCenterTime, String outWorkCenterTime, String shippingTime, String workOrderNo,
|
|
|
|
|
String custSn, String custPartNo, String custCode, Integer snType, String trayNo, Integer operateType,
|
|
|
|
|
String processLabelTemplate, String prodLabelTemplate, String custLabelTemplate, String lotNo,
|
|
|
|
|
String defectActionType, String vinCode, String versionNo) {
|
|
|
|
|
this.id = id;
|
|
|
|
|
this.serialNumber = serialNumber;
|
|
|
|
|
this.productSn = productSn;
|
|
|
|
|
this.partNo = partNo;
|
|
|
|
|
this.partNameRdd = partNameRdd;
|
|
|
|
|
this.qty = qty;
|
|
|
|
|
this.qcStatus = qcStatus;
|
|
|
|
|
this.snStatus = snStatus;
|
|
|
|
|
this.printCount = printCount;
|
|
|
|
|
this.printStatus = printStatus;
|
|
|
|
|
this.workCenterCode = workCenterCode;
|
|
|
|
|
this.workCellCode = workCellCode;
|
|
|
|
|
this.routeCode = routeCode;
|
|
|
|
|
this.processCode = processCode;
|
|
|
|
|
this.nextProcessCode = nextProcessCode;
|
|
|
|
|
this.inWorkCenterTime = inWorkCenterTime;
|
|
|
|
|
this.outWorkCenterTime = outWorkCenterTime;
|
|
|
|
|
this.shippingTime = shippingTime;
|
|
|
|
|
this.workOrderNo = workOrderNo;
|
|
|
|
|
this.custSn = custSn;
|
|
|
|
|
this.custPartNo = custPartNo;
|
|
|
|
|
this.custCode = custCode;
|
|
|
|
|
this.snType = snType;
|
|
|
|
|
this.trayNo = trayNo;
|
|
|
|
|
this.operateType = operateType;
|
|
|
|
|
this.processLabelTemplate = processLabelTemplate;
|
|
|
|
|
this.prodLabelTemplate = prodLabelTemplate;
|
|
|
|
|
this.custLabelTemplate = custLabelTemplate;
|
|
|
|
|
this.lotNo = lotNo;
|
|
|
|
|
this.defectActionType = defectActionType;
|
|
|
|
|
this.vinCode = vinCode;
|
|
|
|
|
this.versionNo = versionNo;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public double getQtyVal() {
|
|
|
|
|
return this.qty == null ? 0.0d : this.qty;
|
|
|
|
|