package cn.exrick.xboot.your.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import cn.exrick.xboot.your.entity.Fingerprint; import org.apache.ibatis.annotations.Select; import java.util.List; /** * 指纹数据处理层 * @author Exrick */ public interface FingerprintMapper extends BaseMapper { @Select("select max(code) from t_fingerprint where user_id is not null") Integer maxCode(); @Select("select max(code) from t_fingerprint where area_id=#{areaId}") Integer maxCode2(String areaId); }