| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- package com.goafanti.common.dao;
- import com.goafanti.common.model.Customer;
- import com.goafanti.common.model.CustomerExample;
- import com.goafanti.customer.bo.CustomerOut;
- import java.util.List;
- import org.apache.ibatis.annotations.Param;
- public interface CustomerMapper {
- /**
- * This method was generated by MyBatis Generator. This method corresponds to the database table customer
- * @mbg.generated Mon Nov 06 08:45:21 CST 2017
- */
- long countByExample(CustomerExample example);
- /**
- * This method was generated by MyBatis Generator. This method corresponds to the database table customer
- * @mbg.generated Mon Nov 06 08:45:21 CST 2017
- */
- int deleteByExample(CustomerExample example);
- /**
- * This method was generated by MyBatis Generator. This method corresponds to the database table customer
- * @mbg.generated Mon Nov 06 08:45:21 CST 2017
- */
- int deleteByPrimaryKey(String id);
- /**
- * This method was generated by MyBatis Generator. This method corresponds to the database table customer
- * @mbg.generated Mon Nov 06 08:45:21 CST 2017
- */
- int insert(Customer record);
- /**
- * This method was generated by MyBatis Generator. This method corresponds to the database table customer
- * @mbg.generated Mon Nov 06 08:45:21 CST 2017
- */
- int insertSelective(Customer record);
- /**
- * This method was generated by MyBatis Generator. This method corresponds to the database table customer
- * @mbg.generated Mon Nov 06 08:45:21 CST 2017
- */
- List<Customer> selectByExample(CustomerExample example);
- /**
- * This method was generated by MyBatis Generator. This method corresponds to the database table customer
- * @mbg.generated Mon Nov 06 08:45:21 CST 2017
- */
- Customer selectByPrimaryKey(String id);
- /**
- * This method was generated by MyBatis Generator. This method corresponds to the database table customer
- * @mbg.generated Mon Nov 06 08:45:21 CST 2017
- */
- int updateByExampleSelective(@Param("record") Customer record, @Param("example") CustomerExample example);
- /**
- * This method was generated by MyBatis Generator. This method corresponds to the database table customer
- * @mbg.generated Mon Nov 06 08:45:21 CST 2017
- */
- int updateByExample(@Param("record") Customer record, @Param("example") CustomerExample example);
- /**
- * This method was generated by MyBatis Generator. This method corresponds to the database table customer
- * @mbg.generated Mon Nov 06 08:45:21 CST 2017
- */
- int updateByPrimaryKeySelective(Customer record);
- /**
- * This method was generated by MyBatis Generator. This method corresponds to the database table customer
- * @mbg.generated Mon Nov 06 08:45:21 CST 2017
- */
- int updateByPrimaryKey(Customer record);
- /**
- * 查询
- * @param id
- * @return
- */
- CustomerOut selectCustomerById(String id);
- /**
- * 查询团队 客户记录
- * @param ladderId 上层领导ID
- * @return
- */
- List<Customer> selectByLadderId(@Param("ladderId")String ladderId);
-
- /**
- * 客户详情-历史记录
- * @param customerId
- * @return
- */
- CustomerOut findCustomerHistory(@Param("id")String customerId);
- /**
- * 查询机构是否存在
- * @param companyName
- * @return
- */
- int findCustomerByName(String companyName);
-
- }
|