package com.goafanti.order.service;

import java.util.List;

import com.goafanti.common.model.OutsourceOrganization;
import com.goafanti.core.mybatis.page.Pagination;
import com.goafanti.order.bo.OrderOutsourceBo;
import com.goafanti.order.bo.OrderOutsourceDtails;
import com.goafanti.order.bo.OutOutsourceLog;
import com.goafanti.order.bo.OutsourceOrganizationBo;

public interface OutsourceOrgService {
	
	int addOutsourceOrg(OutsourceOrganization o);
	
	int updateOutsourceOrg(OutsourceOrganization o);
	
	int deleteOutsourceOrg(Integer id);

	List<OutsourceOrganizationBo> selectOutsourceOrg(String orderNo,String tid);

	List<OutsourceOrganizationBo> selectOrderOutsourceOrg(String orderNo);
	
	Pagination<OrderOutsourceBo> orderOutsourceList(String name, String contractNo, String starTime, String endTime, Integer tid,
			Integer refundStatus,Integer type, Integer pageNo,Integer pageSize);
	
	OrderOutsourceDtails orderOutsourceDtails(String orderNo, String tid);
	
	int updateAuditOutsource(OrderOutsourceDtails o);

	Pagination<OrderOutsourceBo> salesmanOrderOutsourceList(String name, String contractNo, String starTime, String endTime,
			Integer refundStatus, Integer pageNo, Integer pageSize);

	List<OutOutsourceLog> selectOutsourceLog(Integer tid);

	int updateSuperAdminReject(Integer id);

	
}
