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); + } + + /** * 查询出入库类型列表 *