|
|
@ -1,6 +1,7 @@ |
|
|
|
package com.cweb.controller; |
|
|
|
package com.cweb.controller; |
|
|
|
|
|
|
|
|
|
|
|
import com.alibaba.fastjson.JSONObject; |
|
|
|
import com.alibaba.fastjson.JSONObject; |
|
|
|
|
|
|
|
import com.hfkj.common.utils.DateUtil; |
|
|
|
import com.hfkj.common.utils.ResponseMsgUtil; |
|
|
|
import com.hfkj.common.utils.ResponseMsgUtil; |
|
|
|
import com.hfkj.entity.BsMer; |
|
|
|
import com.hfkj.entity.BsMer; |
|
|
|
import com.hfkj.entity.BsMerPlatformNo; |
|
|
|
import com.hfkj.entity.BsMerPlatformNo; |
|
|
@ -13,6 +14,7 @@ import com.hfkj.sysenum.MerWithdrawalStatusEnum; |
|
|
|
import com.hfkj.sysenum.PlatformTypeEnum; |
|
|
|
import com.hfkj.sysenum.PlatformTypeEnum; |
|
|
|
import io.swagger.annotations.Api; |
|
|
|
import io.swagger.annotations.Api; |
|
|
|
import io.swagger.annotations.ApiOperation; |
|
|
|
import io.swagger.annotations.ApiOperation; |
|
|
|
|
|
|
|
import org.apache.commons.lang3.StringUtils; |
|
|
|
import org.slf4j.Logger; |
|
|
|
import org.slf4j.Logger; |
|
|
|
import org.slf4j.LoggerFactory; |
|
|
|
import org.slf4j.LoggerFactory; |
|
|
|
import org.springframework.stereotype.Controller; |
|
|
|
import org.springframework.stereotype.Controller; |
|
|
@ -58,7 +60,7 @@ public class BsMerWithdrawalController { |
|
|
|
merWithdrawal.setPlatformType(PlatformTypeEnum.type1.getNumber()); |
|
|
|
merWithdrawal.setPlatformType(PlatformTypeEnum.type1.getNumber()); |
|
|
|
if (merPlatform != null) { |
|
|
|
if (merPlatform != null) { |
|
|
|
merWithdrawal.setMerId(merPlatform.getMerId()); |
|
|
|
merWithdrawal.setMerId(merPlatform.getMerId()); |
|
|
|
merWithdrawal.setMerNo(merWithdrawal.getMerNo()); |
|
|
|
merWithdrawal.setMerNo(merPlatform.getMerNo()); |
|
|
|
merWithdrawal.setPlatformNo(merPlatform.getPlatformNo()); |
|
|
|
merWithdrawal.setPlatformNo(merPlatform.getPlatformNo()); |
|
|
|
merWithdrawal.setCupNo(merPlatform.getCupNo()); |
|
|
|
merWithdrawal.setCupNo(merPlatform.getCupNo()); |
|
|
|
// 查询商户
|
|
|
|
// 查询商户
|
|
|
@ -79,7 +81,10 @@ public class BsMerWithdrawalController { |
|
|
|
merWithdrawal.setSettleNo(respData.getString("settleNo")); |
|
|
|
merWithdrawal.setSettleNo(respData.getString("settleNo")); |
|
|
|
merWithdrawal.setBankNo(respData.getString("bankNo")); |
|
|
|
merWithdrawal.setBankNo(respData.getString("bankNo")); |
|
|
|
merWithdrawal.setBankName(respData.getString("nbkName")); |
|
|
|
merWithdrawal.setBankName(respData.getString("nbkName")); |
|
|
|
merWithdrawal.setCompleteTime(respData.getDate("completeTime")); |
|
|
|
merWithdrawal.setCreateTime(DateUtil.format(respData.getString("createdTime"), "yyyy-MM-dd HH:mm:ss")); |
|
|
|
|
|
|
|
if (StringUtils.isNotBlank(respData.getString("completeTime"))) { |
|
|
|
|
|
|
|
merWithdrawal.setCompleteTime(DateUtil.format(respData.getString("completeTime"), "yyyy-MM-dd HH:mm:ss")); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/* DRAW.ACCEPTED 提款已受理 |
|
|
|
/* DRAW.ACCEPTED 提款已受理 |
|
|
|
DRAW.FREEZE 提款冻结 |
|
|
|
DRAW.FREEZE 提款冻结 |
|
|
|