From 246c867095e2029379492b82914a4ff327344b6e Mon Sep 17 00:00:00 2001 From: lsh <lsh@163.com> Date: 星期四, 29 五月 2025 14:20:40 +0800 Subject: [PATCH] 自动补空板 --- src/main/java/com/zy/asrs/service/impl/WrkDetlServiceImpl.java | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/zy/asrs/service/impl/WrkDetlServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/WrkDetlServiceImpl.java index 32d69a1..7ffad1f 100644 --- a/src/main/java/com/zy/asrs/service/impl/WrkDetlServiceImpl.java +++ b/src/main/java/com/zy/asrs/service/impl/WrkDetlServiceImpl.java @@ -55,7 +55,13 @@ @Override public WrkDetl devpPackNo(Integer workNo) { - return this.baseMapper.devpPackNo(workNo); + WrkDetl wrkDetl=this.baseMapper.devpPackNo1(workNo); + if(Cools.isEmpty(wrkDetl)){ + return this.baseMapper.devpPackNo(workNo); + }else { + return wrkDetl; + } + } @Override -- Gitblit v1.9.1