|
|
|
@ -133,19 +133,19 @@
|
|
|
|
|
</select>
|
|
|
|
|
<select id="getTPByTypeGroup" resultType="com.op.quality.domain.QcCheckTaskDetail">
|
|
|
|
|
select qctp.id typeProjectId,
|
|
|
|
|
qctp.project_id projectId,
|
|
|
|
|
qctp.project_no projectNo,
|
|
|
|
|
qctp.standard_value standardValue,
|
|
|
|
|
qctp.upper_diff upperDiff,
|
|
|
|
|
qctp.down_diff downDiff,
|
|
|
|
|
qctp.sample,
|
|
|
|
|
qctp.sort,
|
|
|
|
|
qcp.rule_name ruleName,
|
|
|
|
|
qcp.property_code propertyCode,
|
|
|
|
|
qcp.check_tool checkTool,
|
|
|
|
|
qcp.unit_code unitCode,
|
|
|
|
|
qcp.check_mode checkMode
|
|
|
|
|
<!--,qcp.check_standard checkStandard-->
|
|
|
|
|
qctp.project_id projectId,
|
|
|
|
|
qctp.project_no projectNo,
|
|
|
|
|
qctp.standard_value standardValue,
|
|
|
|
|
qctp.upper_diff upperDiff,
|
|
|
|
|
qctp.down_diff downDiff,
|
|
|
|
|
qctp.sample,
|
|
|
|
|
qctp.sort,
|
|
|
|
|
qcp.rule_name ruleName,
|
|
|
|
|
qcp.property_code propertyCode,
|
|
|
|
|
qcp.check_tool checkTool,
|
|
|
|
|
qcp.unit_code unitCode,
|
|
|
|
|
qcp.check_mode checkMode
|
|
|
|
|
<!--,qcp.check_standard checkStandard-->
|
|
|
|
|
from qc_check_type_project qctp
|
|
|
|
|
left join qc_check_project qcp on qcp.id = qctp.project_id
|
|
|
|
|
where qctp.del_flag = '0' and qctp.status = '1'
|
|
|
|
@ -323,4 +323,13 @@
|
|
|
|
|
from qc_project_type
|
|
|
|
|
where del_flag = '0'
|
|
|
|
|
</select>
|
|
|
|
|
<select id="getProductGroup" resultType="com.op.quality.domain.QcProjectType">
|
|
|
|
|
select bp.product_group productGroup,
|
|
|
|
|
bp.product_group_name productGroupName,
|
|
|
|
|
qmg.id groupId
|
|
|
|
|
from base_product bp
|
|
|
|
|
left join qc_material_group qmg on qmg.group_code = bp.product_group
|
|
|
|
|
where bp.product_code = #{materialCode}
|
|
|
|
|
and bp.del_flag = '0'
|
|
|
|
|
</select>
|
|
|
|
|
</mapper>
|
|
|
|
|