mybatis不生成的updateByPrimaryKeySelective

public interface StuInfoMapper extends MybatisSelectMapper, MybatisInsertMapper {
long countByExample(StuInfoExample example);

int deleteByExample(StuInfoExample example);

int insert(StuInfo record);

int insertSelective(StuInfo record);

List<StuInfo> selectByExample(StuInfoExample example);

int updateByExampleSelective(@Param("record") StuInfo record, @Param("example") StuInfoExample example);

int updateByExample(@Param("record") StuInfo record, @Param("example") StuInfoExample example);

List<StuInfo> selectByQuery(Statement query);

int insertByQuery(Statement query);

int insertList(List<StuInfo> list);

int insertOrUpdateList(List<StuInfo> list);

int insertOrUpdateSelective(List<StuInfo> list);

}

updateByPrimaryKeySelective不会自动生成!

那不是通用mapper封装的吗

一种是mybatisPlus,一种是TK.mybatis(就是大家说的通用mapper)。你看看自己用的哪种,再结合版本号,看看是否官方做了更新,是否去掉了方法?