guoyuji
2024-06-13 054d444182d93e1ffed8ff61e90c2e3a96a34152
north-glass-erp/src/main/resources/mapper/mm/MaterialStore.xml
@@ -20,6 +20,10 @@
        limit #{offset},#{pageSize};
    </select>
    <select id="getSelectMaterialStoreById">
        select * from mm.material_store m where id=#{id}
    </select>
    <select id="getSelectMaterialStorePageTotal">
        select
        CEILING(count(id)/#{pageSize}) as 'pageTotal',
@@ -30,7 +34,9 @@
            <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>
        limit #{offset},#{pageSize};
    </select>