This commit is contained in:
dute7liang
2023-12-19 22:25:27 +08:00
parent 5676aa7fde
commit 5b04a92a55
385 changed files with 31644 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
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<Customer> {
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<CustomerAdminResp> pageAdmin(@Param("page") IPage<Object> page, @Param("bo") CustomerAdminResp bo);
List<CustomerExportVo> exportAdmin(@Param("bo") CustomerAdminResp bo);
}