package com.dy.pipIrrGlobal.daoBa; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.dy.pipIrrGlobal.pojoBa.BaCaptcha; import org.apache.ibatis.annotations.Mapper; import java.util.Map; /** * @author ZhuBaoMin * @date 2024-09-11 10:58 * @LastEditTime 2024-09-11 10:58 * @Description */ @Mapper public interface BaCaptchaMapper extends BaseMapper { int deleteByPrimaryKey(Long id); int insert(BaCaptcha record); int insertSelective(BaCaptcha record); BaCaptcha selectByPrimaryKey(Long id); int updateByPrimaryKeySelective(BaCaptcha record); int updateByPrimaryKey(BaCaptcha record); /** * 依据验证码token获取验证字符 * @param token * @return */ Map getCodeByToken(String token); }