|
|
|
@ -1292,6 +1292,7 @@ |
|
|
|
qat.RE, |
|
|
|
qt.inspection_type_no, |
|
|
|
qit.inspection_type_name, |
|
|
|
qat.ipqc_inspection_method, |
|
|
|
qt.default_sampling_quantity, |
|
|
|
qt.default_sampling_proportion, |
|
|
|
qat.sampling_level_no, |
|
|
|
@ -1373,7 +1374,8 @@ |
|
|
|
sampling_programme_no = #{samplingProgrammeNo}, |
|
|
|
AQL = #{aql,jdbcType=DECIMAL}, |
|
|
|
AC = #{ac,jdbcType=DECIMAL}, |
|
|
|
RE = #{re,jdbcType=DECIMAL} |
|
|
|
RE = #{re,jdbcType=DECIMAL}, |
|
|
|
ipqc_inspection_method = #{ipqcInspectionMethod} |
|
|
|
<where> |
|
|
|
site = #{site} and attribute_no = #{attributeNo} AND template_id = #{templateId} AND attribute_type = #{attributeType} and bu_no = #{buNo} |
|
|
|
<if test = "operation != null and operation != ''"> |
|
|
|
@ -1793,4 +1795,12 @@ |
|
|
|
AND operation_desc != #{operationDesc} |
|
|
|
</update> |
|
|
|
|
|
|
|
<!-- 查询所有工序列表 --> |
|
|
|
<select id="getAllOperationDescList" parameterType="java.util.Map" resultType="java.lang.String"> |
|
|
|
SELECT DISTINCT operationDesc |
|
|
|
FROM RoutingDetail |
|
|
|
WHERE site = #{site} |
|
|
|
ORDER BY operationDesc |
|
|
|
</select> |
|
|
|
|
|
|
|
</mapper> |