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

import cn.hnthyy.thmz.entity.his.YpInDetlYf;
import cn.hnthyy.thmz.mapper.his.YpInDetlYfMapper;
import cn.hnthyy.thmz.service.his.YpInDetlYfService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @description:
 * @author: WANGJIALIANG
 * @time: 2021/8/10 16:16
 */
@Service
public class YpInDetlYfServiceImpl implements YpInDetlYfService {
    @Autowired
    private YpInDetlYfMapper ypInDetlYfMapper;

    @Override
    public List<YpInDetlYf> queryYpInDetlYfPage(YpInDetlYf ypInDetlYf,Integer page,Integer rows) {
        return ypInDetlYfMapper.selectYpInDetlYf(ypInDetlYf,page,rows);
    }

    @Override
    public int countYpInDetlYf(YpInDetlYf ypInDetlYf) {
        return ypInDetlYfMapper.countYpInDetlYf(ypInDetlYf);
    }
}
