package com.qxueyou.scc.courseware.service;
|
|
import java.util.List;
|
import java.util.Map;
|
|
import com.qxueyou.scc.base.model.Result;
|
import com.qxueyou.scc.org.model.OrgCollegeCourse;
|
import com.qxueyou.scc.org.model.OrgCourseCategory;
|
import com.qxueyou.scc.org.model.Organization;
|
|
public interface ICourceCategoryService {
|
/**
|
* 查询科目list 根据条件
|
* @param hql
|
* @param args
|
* @return
|
*/
|
List<OrgCollegeCourse> queryOrgCourseList(String hql, List<Object> args);
|
|
/**
|
* 查询科目list 根据条件
|
* @param hql
|
* @param args
|
* @return
|
*/
|
List<OrgCollegeCourse> queryOrgCourseListNew(String hql, List<Object> args);
|
|
/**
|
* 查询科目类型list 根据条件
|
* @param hql
|
* @param args
|
* @return
|
*/
|
List<OrgCourseCategory> queryOrgCourseCategoryList(String hql, List<Object> args);
|
|
/**
|
* 组装 全部课程 所有查询条件
|
* @return
|
* @version 2.0
|
*/
|
Map<String,Object> generateAllCourseCondition();
|
|
Result insertLevelCategory(String id,String name,String code,String type);
|
|
Result doDeleteCate(String id);
|
|
Result doDeleteCourse(String id);
|
|
/**
|
* 新增科目
|
* @param id
|
* @param name
|
* @param code
|
* @param type
|
* @return
|
*/
|
Result addCategory(Organization org, String id, String name, String code, String type);
|
|
}
|