package com.nis.web.dao.specific;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.nis.domain.specific.SpecificServiceCfg;
import com.nis.web.dao.CrudDao;
import com.nis.web.dao.MyBatisDao;
@MyBatisDao
public interface SpecificServiceCfgDao extends CrudDao<SpecificServiceCfg> {
/**
* 根据id查出对象
* @param specServiceId
* @return
*/
SpecificServiceCfg getBySpecServiceId(Integer specServiceId);
* 查询所有符合条件顶层分页列表
* @param specificServiceCfg
List<SpecificServiceCfg> findTopPage(SpecificServiceCfg specificServiceCfg);
* 查询所有符合条件的数据
List<SpecificServiceCfg> findAllSpecificServiceCfg(@Param("specificServiceCfg")SpecificServiceCfg specificServiceCfg,@Param("orderBy")String orderBy);
* 修改配置信息
* @param oldId
void update(@Param("specificServiceCfg")SpecificServiceCfg specificServiceCfg, @Param("oldId")Integer oldId);
* 根据specServiceId查询所有下级
List<SpecificServiceCfg> getChildrenById(Integer specServiceId);
}