package com.bcxin.survey.service.wechat; import com.bcxin.survey.domain.survey.Survey_Info; import com.bcxin.survey.dto.SurveyInfoDto; import com.bcxin.survey.enums.report.QuestionType; import com.bcxin.survey.enums.report.SurveyStep; import java.util.List; public interface SurveyInfoService { boolean saveOrUpdate(Survey_Info surveyInfo); boolean delete(Survey_Info surveyInfo); Survey_Info findSurveyInfoByOid(long oid); List findSurveyInfoListByQuestionnaireId(long questionnaireId); List findSurveyInfoDtoListByQuestionnaireId(long questionnaireId); List findSurveyInfoListByStep(SurveyStep surveyStep); List findSurveyInfoListByTag(String tag); List getSurveyInfoFormCMSForFix(SurveyStep surveyStep,String activityType,String addressType); Survey_Info findSurveyInfoByaid(String aid, long questionnaireId); Survey_Info findSurveyInfoByaidAndQuestionType(String aid, long questionnaireId,QuestionType questionType); List findSurveyInfoFromCMSByTags(String tags); Survey_Info findSurveyInfoByaidFormCMS(String aid); List findNextSurveyInfoListByQuestionnaireId(long questionnaireId); Survey_Info findSurveyInfoByquestionnaireIdAndQuestion(long questionnaireId, String question); List findRectificationSurveyInfosByQuestionnaireId(long questionnaireId); List findSurveyInfosByQuestionTypeAndQuestionnaireId(QuestionType questionType, long questionnaireId); }