Sfoglia il codice sorgente

基础字段自动填充

tags/24080901
WendyYang 1 anno fa
parent
commit
9ae878e949
1 ha cambiato i file con 6 aggiunte e 4 eliminazioni
  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 Vedi File

@@ -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…
Annulla
Salva