From 3f5d4992b253716d7ccb6f5ceacb5292f780b429 Mon Sep 17 00:00:00 2001 From: Kelvin Date: Sun, 5 Jan 2025 20:30:37 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=87=BA=E5=85=A5=E5=BA=93=E8=AE=A1?= =?UTF-8?q?=E5=88=92=E7=B1=BB=E5=9E=8B):=20=E5=A2=9E=E5=8A=A0=E6=A0=B9?= =?UTF-8?q?=E6=8D=AE=E7=B1=BB=E5=9E=8B=E7=BC=96=E7=A0=81=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=EF=BC=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ktg/mes/md/service/IWmsBusinessTypeService.java | 8 ++++++++ .../md/service/impl/WmsBusinessTypeServiceImpl.java | 12 ++++++++++++ 2 files changed, 20 insertions(+) diff --git a/ktg-mes/src/main/java/com/ktg/mes/md/service/IWmsBusinessTypeService.java b/ktg-mes/src/main/java/com/ktg/mes/md/service/IWmsBusinessTypeService.java index b9f18a7..0e04965 100644 --- a/ktg-mes/src/main/java/com/ktg/mes/md/service/IWmsBusinessTypeService.java +++ b/ktg-mes/src/main/java/com/ktg/mes/md/service/IWmsBusinessTypeService.java @@ -19,6 +19,14 @@ public interface IWmsBusinessTypeService */ public WmsBusinessType selectWmsBusinessTypeByTypeId(String typeId); + /** + * 查询出入库类型 + * + * @param code 出入库类型编码 + * @return 出入库类型 + */ + public WmsBusinessType selectWmsBusinessTypeByCode(String code); + /** * 查询出入库类型列表 * diff --git a/ktg-mes/src/main/java/com/ktg/mes/md/service/impl/WmsBusinessTypeServiceImpl.java b/ktg-mes/src/main/java/com/ktg/mes/md/service/impl/WmsBusinessTypeServiceImpl.java index 04848df..2e8f6b4 100644 --- a/ktg-mes/src/main/java/com/ktg/mes/md/service/impl/WmsBusinessTypeServiceImpl.java +++ b/ktg-mes/src/main/java/com/ktg/mes/md/service/impl/WmsBusinessTypeServiceImpl.java @@ -32,6 +32,18 @@ public class WmsBusinessTypeServiceImpl implements IWmsBusinessTypeService return wmsBusinessTypeMapper.selectWmsBusinessTypeByTypeId(typeId); } + /** + * 查询出入库类型 + * + * @param code 出入库类型编码 + * @return 出入库类型 + */ + @Override + public WmsBusinessType selectWmsBusinessTypeByCode(String code) { + return wmsBusinessTypeMapper.selectWmsBusinessTypeByCode(code); + } + + /** * 查询出入库类型列表 *