|
|
|
@ -4074,14 +4074,15 @@ |
|
|
|
where site = #{site} and bu_no = #{buNo} and order_no = #{documentNo} |
|
|
|
</update> |
|
|
|
|
|
|
|
<!-- 查询过程检验待检验记录数量 --> |
|
|
|
<!-- 查询过程检验待检验记录数量(只统计首件检和自检类型) --> |
|
|
|
<select id="checkProcessInspectionPendingCount" resultType="int"> |
|
|
|
SELECT COUNT(1) |
|
|
|
FROM qc_ipqc_record |
|
|
|
WHERE site = #{site} |
|
|
|
AND order_no = #{orderNo} |
|
|
|
AND state IN ('未开始', '待检验') |
|
|
|
and seq_no = #{seqNo} |
|
|
|
AND seq_no = #{seqNo} |
|
|
|
AND inspection_type_no IN ('首件检', '自检') |
|
|
|
</select> |
|
|
|
<select id="queryResourceList3" resultType="com.gaotao.modules.pms.data.ResourceData"> |
|
|
|
select DISTINCT ResourceId,ResourceDesc from WorkCenterResource |
|
|
|
|