自动化立体仓库 - WMS系统
#
mrzhssss
2022-06-07 bcaac64c83b58e26b733d1b0fbf049bf02d3a58d
src/main/resources/mapper/MatMapper.xml
@@ -60,6 +60,7 @@
            group by matnr
        ) as mld on mld.matnr = mm.matnr
        WHERE 1=1
        and (mm.memo is null or mm.memo != '打包上线')
        AND (CHARINDEX(','+#{tagId}+',', ','+mt.path+',') > 0 OR mt.id = #{tagId})
        <if test="matnr != null and matnr != ''">
            and mm.matnr like concat('%',#{matnr},'%')