package com.tamguo.admin.service;

import java.util.List;

import com.alibaba.fastjson.JSONArray;
import com.baomidou.mybatisplus.plugins.Page;
import com.tamguo.admin.model.SubjectEntity;

public interface ISubjectService {

	public SubjectEntity find(String uid);
	
	public Page<SubjectEntity> list(String name , Integer pageNum , Integer pageSize);

	public void update(SubjectEntity subject);

	public void save(SubjectEntity subject);

	public void deleteBatch(String[] subjectIds);

	public List<SubjectEntity> getSubjectTree();
	
	public JSONArray getCourseTree();
	
}
