瀏覽代碼

基础字段自动填充

tags/24080901
WendyYang 1 年之前
父節點
當前提交
9ae878e949
共有 1 個檔案被更改,包括 6 行新增4 行删除
  1. +6
    -4
      pmapi/src/main/java/com/ningdatech/pmapi/projectlib/model/entity/Project.java

+ 6
- 4
pmapi/src/main/java/com/ningdatech/pmapi/projectlib/model/entity/Project.java 查看文件

@@ -1,8 +1,6 @@
package com.ningdatech.pmapi.projectlib.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@@ -233,8 +231,10 @@ public class Project implements Serializable {
@ApiModelProperty("一地创新全省共享项目-是否开启 false:关闭 true:开启")
private Boolean isInnovateWholeProvinceShare;

@TableField(fill = FieldFill.INSERT)
private LocalDateTime createOn;

@TableField(fill = FieldFill.INSERT_UPDATE)
private LocalDateTime updateOn;

@ApiModelProperty("流程实例编号")
@@ -285,8 +285,10 @@ public class Project implements Serializable {
@ApiModelProperty("动态表单 json")
private String dynamicForm;

@TableField(fill = FieldFill.INSERT)
private Long createBy;

@TableField(fill = FieldFill.INSERT_UPDATE)
private Long updateBy;

}

Loading…
取消
儲存