Package io.github.xezzon.zeroweb.dict
Class DictRpcHandler
java.lang.Object
io.github.xezzon.zeroweb.dict.DictRpcHandler
- All Implemented Interfaces:
RpcTrait
,DictImporter
以 RPC 调用的方式实现字典导入功能,针对 zeroweb-service-admin 以外的服务。
- Author:
- xezzon
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
importDict
(io.github.xezzon.zeroweb.dict.DictImportReqList reqList) 批量导入字典 逐个判断。
-
Constructor Details
-
DictRpcHandler
public DictRpcHandler()
-
-
Method Details
-
getCountDownLatch
-
importDict
public void importDict(io.github.xezzon.zeroweb.dict.DictImportReqList reqList) Description copied from interface:DictImporter
批量导入字典 逐个判断。如果字典已存在则跳过,否则新增- Specified by:
importDict
in interfaceDictImporter
- Parameters:
reqList
- 字典列表
-