package com.example.zijincao.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import com.example.zijincao.entity.TaCountry; /** * 国家种植表;(ta_country)表数据库访问层 * @author : http://njyunzhi.com * @date : 2022-12-9 */ @Mapper public interface TaCountryMapper extends BaseMapper{ int updateByName(@Param("name") String name, @Param("num") int num); }