提交 96f29d41 编写于 作者: Z zhourui

删除print

上级 5515d301
......@@ -33,10 +33,8 @@ class V2Get extends BaseAction {
CacheKey cacheKey = new CacheKey(this.getClass(), id);
Optional<?> optional = CacheManager.get(cacheCategory, cacheKey);
if (optional.isPresent()) {
System.out.println("!!!!!!!!!!!!!!!!!!!getForm from cache");
result.setData((Wo) optional.get());
} else {
System.out.println("!!!!!!!!!!!!!!!!!!!getForm from db");
Wo wo = this.get(business, id);
CacheManager.put(cacheCategory, cacheKey, wo);
result.setData(wo);
......
......@@ -85,10 +85,8 @@ class ActionListWithWorkOrWorkCompleted extends BaseAction {
List<WoReadCompleted> readCompleteds = _readCompleteds.get();
List<WorkLog> workLogs = _workLogs.get();
if (workLogs.isEmpty()) {
if (!workLogs.isEmpty()) {
WorkLogTree tree = new WorkLogTree(workLogs);
List<Wo> wos = new ArrayList<>();
for (WorkLog o : workLogs.stream()
.filter(o -> Objects.equals(ActivityType.manual, o.getFromActivityType()))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册