Browse Source

[fix]

品质管理 品质单
修改品质单报告类,新增字段;
dev
王晓迪 4 days ago
parent
commit
050e14604f
  1. 243
      ruoyi-admin/src/main/java/com/ruoyi/quality/domain/QualityOrderReport.java

243
ruoyi-admin/src/main/java/com/ruoyi/quality/domain/QualityOrderReport.java

@ -22,6 +22,15 @@ public class QualityOrderReport extends BaseEntity
/** 品质单报告Id */ /** 品质单报告Id */
private Long qualityOrderReportId; private Long qualityOrderReportId;
/** 品质单报告单号 */
private String qualityOrderReportCode;
/** 关联订单号 */
private String relatedOrderCode;
/** 品质报告单类型 */
private String qualityOrderReportType;
/** 品质单号 */ /** 品质单号 */
@Excel(name = "品质单号") @Excel(name = "品质单号")
private String qualityOrderCode; private String qualityOrderCode;
@ -46,16 +55,29 @@ public class QualityOrderReport extends BaseEntity
@Excel(name = "生产订单数") @Excel(name = "生产订单数")
private Integer makeTotal; private Integer makeTotal;
/** 委内已完成数 */
@Excel(name = "委内已完成数")
private Integer makeInNum;
/** 实际到货数量 */ /** 原实际到货数量 */
@Excel(name = "实际到货数量") @Excel(name = "检验数")
private Integer actualArriveNum; private int checkNum;
//交付质检时间
@JsonFormat(pattern = "yyyy-MM-dd")
private Date deliveryInspectionTime;
/** 入库单号 */
@Excel(name = "入库单号")
private String inStorageCode;
/** 品质单订单类型 */
@Excel(name = "品质单订单类型")
private String qualityOrderType;
/** 品质单入库类型 */
@Excel(name = "品质单入库类型")
private String qualityStorageStatus;
/** 品质已合格数 */ /** 品质已合格数 */
@Excel(name = "品质已合格数") @Excel(name = "合格数")
private Integer qualityHasqualifiedNum; private Integer qualityHasqualifiedNum;
/** ok允收数 */ /** ok允收数 */
@ -88,7 +110,7 @@ public class QualityOrderReport extends BaseEntity
private String processBadGrade; private String processBadGrade;
/** 不良数量 */ /** 不良数量 */
@Excel(name = "不良数") @Excel(name = "不良数")
private Integer processBadNum; private Integer processBadNum;
/** 不合格报告url */ /** 不合格报告url */
@ -98,6 +120,40 @@ public class QualityOrderReport extends BaseEntity
/*不合格数集合*/ /*不合格数集合*/
List<QualityOrderReportUnqualified> unqualifiedDataList; List<QualityOrderReportUnqualified> unqualifiedDataList;
//品质报告单包含出货设备ID集合
List<String> qualityReportDeviceIds;
@Excel(name = "使用状态")
private String useStatus;
@Excel(name = "审核状态")
private String auditStatus;
/** 流程实例ID */
private String instanceId;
/** 流程实例类型 */
private String instanceType;
/** 提交流程实例ID */
private String submitInstanceId;
/** 作废流程实例ID */
private String cancelInstanceId;
/** 恢复流程实例ID */
private String restoreInstanceId;
/** 申请标题 */
private String applyTitle;
/** 申请人 */
private String applyUser;
/** 申请时间 */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date applyTime;
public void setQualityOrderReportId(Long qualityOrderReportId) public void setQualityOrderReportId(Long qualityOrderReportId)
{ {
this.qualityOrderReportId = qualityOrderReportId; this.qualityOrderReportId = qualityOrderReportId;
@ -163,22 +219,6 @@ public class QualityOrderReport extends BaseEntity
return makeTotal; return makeTotal;
} }
public Integer getMakeInNum() {
return makeInNum;
}
public void setMakeInNum(Integer makeInNum) {
this.makeInNum = makeInNum;
}
public Integer getActualArriveNum() {
return actualArriveNum;
}
public void setActualArriveNum(Integer actualArriveNum) {
this.actualArriveNum = actualArriveNum;
}
public void setQualityHasqualifiedNum(Integer qualityHasqualifiedNum) public void setQualityHasqualifiedNum(Integer qualityHasqualifiedNum)
{ {
this.qualityHasqualifiedNum = qualityHasqualifiedNum; this.qualityHasqualifiedNum = qualityHasqualifiedNum;
@ -279,6 +319,158 @@ public class QualityOrderReport extends BaseEntity
this.processBadNum = processBadNum; this.processBadNum = processBadNum;
} }
public String getUseStatus() {
return useStatus;
}
public void setUseStatus(String useStatus) {
this.useStatus = useStatus;
}
public String getAuditStatus() {
return auditStatus;
}
public void setAuditStatus(String auditStatus) {
this.auditStatus = auditStatus;
}
public String getApplyUser() {
return applyUser;
}
public void setApplyUser(String applyUser) {
this.applyUser = applyUser;
}
public String getInstanceId() {
return instanceId;
}
public void setInstanceId(String instanceId) {
this.instanceId = instanceId;
}
public String getInstanceType() {
return instanceType;
}
public void setInstanceType(String instanceType) {
this.instanceType = instanceType;
}
public String getSubmitInstanceId() {
return submitInstanceId;
}
public void setSubmitInstanceId(String submitInstanceId) {
this.submitInstanceId = submitInstanceId;
}
public String getCancelInstanceId() {
return cancelInstanceId;
}
public void setCancelInstanceId(String cancelInstanceId) {
this.cancelInstanceId = cancelInstanceId;
}
public String getRestoreInstanceId() {
return restoreInstanceId;
}
public void setRestoreInstanceId(String restoreInstanceId) {
this.restoreInstanceId = restoreInstanceId;
}
public String getApplyTitle() {
return applyTitle;
}
public void setApplyTitle(String applyTitle) {
this.applyTitle = applyTitle;
}
public Date getApplyTime() {
return applyTime;
}
public void setApplyTime(Date applyTime) {
this.applyTime = applyTime;
}
public int getCheckNum() {
return checkNum;
}
public void setCheckNum(int checkNum) {
this.checkNum = checkNum;
}
public Date getDeliveryInspectionTime() {
return deliveryInspectionTime;
}
public void setDeliveryInspectionTime(Date deliveryInspectionTime) {
this.deliveryInspectionTime = deliveryInspectionTime;
}
public String getQualityOrderReportCode() {
return qualityOrderReportCode;
}
public void setQualityOrderReportCode(String qualityOrderReportCode) {
this.qualityOrderReportCode = qualityOrderReportCode;
}
public String getInStorageCode() {
return inStorageCode;
}
public void setInStorageCode(String inStorageCode) {
this.inStorageCode = inStorageCode;
}
public String getQualityOrderType() {
return qualityOrderType;
}
public void setQualityOrderType(String qualityOrderType) {
this.qualityOrderType = qualityOrderType;
}
public String getQualityStorageStatus() {
return qualityStorageStatus;
}
public void setQualityStorageStatus(String qualityStorageStatus) {
this.qualityStorageStatus = qualityStorageStatus;
}
public List<String> getQualityReportDeviceIds() {
return qualityReportDeviceIds;
}
public void setQualityReportDeviceIds(List<String> qualityReportDeviceIds) {
this.qualityReportDeviceIds = qualityReportDeviceIds;
}
public String getRelatedOrderCode() {
return relatedOrderCode;
}
public void setRelatedOrderCode(String relatedOrderCode) {
this.relatedOrderCode = relatedOrderCode;
}
public String getQualityOrderReportType() {
return qualityOrderReportType;
}
public void setQualityOrderReportType(String qualityOrderReportType) {
this.qualityOrderReportType = qualityOrderReportType;
}
@Override @Override
public String toString() { public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
@ -289,8 +481,7 @@ public class QualityOrderReport extends BaseEntity
.append("materialNo", getMaterialNo()) .append("materialNo", getMaterialNo())
.append("materialName", getMaterialName()) .append("materialName", getMaterialName())
.append("makeTotal", getMakeTotal()) .append("makeTotal", getMakeTotal())
.append("makeInNum",getMakeInNum()) .append("checkNum", getCheckNum())
.append("actualArriveNum", getActualArriveNum())
.append("qualityHasqualifiedNum", getQualityHasqualifiedNum()) .append("qualityHasqualifiedNum", getQualityHasqualifiedNum())
.append("okAcceptedNum", getOkAcceptedNum()) .append("okAcceptedNum", getOkAcceptedNum())
.append("okReportUrl", getOkReportUrl()) .append("okReportUrl", getOkReportUrl())

Loading…
Cancel
Save