result = prime * result + ((getClientIp() == null) ? 0 : getClientIp().hashCode()); result = prime * result + ((getDevice() == null) ? 0 : getDevice().hashCode()); result = prime * result + ((getRemarkInfo() == null) ? 0 : getRemarkInfo().hashCode()); result = prime * result + ((getChannelUser() == null) ? 0 : getChannelUser().hashCode()); result = prime * result + ((getUserName() == null) ? 0 : getUserName().hashCode());
/** * 构建微信企业付款请求数据 * @param transOrder * @param wxPayConfig * @return */ WxEntPayRequest buildWxEntPayRequest(TransOrder transOrder, WxPayConfig wxPayConfig) { // 微信企业付款请求对象 WxEntPayRequest request = new WxEntPayRequest(); request.setAmount(transOrder.getAmount().intValue()); // 金额,单位分 String checkName = "NO_CHECK"; if(transOrder.getExtra() != null) checkName = JSON.parseObject(transOrder.getExtra()).getString("checkName"); request.setCheckName(checkName); request.setDescription(transOrder.getRemarkInfo()); request.setReUserName(transOrder.getUserName()); request.setPartnerTradeNo(transOrder.getTransOrderId()); request.setDeviceInfo(transOrder.getDevice()); request.setSpbillCreateIp(transOrder.getClientIp()); request.setOpenid(transOrder.getChannelUser()); return request; }
&& (this.getClientIp() == null ? other.getClientIp() == null : this.getClientIp().equals(other.getClientIp())) && (this.getDevice() == null ? other.getDevice() == null : this.getDevice().equals(other.getDevice())) && (this.getRemarkInfo() == null ? other.getRemarkInfo() == null : this.getRemarkInfo().equals(other.getRemarkInfo())) && (this.getChannelUser() == null ? other.getChannelUser() == null : this.getChannelUser().equals(other.getChannelUser())) && (this.getUserName() == null ? other.getUserName() == null : this.getUserName().equals(other.getUserName()))
model.setPayerShowName("支付转账"); model.setPayeeRealName(transOrder.getUserName()); model.setRemark(transOrder.getRemarkInfo()); request.setBizModel(model); Map<String, Object> map = new HashMap<>();