Commit 0f1f981b authored by hongguangwu's avatar hongguangwu

变更日志

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