paramMap.put("channelOrderNo", ObjectUtils.defaultIfNull(transOrder.getChannelOrderNo(), "")); // 渠道订单号 paramMap.put("param1", ObjectUtils.defaultIfNull(transOrder.getParam1(), "")); // 扩展参数1 paramMap.put("param2", ObjectUtils.defaultIfNull(transOrder.getParam2(), "")); // 扩展参数2 paramMap.put("transSuccTime", ObjectUtils.defaultIfNull(transOrder.getTransSuccTime(), "")); // 转账成功时间 paramMap.put("backType", backType==null ? "" : backType); paramMap.put("device", URLEncoder.encode(ObjectUtils.defaultIfNull(transOrder.getDevice(), ""), PayConstant.RESP_UTF8)); paramMap.put("param1", URLEncoder.encode(ObjectUtils.defaultIfNull(transOrder.getParam1(), ""), PayConstant.RESP_UTF8)); paramMap.put("param2", URLEncoder.encode(ObjectUtils.defaultIfNull(transOrder.getParam2(), ""), PayConstant.RESP_UTF8)); }catch (UnsupportedEncodingException e) { _log.error("URL Encode exception.", e);
result = prime * result + ((getNotifyUrl() == null) ? 0 : getNotifyUrl().hashCode()); result = prime * result + ((getParam1() == null) ? 0 : getParam1().hashCode()); result = prime * result + ((getParam2() == null) ? 0 : getParam2().hashCode()); result = prime * result + ((getExpireTime() == null) ? 0 : getExpireTime().hashCode()); result = prime * result + ((getTransSuccTime() == null) ? 0 : getTransSuccTime().hashCode());
&& (this.getNotifyUrl() == null ? other.getNotifyUrl() == null : this.getNotifyUrl().equals(other.getNotifyUrl())) && (this.getParam1() == null ? other.getParam1() == null : this.getParam1().equals(other.getParam1())) && (this.getParam2() == null ? other.getParam2() == null : this.getParam2().equals(other.getParam2())) && (this.getExpireTime() == null ? other.getExpireTime() == null : this.getExpireTime().equals(other.getExpireTime())) && (this.getTransSuccTime() == null ? other.getTransSuccTime() == null : this.getTransSuccTime().equals(other.getTransSuccTime()))