From 5317c6f53f6997e42e5bb9b72da4d8bbd6df9715 Mon Sep 17 00:00:00 2001 From: whycq <913841844@qq.com> Date: 星期四, 02 一月 2025 15:31:40 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/service/impl/WrkDetlServiceImpl.java | 8 ++++++-- 1 files changed, 6 insertions(+), 2 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 a911107..4c6cd21 100644 --- a/src/main/java/com/zy/asrs/service/impl/WrkDetlServiceImpl.java +++ b/src/main/java/com/zy/asrs/service/impl/WrkDetlServiceImpl.java @@ -24,11 +24,10 @@ @Override @Transactional - public void createWorkDetail(Integer workNo, List<DetlDto> detlDtos, String barcode, Long userId) { + public void createWorkDetail(Integer workNo, List<DetlDto> detlDtos, String barcode, Long userId, Date now) { if (detlDtos.isEmpty()){ return; } - Date now = new Date(); for (DetlDto dto : detlDtos) { Mat mat = matService.selectByMatnr(dto.getMatnr()); if (Cools.isEmpty(mat)){ @@ -80,4 +79,9 @@ public List<WrkDetl> selectPakoutQuery(Integer staNo, String matnr) { return this.baseMapper.selectPakoutQuery(staNo, matnr); } + + @Override + public boolean updateIoTime(Integer workNo, Date ioTime) { + return this.baseMapper.updateIoTime(workNo, ioTime) > 0; + } } -- Gitblit v1.9.1