SchoolService.java
425 Bytes
package com.gelvshi.service;
import com.gelvshi.domain.School;
import java.util.List;
public interface SchoolService {
/**
* 获取全部学校信息
* @return
*/
List<School> getAll();
/**
* 根据id查一个
* @param id
* @return
*/
School getOne(Long id);
/**
* 条件查询
* @return
*/
List<School> getByConditions(String... conditions);
}