package com.bcxin.survey.service.wechat; import com.bcxin.survey.domain.security.User; import com.bcxin.survey.domain.survey.SurveyPlan; import net.sf.json.JSONObject; import java.util.Date; import java.util.List; public interface SurveyPlanService { boolean saveOrUpdate(SurveyPlan surveyPlan); boolean delete(SurveyPlan surveyPlan); SurveyPlan findSurveyPlanByOid(long oid); List findSurveyPlanByTaskId(long taskId); JSONObject editSurveyPlan(SurveyPlan surveyPlan); List findSurveyPlanListByUserAndDate(User user, Date beginTime, Date endTime); void planListForSort(long taskId); List findSurveyPlanListBySurveyTaskId(long taskId); SurveyPlan findSurveyPlanByTaskIdAndTime(long taskId, int time); List findSurveyPlanListByFeedBackId(long feedBackId); List findSurveyPlanListByFeedBackId(Long feedbackId, Long venueId); List findSurveyPlanListByQuestionnaireId(Long questionnaireId); List findSurveyPlanBySurveyTaskId(Long surveyTaskId); }