Commit f870502a by 黄明步

修改年月日调用量查询

parent 3b4ba159
......@@ -3,7 +3,9 @@ package com.gxmailu.ocrCloudPlatform;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
@EnableScheduling
@SpringBootApplication
@MapperScan(value = "com.gxmailu.ocrCloudPlatform.mapper")
public class OcrCloudPlatformApplication {
......
......@@ -4,9 +4,9 @@ import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
/**
......@@ -62,6 +62,7 @@ public class AppAbilityRecordAll implements Serializable {
* 调用时间
*/
@TableField("call_time")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date callTime;
/**
......@@ -164,12 +165,14 @@ public class AppAbilityRecordAll implements Serializable {
* 创建时间
*/
@TableField("created_time")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date createdTime;
/**
* 更新时间
*/
@TableField("updated_time")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date updatedTime;
@TableField("server_ip")
......
......@@ -67,7 +67,7 @@ temp:
elasticsearch:
hosts: 129.204.37.121
port: 9200
port: 9211
http: http
username: elastic
password: LBKsbjgEt+IECTA2CCz3
\ No newline at end of file
password: RQuT4eQIdIZ57waX9f87
\ No newline at end of file
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