From 4e9991c5dfcbc6124692c12c1dce9a0a87885ad1 Mon Sep 17 00:00:00 2001 From: zhangc <zc@123> Date: 星期二, 03 十二月 2024 16:59:03 +0800 Subject: [PATCH] 修改数量类型为Double并优化订单处理逻辑 --- 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 e107f79..196874a 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)){ @@ -75,4 +74,9 @@ public boolean updateInspect(Integer wrkNo, String matnr, String batch) { return this.baseMapper.updateInspect(wrkNo, matnr, batch) > 0; } + + @Override + public List<WrkDetl> selectPakoutQuery(Integer staNo, String matnr) { + return this.baseMapper.selectPakoutQuery(staNo, matnr); + } } -- Gitblit v1.9.1