Commit 392ef069 by wangli

增加日志查看

1 parent 6d224b56
......@@ -11,11 +11,13 @@ import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fasterxml.jackson.databind.JsonNode;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.sql.Timestamp;
import java.text.SimpleDateFormat;
import java.time.format.DateTimeFormatter;
......@@ -25,6 +27,8 @@ import java.util.stream.Collectors;
@Service
public class EngineerServiceImpl implements EngineerService {
private Logger logger = LoggerFactory.getLogger(getClass());
@Autowired
private EngineerInfoMPDao engineerInfoMPDao;
......@@ -381,7 +385,8 @@ public class EngineerServiceImpl implements EngineerService {
// 标签
List<String> tags = new ArrayList<>();
if (e.getTags() != null) {
logger.debug("XXXTENTACION: {}", e.getTags());
if (!e.getTags().isEmpty()) {
for(Map.Entry<String, Object> entry: e.getTags().entrySet()){
tags.add(String.format("%s+%d", entry.getKey(), entry.getValue()));
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!