mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 02:55:04 +08:00
update
This commit is contained in:
@@ -1417,7 +1417,7 @@ public class OrderService {
|
|||||||
if (adapayMemberAccount == null) {
|
if (adapayMemberAccount == null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
adapayMemberAccount.setDelFlag(Constants.ONE);
|
adapayMemberAccount.setStatus(Constants.TWO);
|
||||||
// 逻辑删除记录,并删除缓存
|
// 逻辑删除记录,并删除缓存
|
||||||
adapayMemberAccountService.updateAdapayMemberAccount(adapayMemberAccount);
|
adapayMemberAccountService.updateAdapayMemberAccount(adapayMemberAccount);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ import com.huifu.adapay.core.exception.BaseAdaPayException;
|
|||||||
import com.huifu.adapay.model.Refund;
|
import com.huifu.adapay.model.Refund;
|
||||||
import com.jsowell.JsowellApplication;
|
import com.jsowell.JsowellApplication;
|
||||||
import com.jsowell.adapay.service.AdapayMemberService;
|
import com.jsowell.adapay.service.AdapayMemberService;
|
||||||
|
import com.jsowell.adapay.vo.AdapayCorpMemberVO;
|
||||||
import com.jsowell.common.constant.CacheConstants;
|
import com.jsowell.common.constant.CacheConstants;
|
||||||
import com.jsowell.common.constant.Constants;
|
import com.jsowell.common.constant.Constants;
|
||||||
import com.jsowell.common.core.domain.entity.SysDictData;
|
import com.jsowell.common.core.domain.entity.SysDictData;
|
||||||
@@ -527,8 +528,11 @@ public class SpringBootTestController {
|
|||||||
@Test
|
@Test
|
||||||
public void testQueryCorpMember() {
|
public void testQueryCorpMember() {
|
||||||
try {
|
try {
|
||||||
Map<String, Object> map = adapayMemberService.selectAdapayMember("5");
|
// Map<String, Object> map = adapayMemberService.selectAdapayMember("5");
|
||||||
System.out.println(map);
|
|
||||||
|
String adapayMemberId = "ACM29562569";
|
||||||
|
AdapayCorpMemberVO adapayCorpMemberVO = adapayMemberService.queryCorpAdapayMemberInfo(adapayMemberId);
|
||||||
|
System.out.println(adapayCorpMemberVO);
|
||||||
} catch (BaseAdaPayException e) {
|
} catch (BaseAdaPayException e) {
|
||||||
throw new RuntimeException(e);
|
throw new RuntimeException(e);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,36 @@
|
|||||||
|
package com.jsowell.common.enums.adapay;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 审核状态
|
||||||
|
*/
|
||||||
|
public enum AdapayAuditStateEnum {
|
||||||
|
AWAIT_AUDIT("A", "待审核"),
|
||||||
|
AUDIT_FAILED("B", "审核失败"),
|
||||||
|
ACCOUNT_OPENING_FAILED("C", "开户失败"),
|
||||||
|
ACCOUNT_OPENED_NO_SETTLEMENT_ACCOUNT("D", "开户成功但未创建结算账户"),
|
||||||
|
ACCOUNT_SUCCESSFUL("E", "开户和创建结算账户成功") //
|
||||||
|
;
|
||||||
|
private String value;
|
||||||
|
private String label;
|
||||||
|
|
||||||
|
public String getValue() {
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setValue(String value) {
|
||||||
|
this.value = value;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getLabel() {
|
||||||
|
return label;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setLabel(String label) {
|
||||||
|
this.label = label;
|
||||||
|
}
|
||||||
|
|
||||||
|
AdapayAuditStateEnum(String value, String label) {
|
||||||
|
this.value = value;
|
||||||
|
this.label = label;
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user