自动化立体仓库 - WMS系统
1
zhang
2025-07-09 5b8e5b46252b165d8cc3b9303c4a0227c00dbdc0
1
1个文件已修改
13 ■■■■ 已修改文件
src/main/resources/mapper/LocDetlMapper.xml 13 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/mapper/LocDetlMapper.xml
@@ -53,10 +53,10 @@
    <sql id="batchSeq">
        <choose>
            <when test="batch != null and batch != ''">
                and sku = #{batch}
                and batch = #{batch}
            </when>
            <otherwise>
                and (sku IS NULL OR sku = '')
                and (batch IS NULL OR batch = '')
            </otherwise>
        </choose>
    </sql>
@@ -75,7 +75,14 @@
        where 1=1
        and loc_no = #{locNo}
        and matnr = #{matnr}
        <include refid="batchSeq"></include>
        <choose>
            <when test="batch != null and batch != ''">
                and sku = #{batch}
            </when>
            <otherwise>
                and (sku IS NULL OR sku = '')
            </otherwise>
        </choose>
    </delete>
    <update id="updateAnfme">