Commit c6338337 by 王力

Merge branch 'feature_mvp616_wangl' into 'develop'

修复逻辑错误

See merge request !72
2 parents db81cf82 4ad1916a
...@@ -336,7 +336,7 @@ public class EngineerServiceImpl implements EngineerService { ...@@ -336,7 +336,7 @@ public class EngineerServiceImpl implements EngineerService {
// 标签 // 标签
List<String> tags = new ArrayList<>(); List<String> tags = new ArrayList<>();
if (e.getTags() != null && e.getTags().isEmpty()) { if (e.getTags() != null && !e.getTags().isEmpty()) {
for (Map.Entry<String, Object> entry : e.getTags().entrySet()) { for (Map.Entry<String, Object> entry : e.getTags().entrySet()) {
tags.add(String.format("%s+%s", entry.getKey(), entry.getValue().toString())); tags.add(String.format("%s+%s", entry.getKey(), entry.getValue().toString()));
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!