package com.storlead.sales.mapper.customer;

import com.storlead.sales.pojo.entity.customer.CustomerTransferEntity;
import com.storlead.framework.mybatis.mapper.MyBaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

/**
 * <p>
 * 客户转移表 Mapper 接口
 * </p>
 *
 * @author YPZ
 * @since 2024-06-03
 */
public interface CustomerTransferMapper extends MyBaseMapper<CustomerTransferEntity> {

//    @Update("update ${tableName} set owner_by = #{ownerBy} where id in #{keyIds}")
    void updateOwnerBy(@Param("tableName") String tableName,@Param("ownerBy") Long ownerBy,@Param("keyIds") List<Long> keyIds);
}
