银行支行 区域
This commit is contained in:
@@ -5,7 +5,7 @@ import com.czg.EntryManager;
|
||||
import com.czg.annotation.Debounce;
|
||||
import com.czg.config.RabbitPublisher;
|
||||
import com.czg.dto.req.AggregateMerchantDto;
|
||||
import com.czg.dto.resp.BankBranchDto;
|
||||
import com.czg.dto.resp.WechatBankBranchRespDto;
|
||||
import com.czg.order.entity.ShopDirectMerchant;
|
||||
import com.czg.resp.CzgResult;
|
||||
import com.czg.service.order.dto.AggregateMerchantVO;
|
||||
@@ -17,8 +17,6 @@ import jakarta.annotation.Resource;
|
||||
import lombok.AllArgsConstructor;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 进件管理
|
||||
*
|
||||
@@ -59,13 +57,12 @@ public class EntryManagerController {
|
||||
/**
|
||||
* 查询银行支行列表
|
||||
*
|
||||
* @param province 省份 陕西省 从 /system/admin/common/region获取
|
||||
* @param city 城市 西安市 从 /system/admin/common/region获取
|
||||
* @param instId 顶级机构ID CMB 从 /system/admin/common/bankInfo 获取
|
||||
* @param bankAliceCode 银行别名code bankAliasCode 从 /system/admin/common/bankInfo 获取
|
||||
* @param cityCode 市编码 wxProvinceCode 从 /system/admin/common/region 获取
|
||||
*/
|
||||
@GetMapping("bankBranchList")
|
||||
public CzgResult<List<BankBranchDto>> queryBankBranchList(String province, String city, String instId) {
|
||||
return CzgResult.success(EntryManager.queryBankBranchList(province, city, instId));
|
||||
public CzgResult<WechatBankBranchRespDto> queryBankBranchList(String bankAliceCode, String cityCode) {
|
||||
return CzgResult.success(EntryManager.queryBankBranchList(bankAliceCode, cityCode));
|
||||
}
|
||||
|
||||
@GetMapping("test")
|
||||
|
||||
@@ -3,7 +3,6 @@ package com.czg.controller.admin;
|
||||
import com.czg.BaseQueryParam;
|
||||
import com.czg.resp.CzgResult;
|
||||
import com.czg.system.entity.SysBankInfo;
|
||||
import com.czg.system.entity.SysCategoryInfo;
|
||||
import com.czg.system.entity.SysRegion;
|
||||
import com.czg.system.service.SysBankInfoService;
|
||||
import com.czg.system.service.SysCategoryInfoService;
|
||||
@@ -17,7 +16,6 @@ import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* 通用
|
||||
|
||||
@@ -58,7 +58,7 @@ public class SysBankInfo implements Serializable {
|
||||
private String bankAliasCode;
|
||||
|
||||
/**
|
||||
* 不知道干啥的
|
||||
* 是否需要支行信息
|
||||
*/
|
||||
private Boolean needBankBranch;
|
||||
|
||||
|
||||
@@ -60,6 +60,10 @@ public class SysRegion implements Serializable {
|
||||
* 全级别名称(如“中国|北京|北京市|东城区)
|
||||
*/
|
||||
private String fullName;
|
||||
/**
|
||||
* 微信区域编码
|
||||
*/
|
||||
private String wxProvinceCode;
|
||||
|
||||
/**
|
||||
* 子级区域
|
||||
|
||||
@@ -13,27 +13,6 @@ import java.util.List;
|
||||
@Data
|
||||
public class WechatBankBranchRespDto {
|
||||
|
||||
// {
|
||||
// "total_count" : 107,
|
||||
// "count" : 1,
|
||||
// "data" : [
|
||||
// {
|
||||
// "bank_branch_name" : "招商银行股份有限公司北京分行",
|
||||
// "bank_branch_id" : "308100005019"
|
||||
// }
|
||||
// ],
|
||||
// "offset" : 100,
|
||||
// "links" : {
|
||||
// "next" : "/v3/capital/capitallhh/banks/1000009561/branches?offset=101&limit=1",
|
||||
// "prev" : "/v3/capital/capitallhh/banks/1000009561/branches?offset=99&limit=1",
|
||||
// "self" : "/v3/capital/capitallhh/banks/1000009561/branches?offset=100&limit=1"
|
||||
// },
|
||||
// "account_bank" : "招商银行",
|
||||
// "account_bank_code" : 1001,
|
||||
// "bank_alias" : "招商银行",
|
||||
// "bank_alias_code" : "1000009561"
|
||||
//}
|
||||
|
||||
/**
|
||||
* 开户银行
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user