package com.zhyc.module.dairyProducts.service.impl;

import com.zhyc.module.dairyProducts.domain.Ranch;
import com.zhyc.module.dairyProducts.mapper.RanchMapper;
import com.zhyc.module.dairyProducts.service.IRanchService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

@Service
public class RanchServiceImpl implements IRanchService {
    @Autowired
    private RanchMapper ranchMapper;

    @Override
    public List<Ranch> selectAllRanch() {
        return ranchMapper.selectAllRanch();
    }
}