value
2024-06-03 1c683ded6a17523c47d7e1d853736562007d26bc
inspect-server/src/main/resources/mapper/InsProductMapper.xml
@@ -87,4 +87,14 @@
        where ip.ins_sample_id = #{sampleId}
          and ip.ins_result 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 ins_sample_id in
        <foreach collection="list" index="index" item="item" open="(" separator="," close=")">
            #{item}
        </foreach>
    </select>
</mapper>