自动化立体仓库 - WMS系统
skyouc
2026-01-15 f8158a3dee678624cd9044bcdc9a8d10c3a8f4ae
src/main/resources/mapper/LocDetlMapper.xml
@@ -128,22 +128,22 @@
<!--                and (a.batch IS NULL OR a.batch = '')-->
<!--            </otherwise>-->
        </choose>
        <choose>
            <when test="brand != null and brand != ''">
                and a.brand = #{brand}
            </when>
<!--        <choose>-->
<!--            <when test="brand != null and brand != ''">-->
<!--                and a.brand = #{brand}-->
<!--            </when>-->
<!--&lt;!&ndash;            <otherwise>&ndash;&gt;-->
<!--&lt;!&ndash;                and (a.brand IS NULL OR a.brand = '')&ndash;&gt;-->
<!--&lt;!&ndash;            </otherwise>&ndash;&gt;-->
<!--        </choose>-->
<!--        <choose>-->
<!--            <when test="standby1 != null and standby1 != ''">-->
<!--                and a.standby1 = #{standby1}-->
<!--            </when>-->
<!--            <otherwise>-->
<!--                and (a.brand IS NULL OR a.brand = '')-->
<!--                and (a.standby1 IS NULL OR a.standby1 = '')-->
<!--            </otherwise>-->
        </choose>
        <choose>
            <when test="standby1 != null and standby1 != ''">
                and a.standby1 = #{standby1}
            </when>
            <otherwise>
                and (a.standby1 IS NULL OR a.standby1 = '')
            </otherwise>
        </choose>
<!--        </choose>-->
        <choose>
            <when test="standby2 != null and standby2 != ''">
                and a.standby2 = #{standby2}