package com.crm.manager.dao.mapper;

import com.crm.rely.backend.core.entity.sales.SalesDpsBasicSalaryListEntity;
import com.crm.rely.backend.core.pojo.table.SalesDpsBasicSalaryTable;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Mapper
public interface SalesDpsBasicSalaryMapper {

    @Select("select * from sales_dps_basic_salary where id =#{id} ")
    SalesDpsBasicSalaryTable findById(@Param("id") Long id);

    Integer countList(SalesDpsBasicSalaryListEntity entity);

    List<SalesDpsBasicSalaryTable> findList(SalesDpsBasicSalaryListEntity entity);

}
