|
|
|
@ -5,7 +5,7 @@ import com.ibeetl.jlw.web.query.CourseInfoQuery;
|
|
|
|
|
import org.beetl.sql.core.engine.PageQuery;
|
|
|
|
|
import org.beetl.sql.mapper.BaseMapper;
|
|
|
|
|
import org.beetl.sql.mapper.annotation.SqlResource;
|
|
|
|
|
import org.springframework.stereotype.Repository;
|
|
|
|
|
import org.beetl.sql.mapper.annotation.Update;
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
@ -14,9 +14,9 @@ import java.util.List;
|
|
|
|
|
* CourseInfo Dao
|
|
|
|
|
*/
|
|
|
|
|
@SqlResource("jlw.courseInfo")
|
|
|
|
|
@Repository
|
|
|
|
|
public interface CourseInfoDao extends BaseMapper<CourseInfo>{
|
|
|
|
|
public PageQuery<CourseInfo> queryByCondition(PageQuery query);
|
|
|
|
|
@Update
|
|
|
|
|
public void deleteCourseInfoByIds(String ids);
|
|
|
|
|
public CourseInfo getById(Long courseInfoId);
|
|
|
|
|
public List<CourseInfo> getCourseInfoValues(CourseInfoQuery courseInfoQuery);
|
|
|
|
@ -26,15 +26,24 @@ public interface CourseInfoDao extends BaseMapper<CourseInfo>{
|
|
|
|
|
|
|
|
|
|
public List<CourseInfo> getByParams(String courseLabelTypes,String cQuestionIds,String eQuestionIds,Long resourcesApplicationId,Long competitionId,Long examId,Integer type);
|
|
|
|
|
|
|
|
|
|
@Update
|
|
|
|
|
public int updateResourcesCompetitionIdsByIds(String courseInfoIds);
|
|
|
|
|
@Update
|
|
|
|
|
public int updateResourcesQuestionIdsByIds(String courseInfoIds);
|
|
|
|
|
@Update
|
|
|
|
|
public int updateResourcesTrainingIdsByIds(String courseInfoIds);
|
|
|
|
|
@Update
|
|
|
|
|
|
|
|
|
|
public int updateResourcesCompetitionIdsById(CourseInfo courseInfo);
|
|
|
|
|
@Update
|
|
|
|
|
public int updateResourcesQuestionIdsById(CourseInfo courseInfo);
|
|
|
|
|
@Update
|
|
|
|
|
public int updateResourcesTrainingIdsById(CourseInfo courseInfo);
|
|
|
|
|
@Update
|
|
|
|
|
public int updateVideoIdById(CourseInfo courseInfo);
|
|
|
|
|
@Update
|
|
|
|
|
public int updateCoursewareIdById(CourseInfo courseInfo);
|
|
|
|
|
@Update
|
|
|
|
|
public int updateEnclosureIdsById(CourseInfo courseInfo);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|