| | |
| | | ip.inspection_item_subclass, |
| | | ip.laboratory, |
| | | ip.unit, |
| | | ipr.equip_value, |
| | | ipr.equip_name equipValue, |
| | | io.entrust_code, |
| | | ipr.update_time, |
| | | ip.ins_result, |
| | |
| | | left join user u on u.id = ipr.update_user |
| | | where ip.ins_sample_id = #{sampleId} |
| | | and ip.ins_result is not null |
| | | and template_id is not null |
| | | </select> |
| | | <select id="selectFiberInsProduct" resultType="com.yuanchu.mom.pojo.InsProduct"> |
| | | select * from ins_product |
| | | where state = 1 |
| | | and (ins_fibers_id is not null or ins_fiber_id is not null) |
| | | and ins_result is null |
| | | and son_laboratory = #{laboratory} |
| | | and ins_sample_id in |
| | | <foreach collection="ids" index="index" item="item" open="(" separator="," close=")"> |
| | | #{item} |
| | | </foreach> |
| | | </select> |
| | | </mapper> |