接口 EggGroupMapper


public interface EggGroupMapper
蛋组(egg_group)表数据库访问层
从以下版本开始:
2025/08/20
作者:
lishangbu
  • 方法详细资料

    • selectById

      Optional<EggGroup> selectById(Long id)
      通过id查询单条蛋组数据
      参数:
      id - 主键
      返回:
      可选的蛋组
    • insert

      int insert(EggGroup eggGroup)
      新增蛋组
      参数:
      eggGroup - 实例对象
      返回:
      影响行数
    • updateById

      int updateById(EggGroup eggGroup)
      修改蛋组
      参数:
      eggGroup - 实例对象
      返回:
      影响行数
    • deleteById

      int deleteById(Long id)
      通过id删除蛋组
      参数:
      id - 主键
      返回:
      影响行数