报表优化

解决bug
邮件消息优化
yun-zuoyi
yunhao.wang 6 years ago
parent 252ccce1e5
commit 8e029e82e0

@ -1047,4 +1047,38 @@ public class ImppEnumUtil {
return tmp;
}
}
//messageReceiverType
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum MESSAGE_RECEIVER_TYPE {
INTERNAL(1, "内部人员接收"),
EXTERNAL(2, "外部人员接收"),
URGENT(3, "紧急联系人接收");
private int value;
private String description;
public int getValue() {
return value;
}
public String getDescription() {
return description;
}
private MESSAGE_RECEIVER_TYPE(int value, String description) {
this.value = value;
this.description = description;
}
public static String valueOf(int val) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].value == val) {
tmp = values()[i].description;
}
}
return tmp;
}
}
}

@ -55,6 +55,10 @@ public class SysConfig extends BaseBean {
@ApiParam(value ="参数值")
private String configValue;
@Column(name="CONFIG_VALUE_OPTION")
@ApiParam(value ="参数值选项(参数类型为多选时使用),格式:{key:'',value:''}")
private String configValueOption;
@Column(name="CONFIG_DESCRIPTION")
@ApiParam(value ="参数描述")
private String configDescription;

@ -55,8 +55,12 @@ public class SysMessage extends BaseBean {
@ApiParam(value ="发送者名称" )
private String messageSenderNameRdd;
@Column(name="MESSAGE_RECEIVER_TYPE")
@ApiParam(value ="收件人类型(枚举ImppEnumUtil.MESSAGE_TYPE)" , example ="-1")
private Integer messageReceiverType;
@Column(name="MESSAGE_RECEIVERS_ID")
@ApiParam(value ="发送者id" )
@ApiParam(value ="收件者id" )
private String messageReceiversId;
@Column(name="MESSAGE_RECEIVERS_NAME_RDD")

Loading…
Cancel
Save