自动化立体仓库 - WMS系统
Junjie
2023-05-13 8c3714822ea0223ae42bd5c08dbbc872fffee9d5
src/main/java/com/zy/asrs/service/impl/DocTypeServiceImpl.java
@@ -19,7 +19,13 @@
        if (Cools.isEmpty(docName)) {
            return null;
        }
        DocType docType = this.selectById(docName);
        DocType docType = null;
        try {
            docType = this.selectById(docName);
        } catch (Exception ignore) {}
        if (docType == null) {
            docType = this.selectOne(new EntityWrapper<DocType>().eq("doc_name", docName));
        }
        if (docType == null) {
            long docId = 1L;
            DocType last = this.selectOne(new EntityWrapper<DocType>().orderBy("doc_id", false));