chenlu
2024-03-08 f38b9b10de303806a8d27734dbbf0ff8815dba49
north-glass-erp/src/main/resources/mapper/sd/BasicData.xml
@@ -8,14 +8,22 @@
            *
        from
            basic_data as a
        where a.basic_type='order'
        where a.basic_type=#{type}
    </select>
    <select id="getOrderBasicDataByTypeAndChildType">
        select
            *
        from
            basic_data as a
        where a.basic_type=#{type} and a.basic_category = #{childType}
    </select>
    <select id="getOrderBasicDataType">
        select
            a.basic_category
        from
            basic_data as a
        where a.basic_type='order'
        where a.basic_type=#{type}
        group by  a.basic_category
    </select>