package com.chinaweal.aiccs.aiccs.annual.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.chinaweal.aiccs.aiccs.annual.entity.AnnualDissentInfo;
import com.chinaweal.aiccs.aiccs.annual.entity.dto.AnnualDissentDetailDto;
import com.chinaweal.aiccs.aiccs.annual.mapper.AnnualDissentInfoMapper;
import com.chinaweal.aiccs.aiccs.annual.service.AnnualDissentInfoService;
import com.chinaweal.youfool.framework.springboot.mybatis.plus.BaseServiceImpl;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * <p>
 * 公示异议记录表 服务实现类
 * </p>
 *
 * @author <a href="https://blog.lroyia.top">lroyia</a>
 * @since 2021-04-12
 */
@Service
public class AnnualDissentInfoServiceImpl extends BaseServiceImpl<AnnualDissentInfoMapper, AnnualDissentInfo> implements AnnualDissentInfoService {

    @Override
    public IPage<AnnualDissentDetailDto> getAnnualDissentDetailPage(IPage<AnnualDissentDetailDto> page, Map<String, Object> params) {
        return baseMapper.selectAnnualDissentDetailPage(page, params);
    }

    @Override
    public AnnualDissentDetailDto getAnnualDissentDetailById(String id) {
        return baseMapper.selectAnnualDissentDetailById(id);
    }
}
