guoyujie
2 天以前 1da4e70b2972e1ab77fa75ad0da529a006150ab5
north-glass-erp/src/main/resources/mapper/sd/ProductDetailMapper.xml
@@ -25,4 +25,18 @@
                )
        </foreach>
    </insert>
    <select id="getGlassNameByGroup">
    SELECT GROUP_CONCAT(detail SEPARATOR '+')
    from sd.product_detail
    where prod_id = #{productId}
      and glass_sort >= #{minTechnologyNumberByGroup}
      and glass_sort &gt;= #{minTechnologyNumberByGroup}
    </select>
    <select id="getGlassName">
        SELECT GROUP_CONCAT(detail SEPARATOR '+')
        from sd.product_detail
        where prod_id = #{productId} and detail_type='glass'
    </select>
</mapper>