diff --git a/ktg-mes/src/main/java/com/ktg/mes/md/mapper/BaseKnifeMapper.java b/ktg-mes/src/main/java/com/ktg/mes/md/mapper/BaseKnifeMapper.java index 77a19ea..cc8c34c 100644 --- a/ktg-mes/src/main/java/com/ktg/mes/md/mapper/BaseKnifeMapper.java +++ b/ktg-mes/src/main/java/com/ktg/mes/md/mapper/BaseKnifeMapper.java @@ -2,7 +2,6 @@ package com.ktg.mes.md.mapper; import com.ktg.mes.md.domain.BaseKnife; import com.ktg.mes.md.domain.MdItem; -import com.sun.org.apache.xpath.internal.operations.Bool; import org.apache.ibatis.annotations.Param; import java.util.List; @@ -22,6 +21,8 @@ public interface BaseKnifeMapper { */ BaseKnife selectBaseKnifeByBaseKnifeId(Long baseKnifeId); + BaseKnife selectBaseKnifeByRfid(@Param("rfId") String rfId); + /** * 查询工具台账列表 * diff --git a/ktg-mes/src/main/resources/mapper/md/BaseKnifeMapper.xml b/ktg-mes/src/main/resources/mapper/md/BaseKnifeMapper.xml index 8e04ac6..dc35990 100644 --- a/ktg-mes/src/main/resources/mapper/md/BaseKnifeMapper.xml +++ b/ktg-mes/src/main/resources/mapper/md/BaseKnifeMapper.xml @@ -264,6 +264,65 @@ where a.BASE_KNIFE_ID = #{baseKnifeId} + + insert into BASE_KNIFE