package com.goafanti.common.dao; import java.util.List; import org.apache.ibatis.annotations.Param; import com.goafanti.common.model.Customer; public interface CustomerMapper { /** * 删除客户信息 */ int deleteCustomerByPrimaryKey(String id); /** * 查询客户详情 */ Customer selectCustomerByPrimaryKey(String id); /** * 修改客户信息 */ int updateCustomerByPrimaryKey(String id); /** * 新增 */ int insertCustomer(Customer cus); /** * * @param ladderId 上层领导ID * @return 所有包含上层领导ID的 客户记录 */ List selectByLadderId(@Param("ladderId")String ladderId); void updateByPrimaryKeySelective(Customer customer); }