|
|
|
@ -1,13 +1,11 @@
|
|
|
|
package com.aucma.report.service.impl;
|
|
|
|
package com.aucma.report.service.impl;
|
|
|
|
|
|
|
|
|
|
|
|
import java.util.ArrayList;
|
|
|
|
|
|
|
|
import java.util.HashMap;
|
|
|
|
import java.util.HashMap;
|
|
|
|
import java.util.List;
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
|
|
import com.aucma.base.domain.BaseProductLine;
|
|
|
|
import com.aucma.base.domain.BaseProductLine;
|
|
|
|
import com.aucma.base.service.IBaseProductLineService;
|
|
|
|
import com.aucma.base.service.IBaseProductLineService;
|
|
|
|
import com.aucma.common.utils.StringUtils;
|
|
|
|
import com.aucma.common.utils.StringUtils;
|
|
|
|
import com.aucma.report.domain.BoxTemperatureHistory;
|
|
|
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
import com.aucma.report.mapper.ReportQualityInspectionMapper;
|
|
|
|
import com.aucma.report.mapper.ReportQualityInspectionMapper;
|
|
|
|
@ -114,11 +112,16 @@ public class ReportQualityInspectionServiceImpl implements IReportQualityInspect
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 箱体码查电检数据
|
|
|
|
* 箱体码查电检数据
|
|
|
|
* @param barcode
|
|
|
|
* @param barcode
|
|
|
|
|
|
|
|
* @param productLineCode
|
|
|
|
* @return
|
|
|
|
* @return
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public ReportQualityInspection selectReportQualityInspectionByBarcode(String barcode) {
|
|
|
|
public ReportQualityInspection selectReportQualityInspectionByBarcode(String barcode, String productLineCode) {
|
|
|
|
|
|
|
|
if (productLineCode.equals("CX_02")){
|
|
|
|
return reportQualityInspectionMapper.selectReportQualityInspectionByBarcode(barcode);
|
|
|
|
return reportQualityInspectionMapper.selectReportQualityInspectionByBarcode(barcode);
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
return reportQualityInspectionMapper.selectOneReportQualityInspectionByBarcode(barcode);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
|