瀏覽代碼

添加创建时间、修改时间、创建人、修改人字段

master
qiubh 2 週之前
父節點
當前提交
47697bc631

+ 11
- 4
gly-base-core/src/main/java/cn/com/taiji/core/entity/basic/QtkAgencyMap.java 查看文件

@@ -1,13 +1,14 @@
package cn.com.taiji.core.entity.basic;

import javax.persistence.*;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

import cn.com.taiji.common.entity.StringPropertyUUIDEntity;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.time.LocalDateTime;


@@ -34,5 +35,11 @@ public class QtkAgencyMap extends StringPropertyUUIDEntity {
@NotNull
@Column(name = "UPDATE_TIME")
private LocalDateTime updateTime = LocalDateTime.now();//更改时间
@Size(max = 32)
@Column(name = "CREATE_OPEN_ID")
private String createOpenId;//添加人
@Size(max = 32)
@Column(name = "UPDATE_OPEN_ID")
private String updateOpenId;//修改人

}

+ 13
- 6
gly-base-core/src/main/java/cn/com/taiji/core/entity/basic/QtkServicehallMap.java 查看文件

@@ -1,15 +1,16 @@
package cn.com.taiji.core.entity.basic;

import java.time.LocalDateTime;

import javax.persistence.*;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

import cn.com.taiji.common.entity.StringPropertyUUIDEntity;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.time.LocalDateTime;


/**
* 网点映射表
@@ -33,6 +34,12 @@ public class QtkServicehallMap extends StringPropertyUUIDEntity {
@NotNull
@Column(name = "UPDATE_TIME")
private LocalDateTime updateTime = LocalDateTime.now();//更改时间
@Size(max = 32)
@Column(name = "CREATE_OPEN_ID")
private String createOpenId;//添加人
@Size(max = 32)
@Column(name = "UPDATE_OPEN_ID")
private String updateOpenId;//修改人




Loading…
取消
儲存