|
|
|
@ -322,12 +322,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
</select>
|
|
|
|
|
<select id="getCkeckDefectList" resultType="com.op.quality.domain.QcCheckTaskDefect">
|
|
|
|
|
select
|
|
|
|
|
record_id recordId,
|
|
|
|
|
defect_code defectCode,
|
|
|
|
|
defect_subclass defectSubclass,
|
|
|
|
|
noOk_quality noOkQuality
|
|
|
|
|
from qc_check_task_defect
|
|
|
|
|
where del_flag = '0' and belong_to = #{belongTo}
|
|
|
|
|
qctd.record_id recordId,
|
|
|
|
|
qdt.defect_code defectCode,
|
|
|
|
|
qdt.defect_subclass defectSubclass,
|
|
|
|
|
qctd.noOk_quality noOkQuality
|
|
|
|
|
from qc_defect_type qdt
|
|
|
|
|
left join qc_check_task_defect qctd on qdt.defect_code = qctd.defect_code
|
|
|
|
|
and qctd.del_flag = '0'
|
|
|
|
|
and qctd.belong_to = #{belongTo}
|
|
|
|
|
where qdt.defect_type = #{checkType}
|
|
|
|
|
</select>
|
|
|
|
|
<insert id="addCheckUsers">
|
|
|
|
|
insert into qc_check_task_user(
|
|
|
|
|