5 changed files with 295 additions and 17 deletions
-
9src/main/java/com/xujie/sys/modules/pms/data/QcReportData.java
-
3src/main/java/com/xujie/sys/modules/pms/mapper/QcReportMapper.java
-
42src/main/java/com/xujie/sys/modules/pms/service/Impl/QcReportServiceImpl.java
-
250src/main/java/com/xujie/sys/modules/report/data/QcReportOtherData.java
-
8src/main/resources/mapper/pms/QcReportMapper.xml
@ -0,0 +1,250 @@ |
|||
package com.xujie.sys.modules.report.data; |
|||
|
|||
import com.alibaba.excel.annotation.ExcelIgnore; |
|||
import com.alibaba.excel.annotation.ExcelProperty; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.xujie.sys.common.utils.QueryPage; |
|||
import lombok.Data; |
|||
import org.springframework.format.annotation.DateTimeFormat; |
|||
|
|||
import java.math.BigDecimal; |
|||
import java.util.Date; |
|||
import java.util.List; |
|||
|
|||
@Data |
|||
public class QcReportOtherData extends QueryPage { |
|||
|
|||
@ExcelProperty(index = 0, value = "状态") |
|||
private String state; |
|||
|
|||
@ExcelProperty(index = 1, value = "BU") |
|||
private String buDesc; |
|||
|
|||
@ExcelProperty(index = 2, value = "检验单号") |
|||
private String inspectionNo; |
|||
|
|||
@ExcelProperty(index = 3, value = "标签条码") |
|||
private String rollNo; |
|||
|
|||
@ExcelProperty(index = 4, value = "检验结论") |
|||
private String inspectionResult; |
|||
|
|||
@ExcelProperty(index = 5, value = "处置措施") |
|||
private String disposalMeasures; |
|||
|
|||
@ExcelProperty(index = 6, value = "检验类型") |
|||
private String inspectionTypeName; |
|||
|
|||
@ExcelProperty(index = 7, value = "送检日期") |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm") |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8") |
|||
private Date taskDate; |
|||
|
|||
@ExcelProperty(index = 8, value = "检验周期(h)") |
|||
private BigDecimal inspectionCycle; |
|||
|
|||
@ExcelProperty(index = 9, value = "工单号") |
|||
private String orderNo; |
|||
|
|||
@ExcelProperty(index = 10, value = "派工单号") |
|||
private String seqNo; |
|||
|
|||
@ExcelProperty(index = 11, value = "工序") |
|||
private String operationDesc; |
|||
|
|||
@ExcelProperty(index = 12, value = "机台") |
|||
private String resourceDesc; |
|||
|
|||
@ExcelProperty(index = 13, value = "物料编码") |
|||
private String partNo; |
|||
|
|||
@ExcelProperty(index = 14, value = "物料名称") |
|||
private String partDesc; |
|||
|
|||
@ExcelProperty(index = 15, value = "SKU") |
|||
private String sku; |
|||
|
|||
@ExcelProperty(index = 16, value = "PN") |
|||
private String cinvSourceCode; |
|||
|
|||
@ExcelProperty(index = 17, value = "物料类别") |
|||
private String invdefinetype; |
|||
|
|||
@ExcelProperty(index = 18, value = "计量单位") |
|||
private String umName; |
|||
|
|||
@ExcelProperty(index = 19, value = "送检数量") |
|||
private BigDecimal rollCount; |
|||
|
|||
@ExcelProperty(index = 20, value = "抽样数量") |
|||
private BigDecimal samplingQty; |
|||
|
|||
@ExcelProperty(index = 21, value = "质检备注") |
|||
private String inspectionRemark; |
|||
|
|||
@ExcelProperty(index = 22, value = "处置说明") |
|||
private String disposalRemark; |
|||
|
|||
@ExcelProperty(index = 23, value = "开始检验时间") |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
|||
private Date actionDate; |
|||
|
|||
@ExcelProperty(index = 24, value = "检验时间") |
|||
private String inspectorDate; |
|||
|
|||
@ExcelProperty(index = 25, value = "质检员") |
|||
private String inspectorName; |
|||
|
|||
@ExcelProperty(index = 26, value = "协同人员") |
|||
private String operatorName; |
|||
|
|||
@ExcelProperty(index = 27, value = "责任人") |
|||
private String responsiblePersonName; |
|||
|
|||
@ExcelProperty(index = 28, value = "特殊要求") |
|||
private String specialRequirements; |
|||
|
|||
@ExcelProperty(index = 29, value = "检验项目编码") |
|||
private String itemNo; |
|||
|
|||
@ExcelProperty(index = 30, value = "检验项目名称") |
|||
private String itemDesc; |
|||
|
|||
@ExcelProperty(index = 31, value = "标准值") |
|||
private String defaultValue; |
|||
|
|||
@ExcelProperty(index = 32, value = "上限值") |
|||
private BigDecimal maxValue; |
|||
|
|||
@ExcelProperty(index = 33, value = "下限值") |
|||
private BigDecimal minValue; |
|||
|
|||
@ExcelProperty(index = 34, value = "抽样数量(项目)") |
|||
private BigDecimal itemSamplingQty; |
|||
|
|||
@ExcelProperty(index = 35, value = "不合格数量(项目)") |
|||
private BigDecimal unqualifiedQuantity; |
|||
|
|||
@ExcelProperty(index = 36, value = "实测值") |
|||
private String textValue; |
|||
|
|||
@ExcelProperty(index = 37, value = "项目检验结论") |
|||
private String itemResultDesc; |
|||
|
|||
@ExcelProperty(index = 38, value = "抽样位置A") |
|||
private String samplingLocation; |
|||
|
|||
@ExcelProperty(index = 39, value = "抽样位置B") |
|||
private String samplingLocationB; |
|||
|
|||
@ExcelProperty(index = 40, value = "实测值A") |
|||
private String subDetailValue; |
|||
|
|||
@ExcelProperty(index = 41, value = "实测值B") |
|||
private String subDetailValueB; |
|||
|
|||
@ExcelProperty(index = 42, value = "实测值C") |
|||
private String subDetailValueC; |
|||
|
|||
@ExcelProperty(index = 43, value = "实测值D") |
|||
private String subDetailValueD; |
|||
|
|||
@ExcelProperty(index = 44, value = "实测值E") |
|||
private String subDetailValueE; |
|||
|
|||
@ExcelIgnore |
|||
private String site; |
|||
|
|||
@ExcelIgnore |
|||
private String buNo; |
|||
|
|||
@ExcelIgnore |
|||
private String userName; |
|||
|
|||
@ExcelIgnore |
|||
private List<String> states; |
|||
|
|||
@ExcelIgnore |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd") |
|||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
|||
private Date startDate; |
|||
|
|||
@ExcelIgnore |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd") |
|||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
|||
private Date endDate; |
|||
|
|||
@ExcelIgnore |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd") |
|||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
|||
private Date startDate2; |
|||
|
|||
@ExcelIgnore |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd") |
|||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
|||
private Date endDate2; |
|||
|
|||
@ExcelIgnore |
|||
private String umId; |
|||
|
|||
@ExcelIgnore |
|||
private BigDecimal rollQty; |
|||
|
|||
@ExcelIgnore |
|||
private String poOrderNo; |
|||
|
|||
@ExcelIgnore |
|||
private String poItemNo; |
|||
|
|||
@ExcelIgnore |
|||
private String inspectionTypeNo; |
|||
|
|||
@ExcelIgnore |
|||
private String resourceId; |
|||
|
|||
@ExcelIgnore |
|||
private String supplierNo; |
|||
|
|||
@ExcelIgnore |
|||
private String supplierDesc; |
|||
|
|||
@ExcelIgnore |
|||
private String inspectorNo; |
|||
|
|||
@ExcelIgnore |
|||
private String createBy; |
|||
|
|||
@ExcelIgnore |
|||
private String orderType; |
|||
|
|||
@ExcelIgnore |
|||
private String actionBy; |
|||
|
|||
@ExcelIgnore |
|||
private String submissionRemark; |
|||
|
|||
@ExcelIgnore |
|||
private String submissionType; |
|||
|
|||
@ExcelIgnore |
|||
private String workCenterNo; |
|||
|
|||
@ExcelIgnore |
|||
private String operator; |
|||
|
|||
@ExcelIgnore |
|||
private String responsiblePerson; |
|||
|
|||
@ExcelIgnore |
|||
private String itemResult; |
|||
|
|||
@ExcelIgnore |
|||
private Integer id; |
|||
|
|||
@ExcelIgnore |
|||
private Integer num; |
|||
|
|||
@ExcelIgnore |
|||
private String downloadType; |
|||
} |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue