自动化立体仓库 - WMS系统
#
zjj
2024-11-14 277ce0556ebe4bd91af10f3e4e8b69bab78947d7
src/main/resources/mapper/LocDetlMapper.xml
@@ -148,14 +148,14 @@
        left join asr_loc_mast_man_node_merge b on a.loc_no = b.loc_no
        where 1=1
        and b.loc_sts = 'F'
        <choose>
            <when test="owner != null and owner != 0">
                and owner = #{owner}
            </when>
            <otherwise>
                and 1!=1
            </otherwise>
        </choose>
<!--        <choose>-->
<!--            <when test="owner != null and owner != 0">-->
<!--                and owner = #{owner}-->
<!--            </when>-->
<!--            <otherwise>-->
<!--                and 1!=1-->
<!--            </otherwise>-->
<!--        </choose>-->
<!--        <choose>-->
<!--            <when test="payment != null and payment != 0">-->
<!--                and payment = #{payment}-->
@@ -175,14 +175,14 @@
        left join asr_loc_mast_man_node_merge b on a.loc_no = b.loc_no
        where 1=1
        and b.loc_sts = 'F'
        <choose>
            <when test="owner != null and owner != 0">
                and owner = #{owner}
            </when>
            <otherwise>
                and 1!=1
            </otherwise>
        </choose>
<!--        <choose>-->
<!--            <when test="owner != null and owner != 0">-->
<!--                and owner = #{owner}-->
<!--            </when>-->
<!--            <otherwise>-->
<!--                and 1!=1-->
<!--            </otherwise>-->
<!--        </choose>-->
<!--        <choose>-->
<!--            <when test="payment != null and payment != 0">-->
<!--                and payment = #{payment}-->
@@ -278,14 +278,14 @@
<!--            </otherwise>-->
<!--        </choose>-->
        <choose>
            <when test="owner != null and owner !=0">
                and a.owner = #{owner}
            </when>
            <otherwise>
                and 1!=1
            </otherwise>
        </choose>
<!--        <choose>-->
<!--            <when test="owner != null and owner !=0">-->
<!--                and a.owner = #{owner}-->
<!--            </when>-->
<!--            <otherwise>-->
<!--                and 1!=1-->
<!--            </otherwise>-->
<!--        </choose>-->
        order by
        DATEPART(yyyy,a.modi_time),DATEPART(mm,a.modi_time),DATEPART(dd,a.modi_time), a.anfme
@@ -448,14 +448,14 @@
        <!--            </otherwise>-->
        <!--        </choose>-->
        <choose>
            <when test="owner != null and owner !=0">
                and a.owner = #{owner}
            </when>
            <otherwise>
                and 1!=1
            </otherwise>
        </choose>
<!--        <choose>-->
<!--            <when test="owner != null and owner !=0">-->
<!--                and a.owner = #{owner}-->
<!--            </when>-->
<!--            <otherwise>-->
<!--                and 1!=1-->
<!--            </otherwise>-->
<!--        </choose>-->
        order by
        a.manu,DATEPART(yyyy,a.modi_time),DATEPART(mm,a.modi_time),DATEPART(dd,a.modi_time), a.anfme
@@ -661,14 +661,14 @@
            </otherwise>
        </choose>
        <choose>
            <when test="owner != null and owner !=0">
                and a.owner = #{owner}
            </when>
            <otherwise>
                and 1!=1
            </otherwise>
        </choose>
<!--        <choose>-->
<!--            <when test="owner != null and owner !=0">-->
<!--                and a.owner = #{owner}-->
<!--            </when>-->
<!--            <otherwise>-->
<!--                and 1!=1-->
<!--            </otherwise>-->
<!--        </choose>-->
        order by
        a.manu,DATEPART(yyyy,a.modi_time),DATEPART(mm,a.modi_time),DATEPART(dd,a.modi_time), a.anfme