value
2024-06-20 a680563f53b7b5db7507dd0ff6027f724567ea2b
inspect-server/src/main/resources/mapper/StandardTreeMapper.xml
@@ -275,5 +275,14 @@
        <if test="itemChild != null and itemChild != ''">
            and inspection_item_subclass = #{itemChild}
        </if>
        <if test="itemChild == null or itemChild == ''">
            and (inspection_item_subclass is null or inspection_item_subclass = '')
        </if>
    </select>
    <select id="selectPList" resultType="com.yuanchu.mom.dto.ProductDto">
        select p.name from structure_test_object sto
        left join product p on p.object_id = sto.id
        where sto.specimen_name = #{name}
        order by p.id
    </select>
</mapper>