package com.goafanti.common.dao; import com.goafanti.common.model.CustomerOrganizationInfo; import com.goafanti.common.model.CustomerOrganizationInfoExample; import java.util.List; import org.apache.ibatis.annotations.Param; public interface CustomerOrganizationInfoMapper { /** * This method was generated by MyBatis Generator. This method corresponds to the database table customer_organization_info * @mbg.generated Wed Oct 25 09:39:54 CST 2017 */ long countByExample(CustomerOrganizationInfoExample example); /** * This method was generated by MyBatis Generator. This method corresponds to the database table customer_organization_info * @mbg.generated Wed Oct 25 09:39:54 CST 2017 */ int deleteByExample(CustomerOrganizationInfoExample example); /** * This method was generated by MyBatis Generator. This method corresponds to the database table customer_organization_info * @mbg.generated Wed Oct 25 09:39:54 CST 2017 */ int deleteByPrimaryKey(String id); /** * This method was generated by MyBatis Generator. This method corresponds to the database table customer_organization_info * @mbg.generated Wed Oct 25 09:39:54 CST 2017 */ int insert(CustomerOrganizationInfo record); /** * This method was generated by MyBatis Generator. This method corresponds to the database table customer_organization_info * @mbg.generated Wed Oct 25 09:39:54 CST 2017 */ int insertSelective(CustomerOrganizationInfo record); /** * This method was generated by MyBatis Generator. This method corresponds to the database table customer_organization_info * @mbg.generated Wed Oct 25 09:39:54 CST 2017 */ List selectByExample(CustomerOrganizationInfoExample example); /** * This method was generated by MyBatis Generator. This method corresponds to the database table customer_organization_info * @mbg.generated Wed Oct 25 09:39:54 CST 2017 */ CustomerOrganizationInfo selectByPrimaryKey(String id); /** * This method was generated by MyBatis Generator. This method corresponds to the database table customer_organization_info * @mbg.generated Wed Oct 25 09:39:54 CST 2017 */ int updateByExampleSelective(@Param("record") CustomerOrganizationInfo record, @Param("example") CustomerOrganizationInfoExample example); /** * This method was generated by MyBatis Generator. This method corresponds to the database table customer_organization_info * @mbg.generated Wed Oct 25 09:39:54 CST 2017 */ int updateByExample(@Param("record") CustomerOrganizationInfo record, @Param("example") CustomerOrganizationInfoExample example); /** * This method was generated by MyBatis Generator. This method corresponds to the database table customer_organization_info * @mbg.generated Wed Oct 25 09:39:54 CST 2017 */ int updateByPrimaryKeySelective(CustomerOrganizationInfo record); /** * This method was generated by MyBatis Generator. This method corresponds to the database table customer_organization_info * @mbg.generated Wed Oct 25 09:39:54 CST 2017 */ int updateByPrimaryKey(CustomerOrganizationInfo record); /** * 修改 */ int updateCustomerOrganizationByCid(CustomerOrganizationInfo coi); /** * 查询公司是否存在 * @param companyName * @return */ int findCustomerOrganizationByName(@Param("companyName")String companyName); }