Commit 7c7cb357 authored by suhuiguang's avatar suhuiguang

fix(设备创建) :es双写优化

1.写es移动到最后执行
parent 61251a80
......@@ -2059,7 +2059,6 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
Optional<ESEquipmentCategoryDto> optional = esEquipmentCategory.findById((String) dataMap.get("equipId"));
if(optional.isPresent()){
// 更新es
HashMap<String, Map<String, Object>> objMap = new HashMap<>();
HashMap<String, Object> param = new HashMap<>();
// 属地监管部门拆分
String orgBranch = (String) dataMap.getOrDefault("orgBranchCode", "_");
......
......@@ -271,12 +271,12 @@
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-all</artifactId>
<version>5.8.16</version>
<version>5.8.43</version>
</dependency>
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-core</artifactId>
<version>5.8.16</version>
<version>5.8.43</version>
</dependency>
<dependency>
<groupId>com.baomidou</groupId>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment