| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- 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 Fri Oct 13 15:28:17 CST 2017
- */
- long countByExample(CustomerExample example);
- /**
- * This method was generated by MyBatis Generator. This method corresponds to the database table customer
- * @mbg.generated Fri Oct 13 15:28:17 CST 2017
- */
- int deleteByExample(CustomerExample example);
- /**
- * This method was generated by MyBatis Generator. This method corresponds to the database table customer
- * @mbg.generated Fri Oct 13 15:28:17 CST 2017
- */
- int deleteByPrimaryKey(String id);
- /**
- * This method was generated by MyBatis Generator. This method corresponds to the database table customer
- * @mbg.generated Fri Oct 13 15:28:17 CST 2017
- */
- int insert(Customer record);
- /**
- * This method was generated by MyBatis Generator. This method corresponds to the database table customer
- * @mbg.generated Fri Oct 13 15:28:17 CST 2017
- */
- int insertSelective(Customer record);
- /**
- * This method was generated by MyBatis Generator. This method corresponds to the database table customer
- * @mbg.generated Fri Oct 13 15:28:17 CST 2017
- */
- List<Customer> selectByExample(CustomerExample example);
- /**
- * This method was generated by MyBatis Generator. This method corresponds to the database table customer
- * @mbg.generated Fri Oct 13 15:28:17 CST 2017
- */
- Customer selectByPrimaryKey(String id);
- /**
- * This method was generated by MyBatis Generator. This method corresponds to the database table customer
- * @mbg.generated Fri Oct 13 15:28:17 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 Fri Oct 13 15:28:17 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 Fri Oct 13 15:28:17 CST 2017
- */
- int updateByPrimaryKeySelective(Customer record);
- /**
- * This method was generated by MyBatis Generator. This method corresponds to the database table customer
- * @mbg.generated Fri Oct 13 15:28:17 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);
-
- }
|