From 353443bdc745d4f657581c6befb8e6f8f1c1edd9 Mon Sep 17 00:00:00 2001 From: Kelvin Date: Sun, 5 Jan 2025 16:25:34 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=8F=B0=E8=B4=A6):=20=E6=A0=B9=E6=8D=AEr?= =?UTF-8?q?fid=E6=9F=A5=E8=AF=A2=E5=8F=B0=E8=B4=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ktg/mes/md/service/IBaseKnifeService.java | 8 ++++++++ .../com/ktg/mes/md/service/impl/BaseKnifeServiceImpl.java | 5 +++++ 2 files changed, 13 insertions(+) diff --git a/ktg-mes/src/main/java/com/ktg/mes/md/service/IBaseKnifeService.java b/ktg-mes/src/main/java/com/ktg/mes/md/service/IBaseKnifeService.java index b556d74..c795c6d 100644 --- a/ktg-mes/src/main/java/com/ktg/mes/md/service/IBaseKnifeService.java +++ b/ktg-mes/src/main/java/com/ktg/mes/md/service/IBaseKnifeService.java @@ -19,6 +19,14 @@ public interface IBaseKnifeService */ public BaseKnife selectBaseKnifeByBaseKnifeId(Long baseKnifeId); + /** + * 查询工具台账 + * + * @param rfid 工具台账主键 + * @return 工具台账 包含物料基础信息 + */ + public BaseKnife selectBaseKnifeByRfid(String rfid); + /** * 查询工具台账列表 * diff --git a/ktg-mes/src/main/java/com/ktg/mes/md/service/impl/BaseKnifeServiceImpl.java b/ktg-mes/src/main/java/com/ktg/mes/md/service/impl/BaseKnifeServiceImpl.java index b424e90..277fa5d 100644 --- a/ktg-mes/src/main/java/com/ktg/mes/md/service/impl/BaseKnifeServiceImpl.java +++ b/ktg-mes/src/main/java/com/ktg/mes/md/service/impl/BaseKnifeServiceImpl.java @@ -65,6 +65,11 @@ public class BaseKnifeServiceImpl implements IBaseKnifeService { return baseKnife; } + @Override + public BaseKnife selectBaseKnifeByRfid(String rfid) { + return baseKnifeMapper.selectBaseKnifeByRfid(rfid); + } + /** * 查询工具台账列表 *