/**
* 获取其他与本对象相关的属性键值对
* @param key
* @return
*/
public Object getProperties(String key) {
if (this.properties != null) {
Object value = this.properties.get(key);
return value==null?null:value;
} else {
return null;
}
}
String availableBal = (String) order.getProperties("availableBal");
String ledgerBal = (String) order.getProperties("ledgerBal");
String retCode = (String) order.getProperties("retCode");
String retMsg = (String) order.getProperties("retMsg");
时间: 2024-11-29 00:05:15