package org.jeecg.modules.system.app.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.system.app.dto.insureOrder.FindInsureOrderPageRequestDTO;
import org.jeecg.modules.system.app.dto.insureOrder.FindInsureOrderPageResponseDTO;
import org.jeecg.modules.system.app.entity.InsureOrderInfo;

import java.util.List;

/**
 * @Description: 保险订单
 * @Author: jeecg-boot
 * @Date:   2025-07-29
 * @Version: V1.0
 */
public interface InsureOrderInfoMapper extends BaseMapper<InsureOrderInfo> {

    IPage<FindInsureOrderPageResponseDTO> findPage(@Param("page") Page<FindInsureOrderPageResponseDTO> page,@Param("findInsureOrderPageRequestDTO")  FindInsureOrderPageRequestDTO findInsureOrderPageRequestDTO);

    void updateBatch(@Param("findInsureOrderPageRequestDTO") FindInsureOrderPageRequestDTO findInsureOrderPageRequestDTO);

    List<FindInsureOrderPageResponseDTO> findByList(@Param("findInsureOrderPageRequestDTO")  FindInsureOrderPageRequestDTO findInsureOrderPageRequestDTO);
}
