Commit 299de565 by shentao

2024/12/02 补充version打印

parent f79db2aa
......@@ -101,4 +101,20 @@ public class CidRecord {
public void setCid(Long cid) {
this.cid = cid;
}
@Override
public String toString() {
return "CidRecord{" +
"id='" + id + '\'' +
", c4=" + c4 +
", c5=" + c5 +
", foreign=" + foreign +
", url='" + url + '\'' +
", time=" + time +
", ctime=" + ctime +
", stime=" + stime +
", esId='" + esId + '\'' +
", cid=" + cid +
",version=20241201}";
}
}
......@@ -45,7 +45,7 @@ public class TaskServiceCidRecord extends AbstractTaskService {
if (!test) {
test = true;
com.zhiwei.middleware.automatic.server.pojo.CidRecord record = JSONObject.parseObject(s, com.zhiwei.middleware.automatic.server.pojo.CidRecord.class);
log.info("日志打印,源数据:{},实体:{}", s, JSONObject.toJSONString(record));
log.info("日志打印,源数据:{},实体:{},version:{}", s, JSONObject.toJSONString(record), record.toString());
}
cidRecordDao.insert(cidRecord);
} catch (Exception e) {
......
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