Pārlūkot izejas kodu

增加填充策略

tags/24080901
WendyYang pirms 1 gada
vecāks
revīzija
e7ef4bc348
3 mainītis faili ar 7 papildinājumiem un 7 dzēšanām
  1. +5
    -4
      pmapi/src/main/java/com/ningdatech/pmapi/sys/entity/Notice.java
  2. +2
    -2
      pmapi/src/main/java/com/ningdatech/pmapi/sys/entity/req/NoticeListReq.java
  3. +0
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/sys/entity/req/NoticeSaveReq.java

+ 5
- 4
pmapi/src/main/java/com/ningdatech/pmapi/sys/entity/Notice.java Parādīt failu

@@ -1,9 +1,6 @@
package com.ningdatech.pmapi.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@@ -46,15 +43,19 @@ public class Notice implements Serializable {
private String attachment;

@ApiModelProperty("创建时间")
@TableField(fill = FieldFill.INSERT)
private LocalDateTime createOn;

@ApiModelProperty("创建人id")
@TableField(fill = FieldFill.INSERT)
private Long createBy;

@ApiModelProperty("最后修改时间")
@TableField(fill = FieldFill.INSERT_UPDATE)
private LocalDateTime updateOn;

@ApiModelProperty("最后修改人")
@TableField(fill = FieldFill.INSERT_UPDATE)
private Long updateBy;

@ApiModelProperty("是否删除")


+ 2
- 2
pmapi/src/main/java/com/ningdatech/pmapi/sys/entity/req/NoticeListReq.java Parādīt failu

@@ -8,14 +8,14 @@ import lombok.EqualsAndHashCode;

/**
* <p>
* DashboardNoticeListPo
* NoticeListReq
* </p>
*
* @author WendyYang
* @since 00:32 2022/7/23
*/
@Data
@ApiModel("工作台消息列表查询")
@ApiModel("公告查询参数类")
@EqualsAndHashCode(callSuper = true)
public class NoticeListReq extends PagePo {



+ 0
- 1
pmapi/src/main/java/com/ningdatech/pmapi/sys/entity/req/NoticeSaveReq.java Parādīt failu

@@ -4,7 +4,6 @@ import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;



Notiek ielāde…
Atcelt
Saglabāt