package com.ruoyi.info.collection.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.info.collection.domain.CcdiDebtsInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 员工征信负债明细 Mapper
 */
public interface CcdiDebtsInfoMapper extends BaseMapper<CcdiDebtsInfo> {

    List<CcdiDebtsInfo> selectByPersonId(@Param("personId") String personId);

    int deleteByPersonId(@Param("personId") String personId);

    int insertBatch(@Param("list") List<CcdiDebtsInfo> list);
}
