From d1b1e26890d2d0b9270370f1de8a53cd3c181e30 Mon Sep 17 00:00:00 2001 From: LSH Date: 星期五, 26 五月 2023 13:28:37 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/service/impl/LocCheckServiceImpl.java | 30 ++++++++++++++++++++++++++++-- 1 files changed, 28 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/zy/asrs/service/impl/LocCheckServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/LocCheckServiceImpl.java index 0107e67..869719e 100644 --- a/src/main/java/com/zy/asrs/service/impl/LocCheckServiceImpl.java +++ b/src/main/java/com/zy/asrs/service/impl/LocCheckServiceImpl.java @@ -1,12 +1,38 @@ package com.zy.asrs.service.impl; +import com.zy.asrs.entity.ManLocDetl; import com.zy.asrs.mapper.LocCheckMapper; import com.zy.asrs.entity.LocCheck; import com.zy.asrs.service.LocCheckService; import com.baomidou.mybatisplus.service.impl.ServiceImpl; +import com.zy.asrs.service.ManLocDetlService; +import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; -@Service("locCheckService") -public class LocCheckServiceImpl extends ServiceImpl<LocCheckMapper, LocCheck> implements LocCheckService { +import java.util.List; +@Service("LocCheckService") +public class LocCheckServiceImpl extends ServiceImpl<LocCheckMapper, LocCheck> implements LocCheckService { + @Autowired + private ManLocDetlService manLocDetlService; + + @Override + public List<ManLocDetl> autoCreatePick() { + return this.baseMapper.getAutoLocDetl(); + } + + @Override + public List<ManLocDetl> getCountLocDetl(int count) { + return this.baseMapper.getCountLocDetl(count); + } + + @Override + public List<ManLocDetl> getMatnrCountLocDetl(int count, String matnr) { + return this.baseMapper.getMatnrCountLocDetl(count,matnr); + } + + @Override + public boolean deleteAll() { + return this.baseMapper.deleteAll(); + } } -- Gitblit v1.9.1