参考 博主Oxygenzzz:https://blog.csdn.net/qq_39056805/article/details/80585941
方法1:selectByExample(TbItemDescExample example)
返回值:List<TbItemDesc>
作用:通过特定限制条件查询信息,example用于生成一个Criteria对象来设置查询条件
方法2:selectByPrimaryKey(Long itemId)
返回值:TbItemDesc
作用:通过主键查询
方法3:selectByExampleWithBLOBs(TbItemDescExample example)
返回值:List<TbItemDesc>
作用:根据特定限制条件查询,返回值包含类型为text的列(默认查询并不会返回该列的信息)。example用于生成一个 Criteria对象来设置查询条件ÿ