package market.Qms.com.service;

import java.util.List;

import market.Qms.com.vo.BaseGradeChem;
import market.Qms.common.RequestModel;
import market.Qms.common.ReturnMsg;

import com.hnshituo.basic.service.BaseService;

public interface BaseGradeChemService extends BaseService<BaseGradeChem, Object> {
	
	/**
	 *获取牌号
	 * @param chem
	 * @return
	 */
	ReturnMsg<List<BaseGradeChem>> GetGradeChem(RequestModel<BaseGradeChem> chem);
	
	/**
	 * 新增
	 * @param chem
	 * @return
	 */
	ReturnMsg<BaseGradeChem> InsertGradeChem(BaseGradeChem chem);

	
	/**
	 * 修改
	 * @param chem
	 * @return
	 */
	ReturnMsg<BaseGradeChem> UpdateGradeChem(BaseGradeChem chem);
	
	
	/**
	 * 作废或恢复
	 * @param gradeCode 牌号编码
	 * @param chemCode 化学元素
	 * @param flag
	 * @return
	 */
	ReturnMsg DelOrRenew(String deleteName,String gradeCode,String chemCode,Boolean flag);

}
