| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- 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<Customer> selectByLadderId(@Param("ladderId")String ladderId);
- void updateByPrimaryKeySelective(Customer customer);
- }
|