DiliServiceCoverageManager.java 1.03 KB
package com.diligrp.website.manager;

import com.diligrp.website.domain.DiliServiceCoverage;
import com.diligrp.website.util.dao.BaseQuery;
import com.diligrp.website.util.web.PageTemplate;

import java.util.List;

/**
 * <B>Description</B>  <br />
 * <B>Copyright</B> Copyright (c) 2014 www.diligrp.com All rights reserved. <br />
 * 本软件源代码版权归地利集团,未经许可不得任意复制与传播.<br />
 * <B>Company</B> 地利集团
 * @createTime 2014-6-3 11:33:00
 * @author template
 */
public interface DiliServiceCoverageManager {

    public PageTemplate find(BaseQuery bq);

    public DiliServiceCoverage findOne(Long pk);

    public Boolean save(DiliServiceCoverage diliServiceCoverage);

    public Boolean update(DiliServiceCoverage diliServiceCoverage);

    public Boolean del(Long id);

    /**
     * 根据服务获取范围
     * @param serviceId
     * @return
     */
    public List<DiliServiceCoverage> findByService(Long serviceId);
    public List<DiliServiceCoverage> findServiceByPickId(Long pickId);
}