package cn.springmvc.dao;

import java.util.List;

import cn.springmvc.model.PriceTag;
import cn.springmvc.model.RequestParams;

public interface PriceTagDAO {

	// 添加价签
	public int insertPriceTag(PriceTag pt);
	
	// 获得所有价签
	public List<PriceTag> selectAllPriceTags();
	
	// 删除价签
	public int deletePriceTag(String id);
	
	// 更新价签
	public int updatePriceTag(PriceTag pt);
	
	// 根据商品编码更新价签
	public int updatePriceTagByGoodsNo(PriceTag pt);
	
	// 查询价签
	public List<PriceTag> selectPriceTagsByParams(RequestParams rp);
	
	// 获得单个价签
	public PriceTag selectPriceTagsById(String id);
	
	// 获得所有已删除价签
	public List<PriceTag> selectAllDeletedPriceTags();
	
	public int rollbackDeletedPriceTag(String id);
}

@@ -640,16 +640,27 @@
 gs();%0A%09%0A
+%09// %E5%A4%8D%E4%BD%8D%E5%88%A0%E9%99%A4%E4%BB%B7%E7%AD%BE%0A
 %09public 

add annotation on rollback price tag