package com.fs.lotus.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fs.his.domain.FsPatient;
import com.fs.lotus.domain.LotusEntinementActivation;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
* <p>
* lotus_entinement_activation Mapper 接口
* </p>
*
* @author Administrator
* @since 2026-06-18 17:06:30
*/
@Mapper
public interface LotusEntinementActivationMapper extends BaseMapper<LotusEntinementActivation> {
    Map<String, Object> selectBythirdPartyProductId(String thirdPartyProductId);

    List<FsPatient> selectPatientByCertNo(@Param("certNoList") List<String> certNoList);

    LotusEntinementActivation selectActivation(Long userId);

    /**
     * 查询保险产品配置
     */
    Map<String, Object> selectInsuranceCoverage();

    /**
     * 批量重置月度剩余次数
     */
    int batchResetMonthlyClaimTimes(@Param("currentMonth") String currentMonth, @Param("maxMonthClaimTimes") int maxMonthClaimTimes);
}