DiliServiceManager.java 1.1 KB
package com.diligrp.website.manager;

import com.diligrp.website.domain.DiliService;
import com.diligrp.website.util.dao.BaseQuery;
import com.diligrp.website.util.web.PageTemplate;
import org.springframework.transaction.annotation.Transactional;

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 DiliServiceManager {

    @Transactional
    public PageTemplate find(BaseQuery bq);

    @Transactional
    public DiliService findOne(Long pk);

    public DiliService findByCode(String code);

    @Transactional
    public Boolean save(DiliService diliService, Long[] coverages);

    @Transactional
    public Boolean update(DiliService diliService, Long[] coverages);

    @Transactional
    public Boolean update(DiliService diliService);

    public Boolean del(Long id);

    public List<DiliService> findAll(BaseQuery baseQuery);
}