update - 质检查询返修数据工位

master
wangh 10 months ago
parent 1560ee2ecb
commit 33122acb2a

@ -49,14 +49,16 @@
and IS_FLAG is null
</select>
<select id="checkSelectRepairInfo" resultMap="com.aucma.report.mapper.ReportQualityInspectionMapper.ReportQualityInspectionResult">
select OBJ_ID,
select rqi.OBJ_ID,
MATERIAL_NAME,
TEST_ITEM_CODE as STATION_CODE,
QUALITY_DEFECT_CODE,
QUALITY_DEFECT_NAME
from REPORT_QUALITY_INSPECTION
where BAR_CODE = #{code}
and IS_FLAG = 1 and IS_FLAG=1
QUALITY_DEFECT_NAME,
br.PRODUCT_LINE_NAME
from REPORT_QUALITY_INSPECTION rqi
left join BASE_PRODUCTLINE br on rqi.STATION_CODE=br.PRODUCT_LINE_CODE
where BAR_CODE =#{code}
and rqi.IS_FLAG = 1 and rqi.IS_FLAG=1 and TREATMENT_MEASURE=1
</select>
</mapper>

@ -122,7 +122,7 @@ public class ReportQualityInspection extends BaseEntity {
//新增字段
private String stationCode;
private int submitQualtyId;
private String productLineName;//pda 工位名称
/**
*
*/
@ -226,6 +226,14 @@ public class ReportQualityInspection extends BaseEntity {
return isLowerLine;
}
public String getProductLineName() {
return productLineName;
}
public void setProductLineName(String productLineName) {
this.productLineName = productLineName;
}
public void setGroupCode(String groupCode) {
this.groupCode = groupCode;
}

@ -25,6 +25,7 @@
<result property="updatedTime" column="updated_time"/>
<result property="stationCode" column="STATION_CODE"/>
<result property="submitQualtyId" column="SUBMINT_QUALTY_ID"/>
<result property="productLineName" column="PRODUCT_LINE_NAME"/>
</resultMap>
<sql id="selectReportQualityInspectionVo">

Loading…
Cancel
Save