|
|
@ -9,6 +9,7 @@
|
|
|
|
<result property="boxBarcode" column="box_barcode"/>
|
|
|
|
<result property="boxBarcode" column="box_barcode"/>
|
|
|
|
<result property="productionUserFlag" column="production_user_flag"/>
|
|
|
|
<result property="productionUserFlag" column="production_user_flag"/>
|
|
|
|
<result property="teamCode" column="team_code"/>
|
|
|
|
<result property="teamCode" column="team_code"/>
|
|
|
|
|
|
|
|
<result property="teamName" column="team_name"/>
|
|
|
|
<result property="applyReason" column="apply_reason"/>
|
|
|
|
<result property="applyReason" column="apply_reason"/>
|
|
|
|
<result property="applyTime" column="apply_time"/>
|
|
|
|
<result property="applyTime" column="apply_time"/>
|
|
|
|
<result property="qualityUserFlag" column="quality_user_flag"/>
|
|
|
|
<result property="qualityUserFlag" column="quality_user_flag"/>
|
|
|
@ -35,13 +36,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
<sql id="selectRecordExceptionProcessVo">
|
|
|
|
<sql id="selectRecordExceptionProcessVo">
|
|
|
|
select rep.obj_id,
|
|
|
|
select rep.obj_id,
|
|
|
|
PB.ORDER_CODE orderCode,
|
|
|
|
PB.ORDER_CODE orderCode,
|
|
|
|
BP.PRODUCT_LINE_CODE productLineCode,
|
|
|
|
BP.PRODUCT_LINE_CODE productLineCode,
|
|
|
|
BP.PRODUCT_LINE_NAME productLineName,
|
|
|
|
BP.PRODUCT_LINE_NAME productLineName,
|
|
|
|
rep.box_barcode,
|
|
|
|
rep.box_barcode,
|
|
|
|
ML.MATERIAL_SPECIFICATIONS materialModel,
|
|
|
|
ML.MATERIAL_SPECIFICATIONS materialModel,
|
|
|
|
rep.production_user_flag,
|
|
|
|
rep.production_user_flag,
|
|
|
|
rep.team_code,
|
|
|
|
rep.team_code,
|
|
|
|
|
|
|
|
bt.TEAM_NAME,
|
|
|
|
rep.apply_reason,
|
|
|
|
rep.apply_reason,
|
|
|
|
rep.apply_time,
|
|
|
|
rep.apply_time,
|
|
|
|
rep.quality_user_flag,
|
|
|
|
rep.quality_user_flag,
|
|
|
@ -65,6 +67,7 @@
|
|
|
|
left join BASE_ORDERINFO bo on bo.ORDER_CODE = pb.ORDER_CODE
|
|
|
|
left join BASE_ORDERINFO bo on bo.ORDER_CODE = pb.ORDER_CODE
|
|
|
|
left join BASE_PRODUCTLINE BP ON BP.WORK_CENTER_CODE = BO.WORK_CENTER_CODE
|
|
|
|
left join BASE_PRODUCTLINE BP ON BP.WORK_CENTER_CODE = BO.WORK_CENTER_CODE
|
|
|
|
LEFT JOIN BASE_MATERIALINFO ML ON ML.MATERIAL_CODE = PB.MATERIAL_CODE
|
|
|
|
LEFT JOIN BASE_MATERIALINFO ML ON ML.MATERIAL_CODE = PB.MATERIAL_CODE
|
|
|
|
|
|
|
|
left join BASE_TEAMMEMBERS bt on bt.TEAM_CODE = rep.TEAM_CODE
|
|
|
|
</sql>
|
|
|
|
</sql>
|
|
|
|
|
|
|
|
|
|
|
|
<select id="selectRecordExceptionProcessList" parameterType="RecordExceptionProcess"
|
|
|
|
<select id="selectRecordExceptionProcessList" parameterType="RecordExceptionProcess"
|
|
|
|