自动化立体仓库 - WMS系统
Junjie
2024-05-31 7153ce9e235102c07830c7160fd36fd8f9e0ca6a
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="matnr != null and matnr != ''">
            and mm.matnr2 like concat('%',#{matnr2},'%')
        </if>
        <if test="maktx != null and maktx != ''">
            and mm.maktx like concat('%',#{maktx},'%')
        </if>