|
|
@@ -102,11 +102,13 @@ public class CommonLogTask { |
|
|
|
//写入通用规则 |
|
|
|
FileWriter writer = new FileWriter(fileName); |
|
|
|
writer.append(JSONUtil.toJsonStr(commonLog)); |
|
|
|
writer.append("\n"); |
|
|
|
if (commonLog.getActionType() == 3){ |
|
|
|
CommonLog commonLogEnd = new CommonLog(); |
|
|
|
BeanUtil.copyProperties(commonLog,commonLogEnd); |
|
|
|
commonLogEnd.setActionType(4); |
|
|
|
writer.append(JSONUtil.toJsonStr(commonLogEnd)); |
|
|
|
writer.append("\n"); |
|
|
|
} |
|
|
|
} |
|
|
|
//记录最后一个节点位置 |
|
|
|