package com.artfess.ljzc.loan.dao;

import com.alibaba.fastjson.JSONObject;
import com.artfess.ljzc.loan.model.AssetLoanInfo;
import com.artfess.ljzc.loan.vo.MonthVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

/**
 * 债权资产信息 Mapper 接口
 *
 * @company 阿特菲斯信息技术有限公司
 * @author min.wu
 * @since 2023-11-27
 */
public interface AssetLoanInfoDao extends BaseMapper<AssetLoanInfo> {

    BigDecimal bookValue(@Param("fullId") String fullId);

    List<MonthVo> loanStatistics(@Param("fullId") String fullId, @Param("year") Integer year);
}
