package com.openhis.administration.mapper;

import com.openhis.medication.dto.AdjustPriceMedListDto;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.openhis.administration.domain.DeviceDefinition;

import java.util.List;

/**
 * 器材定义管理Mapper接口
 *
 * @author system
 * @date 2025-02-20
 */
@Repository
public interface DeviceDefinitionMapper extends BaseMapper<DeviceDefinition> {
    /** 根据关键字查询 如果关键字为空，查询10条，否则返回查询到的所有
     * Desc:
     * @param keyWord
     * @Author raymond
     * @Date 20:23 2025/10/21
     * @return java.util.List<com.openhis.medication.dto.AdjustPriceMedListDto>
     **/
    List<AdjustPriceMedListDto> searchDeviceListByKeyWord(@Param("keyWord") String keyWord);

}