自动化立体仓库 - WMS系统
pang.jiabao
2025-09-03 e7d8e2c64facfa261e8b168b84e81ef6c835f57d
src/main/resources/mapper/MatMapper.xml
@@ -96,6 +96,10 @@
        <if test="specs != null and specs != ''">
            and mm.specs like concat('%',#{specs},'%')
        </if>
        <if test="model != null and model != ''">
            and mm.model like concat('%',#{model},'%')
        </if>
        ORDER BY mm.create_time DESC
    </select>
@@ -141,4 +145,10 @@
            and a.matnr = #{matnr}
        </if>
    </select>
    <select id="getTagIdByMatnr" resultType="java.lang.Integer">
        select tag_id
        from man_mat
        where matnr = #{matnr}
    </select>
</mapper>