|
|
|
@@ -1,6 +1,7 @@ |
|
|
|
package com.iformall.domain.po; |
|
|
|
|
|
|
|
import com.alibaba.fastjson.JSON; |
|
|
|
import com.alibaba.fastjson.JSONObject; |
|
|
|
import com.baomidou.mybatisplus.annotation.TableField; |
|
|
|
import com.baomidou.mybatisplus.annotation.TableName; |
|
|
|
import com.iformall.domain.po.base.TenantEntity; |
|
|
|
@@ -30,6 +31,8 @@ public class WxProfitPaymentReceiver extends TenantEntity { |
|
|
|
private Date createTime; |
|
|
|
@io.swagger.annotations.ApiModelProperty(value="",name="updateTime") |
|
|
|
private Date updateTime; |
|
|
|
@io.swagger.annotations.ApiModelProperty(value="其他配置参数",name="receiverParams") |
|
|
|
private String receiverParams; |
|
|
|
|
|
|
|
@io.swagger.annotations.ApiModelProperty(value="分账接收方状态 0,正常 1,停用",name="status") |
|
|
|
private Integer status; |
|
|
|
@@ -46,6 +49,17 @@ public class WxProfitPaymentReceiver extends TenantEntity { |
|
|
|
@TableField(exist = false) |
|
|
|
private Integer hzImportStatus; |
|
|
|
|
|
|
|
public Object getReceiverParamValue(String key) { |
|
|
|
if (StringUtils.isBlank(receiverParams)) { |
|
|
|
return null; |
|
|
|
} |
|
|
|
JSONObject o = JSON.parseObject(receiverParams); |
|
|
|
if (null == o ) { |
|
|
|
return null; |
|
|
|
} |
|
|
|
return o.get(key); |
|
|
|
} |
|
|
|
|
|
|
|
private QueryMerchantResult getMerchantResult(){ |
|
|
|
QueryMerchantResult queryMerchantResult = null; |
|
|
|
try{ |
|
|
|
|