Commit 0f1f981b authored by hongguangwu's avatar hongguangwu

变更日志

parent 9679e59f
...@@ -24,6 +24,7 @@ import io.swagger.v3.oas.annotations.media.Schema; ...@@ -24,6 +24,7 @@ import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data; import lombok.Data;
import lombok.EqualsAndHashCode; import lombok.EqualsAndHashCode;
import javax.validation.constraints.NotBlank;
import java.time.LocalDateTime; import java.time.LocalDateTime;
/** /**
...@@ -64,28 +65,19 @@ public class TEmployeeLog extends BaseEntity { ...@@ -64,28 +65,19 @@ public class TEmployeeLog extends BaseEntity {
private String projectId; private String projectId;
/** /**
* 创建人id * 原来的信息
*/ */
@Schema(description = "创建人id") @Schema(description = "原来的信息")
private String createBy; private String oldInfo;
/**
* 创建人姓名
*/
@Schema(description = "创建人姓名")
private String createName;
/** /**
* 创建时间 * 新的信息
*/ */
@Schema(description = "创建时间") @Schema(description = "新的信息")
private LocalDateTime createTime; private String newInfo;
/** /**
* 变更内容 * 差异的信息
*/ */
@Schema(description = "变更内容") @Schema(description = "差异的信息")
private String content; private String differenceInfo;
} }
...@@ -31,6 +31,8 @@ ...@@ -31,6 +31,8 @@
<result property="createBy" column="CREATE_BY"/> <result property="createBy" column="CREATE_BY"/>
<result property="createName" column="CREATE_NAME"/> <result property="createName" column="CREATE_NAME"/>
<result property="createTime" column="CREATE_TIME"/> <result property="createTime" column="CREATE_TIME"/>
<result property="content" column="CONTENT"/> <result property="oldInfo" column="OLD_INFO"/>
<result property="newInfo" column="NEW_INFO"/>
<result property="differenceInfo" column="DIFFERENCE_INFO"/>
</resultMap> </resultMap>
</mapper> </mapper>
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