6 changed files with 769 additions and 6 deletions
-
14src/main/java/com/xujie/sys/modules/pms/controller/QcController.java
-
470src/main/java/com/xujie/sys/modules/pms/data/QcFAIRecordData.java
-
16src/main/java/com/xujie/sys/modules/pms/mapper/QcMapper.java
-
119src/main/java/com/xujie/sys/modules/pms/service/Impl/QcServiceImpl.java
-
2src/main/java/com/xujie/sys/modules/pms/service/QcService.java
-
154src/main/resources/mapper/pms/QcMapper.xml
@ -0,0 +1,470 @@ |
|||||
|
package com.xujie.sys.modules.pms.data; |
||||
|
|
||||
|
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
|
import com.xujie.sys.common.utils.QueryPage; |
||||
|
import org.springframework.format.annotation.DateTimeFormat; |
||||
|
|
||||
|
import java.util.Date; |
||||
|
|
||||
|
public class QcFAIRecordData extends QueryPage { |
||||
|
// 检验单号 |
||||
|
private String inspectionNo; |
||||
|
// 工厂号 |
||||
|
private String site; |
||||
|
// soscheduledrouting的主键ID |
||||
|
private String ssrId; |
||||
|
// 状态 |
||||
|
private String state; |
||||
|
// 检验结果 |
||||
|
private String inspectionResult; |
||||
|
// 任务生成日期 |
||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd hh:mm:ss") |
||||
|
@JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss", timezone = "GMT+8") |
||||
|
private Date taskDate; |
||||
|
// 检验任务日期(最大) |
||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd hh:mm:ss") |
||||
|
@JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss", timezone = "GMT+8") |
||||
|
private Date startDate; |
||||
|
// 检验任务日期(最小) |
||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd hh:mm:ss") |
||||
|
@JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss", timezone = "GMT+8") |
||||
|
private Date endDate; |
||||
|
// 检验类型编码 |
||||
|
private String inspectionTypeNo; |
||||
|
// 工单号 |
||||
|
private String orderNo; |
||||
|
// 工序名称 |
||||
|
private String operationDesc; |
||||
|
// 产量 |
||||
|
private Double approveQty; |
||||
|
// 机台号 |
||||
|
private String resourceId; |
||||
|
// 机台名称 |
||||
|
private String resourceDesc; |
||||
|
// 物料编码 |
||||
|
private String partNo; |
||||
|
// 物料名称 |
||||
|
private String partDesc; |
||||
|
// 质检备注 |
||||
|
private String inspectionRemark; |
||||
|
// 送检数量 |
||||
|
private Double rollQty; |
||||
|
// 抽样数量 |
||||
|
private Double samplingQty; |
||||
|
// 处置措施 |
||||
|
private String disposalMeasures; |
||||
|
// 处置说明 |
||||
|
private String disposalRemark; |
||||
|
// 实际检验时间 |
||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd hh:mm:ss") |
||||
|
@JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss", timezone = "GMT+8") |
||||
|
private Date inspectorDate; |
||||
|
// 质检员工号 |
||||
|
private String inspectorNo; |
||||
|
// 模板编码 |
||||
|
private String templateId; |
||||
|
// 属性编码 |
||||
|
private String attributeNo; |
||||
|
// 属性类型 |
||||
|
private String attributeType; |
||||
|
|
||||
|
// 检验周期 |
||||
|
private Double inspectionCycle; |
||||
|
// 检验水平编码 |
||||
|
private String samplingLevelNo; |
||||
|
// 检验水平名称 |
||||
|
private String samplingLevelDesc; |
||||
|
// 抽样方案编码 |
||||
|
private String samplingProgrammeNo; |
||||
|
// 抽样方案名称 |
||||
|
private String samplingProgrammeDesc; |
||||
|
// AQL |
||||
|
private Double aql; |
||||
|
// AC |
||||
|
private Double ac; |
||||
|
// RE |
||||
|
private Double re; |
||||
|
|
||||
|
// 检验项目编码 |
||||
|
private String itemNo; |
||||
|
// 检验项目名称 |
||||
|
private String itemDesc; |
||||
|
// 检验项目编码 |
||||
|
private String objectId; |
||||
|
// 检验项目名称 |
||||
|
private String objectDesc; |
||||
|
// 默认值 |
||||
|
private String defaultValue; |
||||
|
// 最小值 |
||||
|
private Double minValue; |
||||
|
// 最大值 |
||||
|
private Double maxValue; |
||||
|
// 数字实测值 |
||||
|
private Double numberValue; |
||||
|
// 文本实测值 |
||||
|
private String textValue; |
||||
|
// 不合格数量 |
||||
|
private Double unqualifiedQuantity; |
||||
|
// 项目检验结论 |
||||
|
private String itemResult; |
||||
|
|
||||
|
public String getSamplingLevelNo() { |
||||
|
return samplingLevelNo; |
||||
|
} |
||||
|
|
||||
|
public void setSamplingLevelNo(String samplingLevelNo) { |
||||
|
this.samplingLevelNo = samplingLevelNo; |
||||
|
} |
||||
|
|
||||
|
public String getSamplingProgrammeNo() { |
||||
|
return samplingProgrammeNo; |
||||
|
} |
||||
|
|
||||
|
public void setSamplingProgrammeNo(String samplingProgrammeNo) { |
||||
|
this.samplingProgrammeNo = samplingProgrammeNo; |
||||
|
} |
||||
|
|
||||
|
public Double getAql() { |
||||
|
return aql; |
||||
|
} |
||||
|
|
||||
|
public void setAql(Double aql) { |
||||
|
this.aql = aql; |
||||
|
} |
||||
|
|
||||
|
public Double getAc() { |
||||
|
return ac; |
||||
|
} |
||||
|
|
||||
|
public void setAc(Double ac) { |
||||
|
this.ac = ac; |
||||
|
} |
||||
|
|
||||
|
public Double getRe() { |
||||
|
return re; |
||||
|
} |
||||
|
|
||||
|
public void setRe(Double re) { |
||||
|
this.re = re; |
||||
|
} |
||||
|
|
||||
|
public String getInspectionNo() { |
||||
|
return inspectionNo; |
||||
|
} |
||||
|
|
||||
|
public void setInspectionNo(String inspectionNo) { |
||||
|
this.inspectionNo = inspectionNo; |
||||
|
} |
||||
|
|
||||
|
public String getSite() { |
||||
|
return site; |
||||
|
} |
||||
|
|
||||
|
public void setSite(String site) { |
||||
|
this.site = site; |
||||
|
} |
||||
|
|
||||
|
public String getState() { |
||||
|
return state; |
||||
|
} |
||||
|
|
||||
|
public void setState(String state) { |
||||
|
this.state = state; |
||||
|
} |
||||
|
|
||||
|
public String getInspectionResult() { |
||||
|
return inspectionResult; |
||||
|
} |
||||
|
|
||||
|
public void setInspectionResult(String inspectionResult) { |
||||
|
this.inspectionResult = inspectionResult; |
||||
|
} |
||||
|
|
||||
|
public Date getStartDate() { |
||||
|
return startDate; |
||||
|
} |
||||
|
|
||||
|
public void setStartDate(Date startDate) { |
||||
|
this.startDate = startDate; |
||||
|
} |
||||
|
|
||||
|
public Date getEndDate() { |
||||
|
return endDate; |
||||
|
} |
||||
|
|
||||
|
public void setEndDate(Date endDate) { |
||||
|
this.endDate = endDate; |
||||
|
} |
||||
|
|
||||
|
public String getInspectionTypeNo() { |
||||
|
return inspectionTypeNo; |
||||
|
} |
||||
|
|
||||
|
public void setInspectionTypeNo(String inspectionTypeNo) { |
||||
|
this.inspectionTypeNo = inspectionTypeNo; |
||||
|
} |
||||
|
|
||||
|
public Double getInspectionCycle() { |
||||
|
return inspectionCycle; |
||||
|
} |
||||
|
|
||||
|
public void setInspectionCycle(Double inspectionCycle) { |
||||
|
this.inspectionCycle = inspectionCycle; |
||||
|
} |
||||
|
|
||||
|
public String getOrderNo() { |
||||
|
return orderNo; |
||||
|
} |
||||
|
|
||||
|
public void setOrderNo(String orderNo) { |
||||
|
this.orderNo = orderNo; |
||||
|
} |
||||
|
|
||||
|
public String getOperationDesc() { |
||||
|
return operationDesc; |
||||
|
} |
||||
|
|
||||
|
public void setOperationDesc(String operationDesc) { |
||||
|
this.operationDesc = operationDesc; |
||||
|
} |
||||
|
|
||||
|
public Double getApproveQty() { |
||||
|
return approveQty; |
||||
|
} |
||||
|
|
||||
|
public void setApproveQty(Double approveQty) { |
||||
|
this.approveQty = approveQty; |
||||
|
} |
||||
|
|
||||
|
public String getResourceId() { |
||||
|
return resourceId; |
||||
|
} |
||||
|
|
||||
|
public void setResourceId(String resourceId) { |
||||
|
this.resourceId = resourceId; |
||||
|
} |
||||
|
|
||||
|
public String getResourceDesc() { |
||||
|
return resourceDesc; |
||||
|
} |
||||
|
|
||||
|
public void setResourceDesc(String resourceDesc) { |
||||
|
this.resourceDesc = resourceDesc; |
||||
|
} |
||||
|
|
||||
|
public String getPartNo() { |
||||
|
return partNo; |
||||
|
} |
||||
|
|
||||
|
public void setPartNo(String partNo) { |
||||
|
this.partNo = partNo; |
||||
|
} |
||||
|
|
||||
|
public String getPartDesc() { |
||||
|
return partDesc; |
||||
|
} |
||||
|
|
||||
|
public void setPartDesc(String partDesc) { |
||||
|
this.partDesc = partDesc; |
||||
|
} |
||||
|
|
||||
|
public String getInspectionRemark() { |
||||
|
return inspectionRemark; |
||||
|
} |
||||
|
|
||||
|
public void setInspectionRemark(String inspectionRemark) { |
||||
|
this.inspectionRemark = inspectionRemark; |
||||
|
} |
||||
|
|
||||
|
public Double getRollQty() { |
||||
|
return rollQty; |
||||
|
} |
||||
|
|
||||
|
public void setRollQty(Double rollQty) { |
||||
|
this.rollQty = rollQty; |
||||
|
} |
||||
|
|
||||
|
public Double getSamplingQty() { |
||||
|
return samplingQty; |
||||
|
} |
||||
|
|
||||
|
public void setSamplingQty(Double samplingQty) { |
||||
|
this.samplingQty = samplingQty; |
||||
|
} |
||||
|
|
||||
|
public String getDisposalMeasures() { |
||||
|
return disposalMeasures; |
||||
|
} |
||||
|
|
||||
|
public void setDisposalMeasures(String disposalMeasures) { |
||||
|
this.disposalMeasures = disposalMeasures; |
||||
|
} |
||||
|
|
||||
|
public String getDisposalRemark() { |
||||
|
return disposalRemark; |
||||
|
} |
||||
|
|
||||
|
public void setDisposalRemark(String disposalRemark) { |
||||
|
this.disposalRemark = disposalRemark; |
||||
|
} |
||||
|
|
||||
|
public Date getInspectorDate() { |
||||
|
return inspectorDate; |
||||
|
} |
||||
|
|
||||
|
public void setInspectorDate(Date inspectorDate) { |
||||
|
this.inspectorDate = inspectorDate; |
||||
|
} |
||||
|
|
||||
|
public String getInspectorNo() { |
||||
|
return inspectorNo; |
||||
|
} |
||||
|
|
||||
|
public void setInspectorNo(String inspectorNo) { |
||||
|
this.inspectorNo = inspectorNo; |
||||
|
} |
||||
|
|
||||
|
public String getSsrId() { |
||||
|
return ssrId; |
||||
|
} |
||||
|
|
||||
|
public void setSsrId(String ssrId) { |
||||
|
this.ssrId = ssrId; |
||||
|
} |
||||
|
|
||||
|
public Date getTaskDate() { |
||||
|
return taskDate; |
||||
|
} |
||||
|
|
||||
|
public void setTaskDate(Date taskDate) { |
||||
|
this.taskDate = taskDate; |
||||
|
} |
||||
|
|
||||
|
public String getTemplateId() { |
||||
|
return templateId; |
||||
|
} |
||||
|
|
||||
|
public void setTemplateId(String templateId) { |
||||
|
this.templateId = templateId; |
||||
|
} |
||||
|
|
||||
|
public String getAttributeNo() { |
||||
|
return attributeNo; |
||||
|
} |
||||
|
|
||||
|
public void setAttributeNo(String attributeNo) { |
||||
|
this.attributeNo = attributeNo; |
||||
|
} |
||||
|
|
||||
|
public String getAttributeType() { |
||||
|
return attributeType; |
||||
|
} |
||||
|
|
||||
|
public void setAttributeType(String attributeType) { |
||||
|
this.attributeType = attributeType; |
||||
|
} |
||||
|
|
||||
|
public String getSamplingLevelDesc() { |
||||
|
return samplingLevelDesc; |
||||
|
} |
||||
|
|
||||
|
public void setSamplingLevelDesc(String samplingLevelDesc) { |
||||
|
this.samplingLevelDesc = samplingLevelDesc; |
||||
|
} |
||||
|
|
||||
|
public String getSamplingProgrammeDesc() { |
||||
|
return samplingProgrammeDesc; |
||||
|
} |
||||
|
|
||||
|
public void setSamplingProgrammeDesc(String samplingProgrammeDesc) { |
||||
|
this.samplingProgrammeDesc = samplingProgrammeDesc; |
||||
|
} |
||||
|
|
||||
|
public String getItemNo() { |
||||
|
return itemNo; |
||||
|
} |
||||
|
|
||||
|
public void setItemNo(String itemNo) { |
||||
|
this.itemNo = itemNo; |
||||
|
} |
||||
|
|
||||
|
public String getItemDesc() { |
||||
|
return itemDesc; |
||||
|
} |
||||
|
|
||||
|
public void setItemDesc(String itemDesc) { |
||||
|
this.itemDesc = itemDesc; |
||||
|
} |
||||
|
|
||||
|
public String getObjectId() { |
||||
|
return objectId; |
||||
|
} |
||||
|
|
||||
|
public void setObjectId(String objectId) { |
||||
|
this.objectId = objectId; |
||||
|
} |
||||
|
|
||||
|
public String getObjectDesc() { |
||||
|
return objectDesc; |
||||
|
} |
||||
|
|
||||
|
public void setObjectDesc(String objectDesc) { |
||||
|
this.objectDesc = objectDesc; |
||||
|
} |
||||
|
|
||||
|
public String getDefaultValue() { |
||||
|
return defaultValue; |
||||
|
} |
||||
|
|
||||
|
public void setDefaultValue(String defaultValue) { |
||||
|
this.defaultValue = defaultValue; |
||||
|
} |
||||
|
|
||||
|
public Double getMinValue() { |
||||
|
return minValue; |
||||
|
} |
||||
|
|
||||
|
public void setMinValue(Double minValue) { |
||||
|
this.minValue = minValue; |
||||
|
} |
||||
|
|
||||
|
public Double getMaxValue() { |
||||
|
return maxValue; |
||||
|
} |
||||
|
|
||||
|
public void setMaxValue(Double maxValue) { |
||||
|
this.maxValue = maxValue; |
||||
|
} |
||||
|
|
||||
|
public Double getNumberValue() { |
||||
|
return numberValue; |
||||
|
} |
||||
|
|
||||
|
public void setNumberValue(Double numberValue) { |
||||
|
this.numberValue = numberValue; |
||||
|
} |
||||
|
|
||||
|
public String getTextValue() { |
||||
|
return textValue; |
||||
|
} |
||||
|
|
||||
|
public void setTextValue(String textValue) { |
||||
|
this.textValue = textValue; |
||||
|
} |
||||
|
|
||||
|
public Double getUnqualifiedQuantity() { |
||||
|
return unqualifiedQuantity; |
||||
|
} |
||||
|
|
||||
|
public void setUnqualifiedQuantity(Double unqualifiedQuantity) { |
||||
|
this.unqualifiedQuantity = unqualifiedQuantity; |
||||
|
} |
||||
|
|
||||
|
public String getItemResult() { |
||||
|
return itemResult; |
||||
|
} |
||||
|
|
||||
|
public void setItemResult(String itemResult) { |
||||
|
this.itemResult = itemResult; |
||||
|
} |
||||
|
} |
||||
Write
Preview
Loading…
Cancel
Save
Reference in new issue