Browse Source

# 危险源库功能

zhongwei
haungxing 10 months ago
parent
commit
2be488f95e
  1. 2
      hzims-service-api/safeproduct-api/src/main/java/com/hnac/hzims/safeproduct/hazard/entity/HazardLibraryEntity.java

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

@ -31,6 +31,7 @@ public class HazardLibraryEntity extends TenantEntity implements Serializable {
@ApiModelProperty(value = "危险源类型") @ApiModelProperty(value = "危险源类型")
@NotNull @NotNull
@QueryField(condition = SqlCondition.EQUAL)
private String type; private String type;
@ApiModelProperty("危险源名称") @ApiModelProperty("危险源名称")
@ -54,6 +55,7 @@ public class HazardLibraryEntity extends TenantEntity implements Serializable {
@ApiModelProperty(value = "风险等级 10=稍有危险 20=一般危险 30=显著危险 40=高度危险") @ApiModelProperty(value = "风险等级 10=稍有危险 20=一般危险 30=显著危险 40=高度危险")
@JsonSerialize(nullsUsing = NullSerializer.class) @JsonSerialize(nullsUsing = NullSerializer.class)
@QueryField(condition = SqlCondition.EQUAL)
private Integer level; private Integer level;
} }

Loading…
Cancel
Save