package com.ruoyi.loanpricing.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.loanpricing.domain.entity.LoanPricingWorkflow;
import com.ruoyi.loanpricing.domain.vo.LoanPricingWorkflowListVO;
import org.apache.ibatis.annotations.Param;

/**
 * 利率定价流程Mapper接口
 *
 * @author ruoyi
 * @date 2025-01-19
 */
public interface LoanPricingWorkflowMapper extends BaseMapper<LoanPricingWorkflow>
{
    IPage<LoanPricingWorkflowListVO> selectWorkflowPageWithRates(Page<?> page,
                                                                 @Param("query") LoanPricingWorkflow query);

    int updateSensitiveFieldsById(@Param("id") Long id,
                                  @Param("custName") String custName,
                                  @Param("idNum") String idNum);
}
