package market.Pms.Order.mapper;
import java.util.List;

import market.Pms.Order.vo.PurOrderClauseD;
import market.Pms.Order.vo.PurOrderM;

import com.hnshituo.orm.GenericMapper;

public interface PurOrderClauseDMapper extends GenericMapper<PurOrderClauseD,Object> {

	// 合同条款主键
	String getNo(String string);

	long doQueryCount(PurOrderM queryCls);

	List<PurOrderClauseD> doQuery(PurOrderM queryCls, int i, int j);
	
	// 合同条款根据合同号删除，判断匹配模板序号删除
	void deleteOClause(String CONTRACT_PK, String MODE_CODE);
}
