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);
|
|
}
|