guoyujie
2025-09-04 48bd9e20aa649145c9bf643e375c0cd86f7bb800
north-glass-erp/src/main/resources/mapper/mm/MaterialStore.xml
@@ -17,9 +17,26 @@
                and m.type regexp #{materialStore.type}
            </if>
        </where>
        order by m.id desc
        limit #{offset},#{pageSize};
    </select>
    <select id="getSelectMaterialStores">
        select
        *
        from
        mm.material_store m
        <where>
            <if test="materialStore.id != null and materialStore.id != ''">
                and m.id regexp #{materialStore.id}
            </if>
            <if test="materialStore.type != null and materialStore.type != ''">
                and m.type regexp #{materialStore.type}
            </if>
        </where>
        order by m.id desc
    </select>
    <select id="getSelectMaterialStoreById">
        select * from mm.material_store m where id=#{id}
    </select>