package com.ruoyi.basic.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.ruoyi.basic.dto.CustomerDto; import com.ruoyi.basic.pojo.Customer; import com.ruoyi.basic.vo.CustomerVo; import com.ruoyi.sales.vo.CustomerTransactionsDetailsVo; import com.ruoyi.sales.vo.CustomerTransactionsVo; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.util.List; import java.util.Map; /** * 客户档案Mapper接口 * * @author ruoyi * @date 2025-05-07 */ @Mapper public interface CustomerMapper extends BaseMapper { IPage listPage(Page page, @Param("c") CustomerDto customer, @Param("loginUserId") Long loginUserId); List list(@Param("c") CustomerDto customer, @Param("loginUserId") Long loginUserId); IPage customewTransactions(Page page, @Param("customerName") String customerName); IPage customewTransactionsDetails(Page page, @Param("customerId") Long customerId); List> getShippedAmountByCustomerIds(@Param("customerIds") List customerIds); List> getShippedAmountBySalesLedgerIds(@Param("salesLedgerIds") List salesLedgerIds); }