chenlu
2024-03-12 855f1ab0148cbfc26bc365a8c46ab8b7d427c01e
north-glass-erp/target/classes/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>