|
|
@ -222,7 +222,7 @@
|
|
|
|
qctp.project_no projectNo
|
|
|
|
qctp.project_no projectNo
|
|
|
|
from qc_check_type_project qctp
|
|
|
|
from qc_check_type_project qctp
|
|
|
|
left join qc_check_project qct on qctp.project_id = qct.id
|
|
|
|
left join qc_check_project qct on qctp.project_id = qct.id
|
|
|
|
where qctp.type_id = 'checkTypeSCXJ' and qctp.del_flag = '0' and qct.del_flag = '0'
|
|
|
|
where qctp.type_id = 'checkTypeSCXJ' and qctp.del_flag = '0' and qct.del_flag = '0' and qctp.group_id = #{groupId}
|
|
|
|
order by qctp.sort
|
|
|
|
order by qctp.sort
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
<select id="getProjectDetail" resultType="com.op.quality.domain.QcStaticTable">
|
|
|
|
<select id="getProjectDetail" resultType="com.op.quality.domain.QcStaticTable">
|
|
|
@ -1399,5 +1399,11 @@
|
|
|
|
and CONVERT(varchar(7),qct.create_time, 120) = #{yearMonth}
|
|
|
|
and CONVERT(varchar(7),qct.create_time, 120) = #{yearMonth}
|
|
|
|
) t group by t.ymdms
|
|
|
|
) t group by t.ymdms
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
<select id="getGroupIdByOrderNo" resultType="java.lang.String">
|
|
|
|
|
|
|
|
select bp.mvgr5
|
|
|
|
|
|
|
|
from pro_order_workorder pow
|
|
|
|
|
|
|
|
left join base_product bp on bp.product_code = pow.product_code
|
|
|
|
|
|
|
|
where pow.workorder_code = #{orderNo}
|
|
|
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
</mapper>
|
|
|
|
</mapper>
|
|
|
|