From c98d437554627a5f8a4cc85d2a8d452b0f81bd5f Mon Sep 17 00:00:00 2001 From: pang.jiabao <pang_jiabao@163.com> Date: 星期五, 20 十二月 2024 10:27:39 +0800 Subject: [PATCH] 可维护站点出入状态 --- src/main/java/com/zy/asrs/service/impl/LocDetlServiceImpl.java | 36 ++++++++++++++++++++++++++++++++++-- 1 files changed, 34 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/zy/asrs/service/impl/LocDetlServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/LocDetlServiceImpl.java index 506b3cb..941de5a 100644 --- a/src/main/java/com/zy/asrs/service/impl/LocDetlServiceImpl.java +++ b/src/main/java/com/zy/asrs/service/impl/LocDetlServiceImpl.java @@ -9,6 +9,7 @@ import org.springframework.stereotype.Service; import java.util.List; +import java.util.Map; import java.util.Set; @Service("locDetlService") @@ -82,8 +83,23 @@ } @Override - public List<LocDetl> queryStock(String matnr, String batch, String orderNo, Set<String> locNos) { - return this.baseMapper.queryStock(matnr, batch, orderNo, locNos); + public List<LocDetl> queryStock(String matnr, String batch, String orderNo, Set<String> locNos,String supp) { + return this.baseMapper.queryStock(matnr, batch, orderNo, locNos,supp); + } + + @Override + public List<LocDetl> queryStockCrn(String matnr, String batch, String orderNo, Set<String> locNos,String supp) { + return this.baseMapper.queryStockCrn(matnr, batch, orderNo, locNos,supp); + } + + @Override + public List<LocDetl> queryStockFour(String matnr, String batch, String orderNo, Set<String> locNos,String supp) { + return this.baseMapper.queryStockFour(matnr, batch, orderNo, locNos,supp); + } + + @Override + public List<LocDetl> queryStockMinAnfme(String matnr, String batch, String orderNo, Set<String> locNos,String supp) { + return this.baseMapper.queryStockMinAnfme(matnr, batch, orderNo, locNos,supp); } @Override @@ -126,4 +142,20 @@ public void updateMatTurn(String matnrOld,String matnr){ this.baseMapper.updateMatTurn(matnrOld,matnr); } + + @Override + public List<Map<String, Object>> selectLocDetlUnilateralMoveShuttleMap(Integer crnNo) { + if (crnNo==1){ + return this.baseMapper.selectLocDetlUnilateralMoveShuttleMapY(crnNo); + } + return this.baseMapper.selectLocDetlUnilateralMoveShuttleMapN(crnNo); + } + + @Override + public List<LocDetl> selectLocDetlUnilateralMoveShuttle(String matnr,String batch,String grade,Integer crnNo) { + if (crnNo==1){ + return this.baseMapper.selectLocDetlUnilateralMoveShuttleY(matnr,batch,grade); + } + return this.baseMapper.selectLocDetlUnilateralMoveShuttleN(matnr,batch,grade); + } } -- Gitblit v1.9.1