Browse Source

# 消息模块

# 巡检模块变更为HZIMS子模块
zhongwei
haungxing 2 years ago
parent
commit
7b80b8d00b
  1. 2
      hzims-service-api/message-api/src/main/java/com/hnac/hzims/message/entity/config/ConfigEntity.java
  2. 2
      hzims-service-api/message-api/src/main/java/com/hnac/hzims/message/entity/log/MessageLogEntity.java

2
hzims-service-api/message-api/src/main/java/com/hnac/hzims/message/entity/config/ConfigEntity.java

@ -1,6 +1,5 @@
package com.hnac.hzims.message.entity.config; package com.hnac.hzims.message.entity.config;
import com.hnac.hzims.common.invalid.DictInvalid;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
@ -25,7 +24,6 @@ public class ConfigEntity extends TenantEntity implements Serializable {
@ApiModelProperty(value = "业务分类。系统通知:system,事务消息:business,日常提醒:dailyRemind,巡检消息:inspect",required = true) @ApiModelProperty(value = "业务分类。系统通知:system,事务消息:business,日常提醒:dailyRemind,巡检消息:inspect",required = true)
@NotNull(message = "业务分类不能为空") @NotNull(message = "业务分类不能为空")
@DictInvalid(dictKey = "businessClassify")
@QueryField(condition = SqlCondition.EQUAL) @QueryField(condition = SqlCondition.EQUAL)
private String businessClassify; private String businessClassify;

2
hzims-service-api/message-api/src/main/java/com/hnac/hzims/message/entity/log/MessageLogEntity.java

@ -1,7 +1,6 @@
package com.hnac.hzims.message.entity.log; package com.hnac.hzims.message.entity.log;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
import com.hnac.hzims.common.invalid.DictInvalid;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
@ -26,7 +25,6 @@ public class MessageLogEntity extends TenantEntity {
@ApiModelProperty(value = "业务分类。系统通知:system,事务消息:business,日常提醒:dailyRemind,巡检消息:inspect",required = true) @ApiModelProperty(value = "业务分类。系统通知:system,事务消息:business,日常提醒:dailyRemind,巡检消息:inspect",required = true)
@NotNull(message = "业务分类不能为空") @NotNull(message = "业务分类不能为空")
@DictInvalid(dictKey = "businessClassify")
@QueryField(condition = SqlCondition.EQUAL) @QueryField(condition = SqlCondition.EQUAL)
private String businessClassify; private String businessClassify;

Loading…
Cancel
Save