自动化立体仓库 - WMS系统
zc
2024-09-03 7eeac1431a999774a0bcf77c8cddf3032fdeaad8
Merge remote-tracking branch 'origin/xgmFlasrs' into xgmFlasrs
1个文件已修改
23 ■■■■■ 已修改文件
src/main/resources/mapper/LocDetlMapper.xml 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/mapper/LocDetlMapper.xml
@@ -245,20 +245,25 @@
<!--            </otherwise>-->
<!--        </choose>-->
        <if test="sPgNO != null and sPgNO != ''">
            and a.pg_no = #{sPgNO}
        </if>
<!--        <if test="batch != null and batch != ''">-->
<!--            and a.batch = #{batch}-->
<!--        </if>-->
        <choose>
            <when test="batch != null and batch != ''">
                and batch = #{batch}
            <when test="sPgNO != null and sPgNO != ''">
                and a.pg_no = #{sPgNO}
            </when>
            <otherwise>
                and (batch IS NULL OR batch = '')
                and (sPgNO IS NULL OR sPgNO = '')
            </otherwise>
        </choose>
                <if test="batch != null and batch != ''">
                    and a.batch = #{batch}
                </if>
<!--        <choose>-->
        <!--            <when test="batch != null and batch != ''">-->
        <!--                and batch = #{batch}-->
        <!--            </when>-->
        <!--            <otherwise>-->
        <!--                and (batch IS NULL OR batch = '')-->
        <!--            </otherwise>-->
        <!--        </choose>-->
<!--        <if test="orderNo != null and orderNo != ''">-->
<!--            and a.order_no = #{orderNo}-->
<!--        </if>-->