Commit 2ab9ca11 authored by 赵啸非's avatar 赵啸非

添加消息发送系统

parent 9c744fbb
......@@ -49,7 +49,7 @@ public enum AppSourceEnum {
try {
boolean hasE = false;
for (String e : eItem) {
if (item.getValue() == e) {
if (item.getValue() .equals(e)) {
hasE = true;
break;
}
......
......@@ -4,10 +4,10 @@ import java.util.LinkedHashMap;
import java.util.Map;
/**
* 消息类型(等待超时预警,办理超时预警,差评预警)枚举类
*
* @author zxfei
*/
* 消息类型(等待超时预警,办理超时预警,差评预警)枚举类
*
* @author zxfei
*/
public enum MessageTypeEnum {
等待超时预警("等待超时预警", "等待超时预警"),
办理超时预警("办理超时预警", "办理超时预警"),
......@@ -30,7 +30,7 @@ public enum MessageTypeEnum {
public static MessageTypeEnum getByValue(String value) {
for (MessageTypeEnum messageTypeEnum : MessageTypeEnum.values()) {
if (messageTypeEnum.getValue() == value) {
if (messageTypeEnum.getValue().equals(value)) {
return messageTypeEnum;
}
}
......@@ -49,7 +49,7 @@ public enum MessageTypeEnum {
try {
boolean hasE = false;
for (String e : eItem) {
if (item.getValue() == e) {
if (item.getValue().equals(e)) {
hasE = true;
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment