自动化立体仓库 - WMS系统
#
zjj
2024-11-13 3c21a58543e9c343e5cb09923793f3ad7cce90a3
#
2个文件已修改
23 ■■■■■ 已修改文件
src/main/java/com/zy/asrs/entity/LocDetl.java 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/mapper/LocDetlMapper.xml 16 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/asrs/entity/LocDetl.java
@@ -289,6 +289,13 @@
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.appeTime);
    }
    public void setOwner(Integer owner) {
        if (Cools.isEmpty(owner) || owner == 0){
            this.owner = 32;
        }
        this.owner = owner;
    }
    public void sync(Object source) {
        Synchro.Copy(source, this);
    }
src/main/resources/mapper/LocDetlMapper.xml
@@ -652,14 +652,14 @@
        and b.loc_sts = 'F'
        and a.matnr = #{matnr}
        <!--        <choose>-->
        <!--            <when test="batch != null and batch != ''">-->
        <!--                and a.batch = #{batch}-->
        <!--            </when>-->
        <!--            <otherwise>-->
        <!--                and (a.batch IS NULL OR a.batch = '')-->
        <!--            </otherwise>-->
        <!--        </choose>-->
        <choose>
            <when test="batch != null and batch != ''">
                and a.batch = #{batch}
            </when>
            <otherwise>
                and (a.batch IS NULL OR a.batch = '')
            </otherwise>
        </choose>
        <choose>
            <when test="owner != null and owner !=0">