package cn.hnthyy.thmz.service.impl.his;

import cn.hnthyy.thmz.entity.his.YpZdManufactory;
import cn.hnthyy.thmz.mapper.his.YpZdManufactoryMapper;
import cn.hnthyy.thmz.service.his.YpZdManufactoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class YpZdManufactoryServiceImpl implements YpZdManufactoryService {

    @Autowired
    private YpZdManufactoryMapper ypZdManufactoryMapper;

    @Override
    public String queryYpZdManufactoryByCode(String code) {
        return ypZdManufactoryMapper.selectYpZdManufactoryByCode(code);
    }

    @Override
    public List<YpZdManufactory> queryYpZdManufactoryBySearchText(String searchText) {
        return ypZdManufactoryMapper.selectYpZdManufactoryBySearchText(searchText);
    }
}
