BerryServiceImpl

@Service
class BerryServiceImpl(berryRepository: BerryRepository) : BerryService

树果应用服务实现

基于仓储封装树果的分页查询与写入逻辑

Constructors

Link copied to clipboard
constructor(berryRepository: BerryRepository)

Functions

Link copied to clipboard
open override fun getPageByCondition(specification: BerrySpecification, pageable: Pageable): Page<BerryView>

按筛选条件分页查询树果

Link copied to clipboard
open override fun removeById(id: Long)

删除指定 ID 的树果

Link copied to clipboard
open override fun save(command: SaveBerryInput): BerryView

创建树果

Link copied to clipboard
open override fun update(command: UpdateBerryInput): BerryView

更新树果