类 ItemDataSetShellComponent
java.lang.Object
io.github.lishangbu.avalon.shell.dataset.component.AbstractDataSetShellComponent
io.github.lishangbu.avalon.shell.dataset.component.ItemDataSetShellComponent
道具数据处理命令
- 从以下版本开始:
- 2025/6/8
- 作者:
- lishangbu
-
构造器概要
构造器构造器说明ItemDataSetShellComponent
(PokeApiFactory pokeApiFactory, ItemRepository itemRepository, ItemFlingEffectRepository itemFlingEffectRepository, ItemAttributeRepository itemAttributeRepository, ItemCategoryRepository itemCategoryRepository) -
方法概要
从类继承的方法 io.github.lishangbu.avalon.shell.dataset.component.AbstractDataSetShellComponent
saveEntityData
-
构造器详细资料
-
ItemDataSetShellComponent
public ItemDataSetShellComponent(PokeApiFactory pokeApiFactory, ItemRepository itemRepository, ItemFlingEffectRepository itemFlingEffectRepository, ItemAttributeRepository itemAttributeRepository, ItemCategoryRepository itemCategoryRepository)
-
-
方法详细资料
-
refreshData
@ShellMethod(key="dataset refresh item", value="\u5237\u65b0\u6570\u636e\u5e93\u4e2d\u7684\u9053\u5177\u8868\u6570\u636e") @Transactional(rollbackFor=Exception.class) public String refreshData(@ShellOption(help="\u6bcf\u9875\u504f\u79fb\u91cf",defaultValue="0") Integer offset, @ShellOption(help="\u6bcf\u9875\u6570\u91cf",defaultValue="5000") Integer limit) 从类复制的说明:AbstractDataSetShellComponent
刷新数据- 指定者:
refreshData
在类中AbstractDataSetShellComponent
- 参数:
offset
- 偏移量limit
- 返回数量限制- 返回:
- 刷新数据的结果
-