| | |
| | | select t1.* from quality_test_standard_param t1 |
| | | left join quality_test_standard t2 on t1.test_standard_id = t2.id |
| | | left join quality_test_standard_binding t3 on t2.id = t3.test_standard_id |
| | | where product_id = #{productId} |
| | | where t3.product_id = #{productId} |
| | | </select> |
| | | <select id="selectParameterItemByProcessOrCategory" |
| | | resultType="com.ruoyi.quality.pojo.QualityTestStandardParam"> |
| | | select * |
| | | from quality_test_standard qts |
| | | left join quality_test_standard_param qtsp on qts.id = qtsp.test_standard_id |
| | | where qts.process_id = #{id} |
| | | and qts.inspect_type = #{inspectType} |
| | | </select> |
| | | |
| | | </mapper> |