diff --git a/hzims-service-api/safeproduct-api/src/main/java/com/hnac/hzims/safeproduct/hazard/entity/HazardLibraryEntity.java b/hzims-service-api/safeproduct-api/src/main/java/com/hnac/hzims/safeproduct/hazard/entity/HazardLibraryEntity.java index bb66d70..0975d00 100644 --- a/hzims-service-api/safeproduct-api/src/main/java/com/hnac/hzims/safeproduct/hazard/entity/HazardLibraryEntity.java +++ b/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 = "危险源类型") @NotNull + @QueryField(condition = SqlCondition.EQUAL) private String type; @ApiModelProperty("危险源名称") @@ -54,6 +55,7 @@ public class HazardLibraryEntity extends TenantEntity implements Serializable { @ApiModelProperty(value = "风险等级 10=稍有危险 20=一般危险 30=显著危险 40=高度危险") @JsonSerialize(nullsUsing = NullSerializer.class) + @QueryField(condition = SqlCondition.EQUAL) private Integer level; }