feat(台账): 根据rfid查询台账信息

This commit is contained in:
Kelvin 2025-01-04 11:51:59 +08:00
parent 7a518435b4
commit 89b03eb93b
2 changed files with 21 additions and 8 deletions

View File

@ -13,12 +13,20 @@ public interface IBaseKnifeService
{ {
/** /**
* 查询工具台账 * 查询工具台账
* *
* @param baseKnifeId 工具台账主键 * @param baseKnifeId 工具台账主键
* @return 工具台账 * @return 工具台账 包含基础物料信息BOM清单
*/ */
public BaseKnife selectBaseKnifeByBaseKnifeId(Long baseKnifeId); public BaseKnife selectBaseKnifeByBaseKnifeId(Long baseKnifeId);
/**
* 查询工具台账
*
* @param rfid 工具台账主键
* @return 工具台账 包含物料基础信息
*/
public BaseKnife selectBaseKnifeByRfid(String rfid);
/** /**
* 查询工具台账列表 * 查询工具台账列表
* *

View File

@ -45,12 +45,6 @@ public class BaseKnifeServiceImpl implements IBaseKnifeService {
private final WmsBusinessTypeMapper wmsBusinessTypeMapper; private final WmsBusinessTypeMapper wmsBusinessTypeMapper;
private final WmsInPlanDetailEntityServiceImpl wmsInPlanDetailEntityService; private final WmsInPlanDetailEntityServiceImpl wmsInPlanDetailEntityService;
/**
* 查询工具台账
*
* @param baseKnifeId 工具台账主键
* @return 工具台账
*/
@Override @Override
public BaseKnife selectBaseKnifeByBaseKnifeId(Long baseKnifeId) { public BaseKnife selectBaseKnifeByBaseKnifeId(Long baseKnifeId) {
BaseKnife baseKnife = baseKnifeMapper.selectBaseKnifeByBaseKnifeId(baseKnifeId); BaseKnife baseKnife = baseKnifeMapper.selectBaseKnifeByBaseKnifeId(baseKnifeId);
@ -63,6 +57,17 @@ public class BaseKnifeServiceImpl implements IBaseKnifeService {
return baseKnife; return baseKnife;
} }
/**
* 查询工具台账
*
* @param rfid 工具台账主键
* @return 工具台账
*/
@Override
public BaseKnife selectBaseKnifeByRfid(String rfid) {
return baseKnifeMapper.selectBaseKnifeByRfid(rfid);
}
/** /**
* 查询工具台账列表 * 查询工具台账列表
* *