package com.yd.dal.service.survey;

import com.yd.dal.entity.survey.SurveyCustomerAnswers;
import com.yd.dal.mapper.survey.SurveyCustomerAnswersMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service("surveyCustomerAnswersDALService")
public class SurveyCustomerAnswersDALServiceImpl implements SurveyCustomerAnswersDALService{
    @Resource
    private SurveyCustomerAnswersMapper surveyCustomerAnswersMapper;

    @Override
    public List<SurveyCustomerAnswers> findByObjGroupByOrderBy(SurveyCustomerAnswers surveyCustomerAnswersQuery, String groupBy, String orderBy) {
        return surveyCustomerAnswersMapper.findByObjGroupByOrderBy(surveyCustomerAnswersQuery, groupBy, orderBy);
    }
}
