From ffc84e8ad20d6734dbbfc1fb4c8533a35ba9072e Mon Sep 17 00:00:00 2001 From: Junjie <540245094@qq.com> Date: 星期一, 22 一月 2024 08:41:03 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/service/impl/WrkDetlServiceImpl.java | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 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 61db131..7ffad1f 100644 --- a/src/main/java/com/zy/asrs/service/impl/WrkDetlServiceImpl.java +++ b/src/main/java/com/zy/asrs/service/impl/WrkDetlServiceImpl.java @@ -53,4 +53,20 @@ return this.baseMapper.findByWorkNo(workNo); } + @Override + public WrkDetl devpPackNo(Integer workNo) { + WrkDetl wrkDetl=this.baseMapper.devpPackNo1(workNo); + if(Cools.isEmpty(wrkDetl)){ + return this.baseMapper.devpPackNo(workNo); + }else { + return wrkDetl; + } + + } + + @Override + public boolean updateIoTime(Integer workNo, Date ioTime) { + return this.baseMapper.updateIoTime(workNo, ioTime) > 0; + } + } -- Gitblit v1.9.1