package com.qxueyou.scc.school.service;
|
|
import java.util.List;
|
import java.util.Map;
|
|
import com.qxueyou.scc.base.model.Result;
|
import com.qxueyou.scc.school.model.InteractResultData;
|
|
public interface IInteractService {
|
|
/**
|
* ÐÂÔö»¥¶¯
|
* @param sign
|
* @return
|
*/
|
public abstract Result insertInteract(String interactName, String exerciseTime);
|
|
|
/**
|
* ɾ³ý»¥¶¯
|
* @param intractIds »¥¶¯id
|
* @return
|
*/
|
public abstract Result deleteInteracts(String[] intractIds);
|
|
/**
|
* Æô¶¯»¥¶¯
|
* @param intractIds »¥¶¯id
|
* @return
|
*/
|
public abstract Result doStartInteracts(String[] interactIds);
|
|
/**
|
* Í£Ö¹»¥¶¯
|
* @param intractIds »¥¶¯id
|
* @return
|
*/
|
public abstract Result doStopInteracts(String[] interactIds);
|
|
|
/**
|
* ²Ù×÷»¥¶¯Á·Ï°´ð°¸¼Ç¼
|
* @return
|
*/
|
public abstract Result doOperInteractExerciseAnswer(String interactGroupId,
|
String exerciseId, String answers, byte corrects,String currTitleNumber);
|
|
/**
|
* ²Ù×÷»¥¶¯Á·Ï°´ð°¸¼Ç¼
|
* @return
|
*/
|
public abstract Result doOperInteractExerciseAnswerNew(InteractResultData resultData);
|
|
/**
|
* ²Ù×÷»¥¶¯Á·Ï°´ð°¸¼Ç¼
|
* @return
|
*/
|
public abstract Result doSubmitInteractResult(String interactGroupId);
|
|
/**
|
* ²éѯ»¥¶¯Á·Ï°½á¹û
|
* @param hql
|
* @param args
|
* @return
|
*/
|
public List<Map<String, Object>> queryResultByInteractExer(String hql, List<Object> args);
|
|
/**
|
* ²éѯ»¥¶¯Á·Ï°½á¹û
|
* @param hql
|
* @param args
|
* @return
|
*/
|
public abstract List<Map<String, Object>> queryResultByInteract(String hql, List<Object> args) ;
|
|
|
}
|