From dcb21dfbb8399aadfb5b2df9ba5caa0a065ea7ee Mon Sep 17 00:00:00 2001 From: 野心家 <1051256694@qq.com> Date: 星期二, 31 十二月 2024 11:05:15 +0800 Subject: [PATCH] 改版2.0: 1.自动出库200站 2.自动出空板100站 3.自动移库 --- src/main/java/com/zy/asrs/service/impl/WrkMastServiceImpl.java | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/zy/asrs/service/impl/WrkMastServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/WrkMastServiceImpl.java index 85ef4d2..374f295 100644 --- a/src/main/java/com/zy/asrs/service/impl/WrkMastServiceImpl.java +++ b/src/main/java/com/zy/asrs/service/impl/WrkMastServiceImpl.java @@ -39,4 +39,19 @@ return wrkMasts.get(0); } + @Override + public int getStoreCount(Integer crnNo) { + return selectCount(new EntityWrapper<WrkMast>().eq("crn_no", crnNo) + .last(" and (wrk_sts in (1,2) or (wrk_sts=3 and wrk_no in (select wrk_no from asr_bas_devp)))")); + } + + @Override + public int selectWrkMastBareBoardStaNo(Integer ioType,Integer staNo) { + return this.baseMapper.selectWrkMastBareBoardStaNo(ioType,staNo); + } + + @Override + public List<WrkMast> selectWrkMastWrkDetlMatnrBatch(Integer ioType,String matnr , String batch ,String grade ,Integer crnNo) { + return this.baseMapper.selectWrkMastWrkDetlMatnrBatch(ioType,matnr,batch,grade,crnNo); + } } -- Gitblit v1.9.1