zouyu
2026-04-24 5355f421c7471f8ee7f1103e30229e5dbab1ea5f
basic-server/src/main/resources/mapper/StandardProductListMapper.xml
@@ -154,4 +154,19 @@
        from structure_test_object_part
        where part_no = #{partNo}
    </select>
    <select id="selectStandardProductList" resultType="com.ruoyi.basic.vo.StandardProductListVO">
        select
            spl.*,
            u1.name AS create_user_name,
            u2.name AS update_user_name
        from standard_product_list spl
        left join user u1 on u1.id = spl.create_user
        left join user u2 on u2.id = spl.update_user
        where 1=1
        and spl.standard_method_list_id = #{standardMethodListId}
        and spl.tree like concat('%',#{tree},'%')
        <if test="isDrag!=null and isDrag">
            ORDER BY spl.sort
        </if>
    </select>
</mapper>