
package com.yifu.cloud.plus.v1.yifu.insurances.service.insurance.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yifu.cloud.plus.v1.yifu.insurances.entity.TInsurancesChangeLog;
import com.yifu.cloud.plus.v1.yifu.insurances.mapper.insurances.TInsurancesChangeLogMapper;
import com.yifu.cloud.plus.v1.yifu.insurances.service.insurance.TInsurancesChangeLogService;
import lombok.extern.log4j.Log4j2;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 入职确认信息变更日志明细表
 *
 * @author hgw
 * @date 2025-04-07 15:35:05
 */
@Log4j2
@Service
public class TInsurancesChangeLogServiceImpl extends ServiceImpl<TInsurancesChangeLogMapper, TInsurancesChangeLog> implements TInsurancesChangeLogService {

	/**
	 * 入职确认信息变更日志明细表查询
	 * @param preId 商险ID
	 * @return
	 */
	@Override
	public List<TInsurancesChangeLog> getTInsurancesChangeLoglList(String preId) {
		return baseMapper.getTInsurancesChangeLoglList(preId);
	}


	/**
	 * 入职确认信息变更日志明细表简单分页查询
	 * @param param
	 * @return
	 */
	@Override
	public IPage<TInsurancesChangeLog> getInsuranceListPage(Page<TInsurancesChangeLog> page, TInsurancesChangeLog param) {
		return baseMapper.getInsuranceListPage(page,param);
	}

}
