自动化立体仓库 - WMS系统
zwl
2026-03-18 ff903c90df65c6541bc1d58cc7b279890e8b9a0a
src/main/resources/mapper/MatMapper.xml
@@ -46,6 +46,7 @@
        <result column="store_min" property="storeMin" />
        <result column="store_max_date" property="storeMaxDate" />
        <result column="stock" property="stock" />
        <result column="matnr2" property="matnr2" />
    </resultMap>
    <select id="listByPage" resultMap="BaseResultMap">
@@ -67,6 +68,9 @@
        <if test="matnr != null and matnr != ''">
            and mm.matnr like concat('%',#{matnr},'%')
        </if>
        <if test="matnr2 != null and matnr2 != ''">
            and mm.matnr2 like concat('%',#{matnr2},'%')
        </if>
        <if test="maktx != null and maktx != ''">
            and mm.maktx like concat('%',#{maktx},'%')
        </if>