package com.goafanti.common.dao;

import com.goafanti.common.model.TOrderOutsource;
import com.goafanti.order.bo.OrderOutsourceDtails;
import com.goafanti.organization.bo.outProjectBo;


import org.apache.ibatis.annotations.Param;

public interface TOrderOutsourceMapper {
    /**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_outsource
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	int deleteByPrimaryKey(Integer id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_outsource
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	int insert(TOrderOutsource record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_outsource
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	int insertSelective(TOrderOutsource record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_outsource
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	TOrderOutsource selectByPrimaryKey(Integer id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_outsource
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	int updateByPrimaryKeySelective(TOrderOutsource record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_outsource
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	int updateByPrimaryKeyWithBLOBs(TOrderOutsource record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_outsource
	 * @mbg.generated  Thu Aug 05 11:38:34 CST 2021
	 */
	int updateByPrimaryKey(TOrderOutsource record);

	OrderOutsourceDtails selectByOrderNo( @Param("orderNo") String orderNo,@Param("tid")String tid);

	outProjectBo selectByTid(Integer tid);

	void updateByidNull(Integer id);
}