瀏覽代碼

feat: 增加appcode

tags/24080901
刘帅 1 年之前
父節點
當前提交
5ac6e16992
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/scheduler/task/CommonLogTask.java

+ 1
- 1
pmapi/src/main/java/com/ningdatech/pmapi/scheduler/task/CommonLogTask.java 查看文件

@@ -90,7 +90,7 @@ public class CommonLogTask {
commonLog.setActionTime(df.format(optLog.getStartTime()));
commonLog.setActionDuration(optLog.getConsumingTime());
commonLog.setActionStatus(0);
commonLog.setAppCode("");
commonLog.setAppCode("A331101453557202109017383");
//判断当天日志文件是否存在
DateTimeFormatter dfNow = DateTimeFormatter.ofPattern("yyyyMMdd");
String fileName = LOG_RECORD_ADDRESS + LOG_FILE + dfNow.format(LocalDateTime.now()) + ".log";


Loading…
取消
儲存