Commit 09ce5bcb by zhangkb

新增/修改标签接口添加保存创建时间

parent 8633adb5
......@@ -76,6 +76,8 @@ public class TagService {
tagRepository.saveAll(relationNamepathTags);
}
tag.setLevel(tag.getPath().split(",").length);
//author:zhangkb time:2020-1-10 desc:添加新增时间
tag.setCreateDate(String.valueOf(System.currentTimeMillis()));
return tagRepository.save(tag);
}
......
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