package com.rrtx.services.api.consult.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.rrtx.fap.starter.mybatis.plus.entity.QueryRequest;
import com.rrtx.fap.starter.mybatis.plus.service.impl.BaseServiceImpl;
import com.rrtx.services.api.consult.mapper.ConsultMapper;
import com.rrtx.services.api.consult.service.IConsultService;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

/**
 * ClassName: IDeptService<br>
 * Description: IDeptService <br>
 * Company: rrtx
 *
 * @author rrtx
 * @version v1.0.0    2019/7/24 5:16 PM  xugz    文件初始创建
 */
@Service
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true, rollbackFor = Exception.class)
public class ConsultServiceImpl extends BaseServiceImpl<ConsultMapper, Map> implements IConsultService {

	@Override
	public List<Map> queryConsult(Map map) {
		return this.baseMapper.queryConsult(map);

	}

}
