| | |
| | | left join ins_product ip on isa.id = ip.ins_sample_id |
| | | left join ins_product_result ipr on ip.id = ipr.ins_product_id |
| | | where ins_order_id = #{id} |
| | | and template_id is not null |
| | | and ip.standard_method_list_id is not null |
| | | and state = 1 |
| | | </select> |
| | | |
| | |
| | | and ip.son_laboratory = #{laboratory} |
| | | and ins_fiber_id is null |
| | | and ins_fibers_id is null |
| | | and standard_method_list_id is not null |
| | | </select> |
| | | <select id="getInsProduct2" resultMap="product"> |
| | | select ip.id ip_id, |
| | |
| | | where ins_fibers_id = #{id} |
| | | and state = 1 |
| | | and ins_fiber_id is null |
| | | and standard_method_list_id is not null |
| | | </select> |
| | | <select id="getInsProduct3" resultMap="product"> |
| | | select ip.id ip_id, |
| | |
| | | where ins_fiber_id = #{id} |
| | | and state = 1 |
| | | and ins_fibers_id is null |
| | | and standard_method_list_id is not null |
| | | </select> |
| | | <select id="getReportModel" resultType="java.util.Map"> |
| | | </select> |