Browse Source

去掉无用的NotNull注解

zhongwei
Jone 5 months ago
parent
commit
7d35350f2a
  1. 2
      hzims-service-api/safeproduct-api/src/main/java/com/hnac/hzims/safeproduct/entity/ReviewStandardEntity.java

2
hzims-service-api/safeproduct-api/src/main/java/com/hnac/hzims/safeproduct/entity/ReviewStandardEntity.java

@ -1,7 +1,6 @@
package com.hnac.hzims.safeproduct.entity; package com.hnac.hzims.safeproduct.entity;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
import com.esotericsoftware.kryo.NotNull;
import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.NullSerializer; import com.fasterxml.jackson.databind.ser.std.NullSerializer;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;
@ -26,7 +25,6 @@ public class ReviewStandardEntity extends TenantEntity implements Serializable {
private Long reviewId; private Long reviewId;
@ApiModelProperty(value = "标准ID",required = true) @ApiModelProperty(value = "标准ID",required = true)
@NotNull
@QueryField(condition = SqlCondition.EQUAL) @QueryField(condition = SqlCondition.EQUAL)
@JsonSerialize(nullsUsing = NullSerializer.class) @JsonSerialize(nullsUsing = NullSerializer.class)
private Integer standardId; private Integer standardId;

Loading…
Cancel
Save