package com.bashi.dk.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.bashi.common.core.domain.entity.Customer; import com.bashi.dk.dto.admin.resp.CustomerAdminResp; import com.bashi.dk.dto.admin.resp.CustomerExportVo; import org.apache.ibatis.annotations.Param; import java.math.BigDecimal; import java.util.List; public interface CustomerMapper extends BaseMapper { void incsAmount(@Param("customerId") Long customerId, @Param("totalLoanMoney") BigDecimal totalLoanMoney, @Param("totalRepayment") BigDecimal totalRepayment); void withdraw(@Param("customerId") Long customerId, @Param("withdrawAmount") Double withdrawAmount); IPage pageAdmin(@Param("page") IPage page, @Param("bo") CustomerAdminResp bo); List exportAdmin(@Param("bo") CustomerAdminResp bo); }