package com.bofeng.dao; import com.baomidou.mybatisplus.mapper.BaseMapper; import com.bofeng.entity.Vaccine; import com.yvan.PageDb; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Select; import java.util.List; import java.util.Map; @Mapper public interface VaccineMapper extends BaseMapper { @Select("select * from ms_vaccine where user_id = #{userId}") Vaccine selectByUserId(@Param("userId") Long userId); @Select("select * from ms_vaccine where user_id = #{userId}") List selectVaccineByUserId(PageDb pageDb, Map map); List exSelectVaccine(Map map); int updateVaccineById(Vaccine vaccine); }