WharfService.java 1.0 KB
/**
 * 
 */
package com.thinkgem.jeesite.modules.yard.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.yard.entity.Wharf;
import com.thinkgem.jeesite.modules.yard.dao.WharfDao;

/**
 * 码头管理Service
 * @author promise
 * @version 2018-09-29
 */
@Service
@Transactional(readOnly = true)
public class WharfService extends CrudService<WharfDao, Wharf> {

	public Wharf get(String id) {
		return super.get(id);
	}
	
	public List<Wharf> findList(Wharf wharf) {
		return super.findList(wharf);
	}
	
	public Page<Wharf> findPage(Page<Wharf> page, Wharf wharf) {
		return super.findPage(page, wharf);
	}
	
	@Transactional(readOnly = false)
	public void save(Wharf wharf) {
		super.save(wharf);
	}
	
	@Transactional(readOnly = false)
	public void delete(Wharf wharf) {
		super.delete(wharf);
	}
	
}