fix onlyoffice保存失败
This commit is contained in:
@@ -6,6 +6,7 @@ import com.baomidou.mybatisplus.annotation.TableId;
|
|||||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
@@ -31,9 +32,11 @@ public class OnlineFileLog {
|
|||||||
private Integer count;
|
private Integer count;
|
||||||
|
|
||||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
|
|
||||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
|
||||||
@TableField(exist = false)
|
@TableField(exist = false)
|
||||||
|
|||||||
+8
-11
@@ -20,18 +20,15 @@
|
|||||||
|
|
||||||
<update id="creatTableInfo" parameterType="java.lang.String" >
|
<update id="creatTableInfo" parameterType="java.lang.String" >
|
||||||
CREATE TABLE ${tableName} (
|
CREATE TABLE ${tableName} (
|
||||||
"ID" VARCHAR2(100 CHAR) NOT NULL PRIMARY KEY,
|
"id" VARCHAR(100) NOT NULL PRIMARY KEY,
|
||||||
"FILE_NAME" VARCHAR2(255 CHAR) NULL ,
|
"file_name" VARCHAR(255) NULL ,
|
||||||
"OLD_FILE_NAME" VARCHAR2(255 CHAR) NULL ,
|
"old_file_name" VARCHAR(255) NULL ,
|
||||||
"FILE_SUFFIX" VARCHAR2(30 CHAR) NULL ,
|
"file_suffix" VARCHAR(30) NULL ,
|
||||||
"FILE_PATH" VARCHAR2(255 CHAR) NULL ,
|
"file_path" VARCHAR(255) NULL ,
|
||||||
"VALID_FLAG" NUMBER(1) NULL ,
|
"valid_flag" int(1) NULL ,
|
||||||
"CREATION_TIME" DATE NULL ,
|
"creation_time" DATE NULL ,
|
||||||
"MODIFY_TIME" DATE NULL
|
"modify_time" DATE NULL
|
||||||
)
|
)
|
||||||
LOGGING
|
|
||||||
NOCOMPRESS
|
|
||||||
NOCACHE
|
|
||||||
</update>
|
</update>
|
||||||
|
|
||||||
<select id="existTable" parameterType="java.lang.String" resultType="java.lang.Integer">
|
<select id="existTable" parameterType="java.lang.String" resultType="java.lang.Integer">
|
||||||
|
|||||||
Reference in New Issue
Block a user