This commit is contained in:
Redkale
2017-12-28 10:40:25 +08:00
parent 23a0a80e3a
commit 2fd13d1481

View File

@@ -187,6 +187,16 @@ public class RetResult<T> {
return attach;
}
public Serializable findAttachValue(String key) {
return attach == null ? null : attach.get(key);
}
public String findAttachStringValue(String key) {
if (attach == null) return null;
Serializable val = attach.get(key);
return val == null ? null : val.toString();
}
/**
* 设置结果附件
*