package market.Qms.com.service;

import java.util.List;

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

import com.hnshituo.basic.service.BaseService;

public interface BaseDeliverystateService extends BaseService<BaseDeliverystate, String> {

	/**
	 *获取交货状态
	 * @param deliveryStateCode
	 * @return
	 */
	ReturnMsg<List<BaseDeliverystate>> GetDeliveryState(RequestModel<BaseDeliverystate> delivery);
	
	/**
	 * 保存交货状态
	 * @param delivery
	 * @return
	 */
//	ReturnMsg<BaseDeliverystate> SaveDeliveryState(BaseDeliverystate delivery);
	
	/**
	 * 作废或恢复
	 * @param deliveryStateCode
	 * @param flag
	 * @return
	 */
	ReturnMsg DelOrRenewDeliveryState(String deleteName,String deliveryStateCode,Boolean flag);
	
	
}
