银行转换
This commit is contained in:
@ -0,0 +1,24 @@
|
||||
package com.xjrsoft.module.mdm.client;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
|
||||
import com.xjrsoft.common.constant.GlobalConstant;
|
||||
|
||||
/**
|
||||
* @author: ksy
|
||||
* @since: 2025/11/5
|
||||
*/
|
||||
@FeignClient(value = GlobalConstant.CLIENT_PCITC_MDM_NAME, path = GlobalConstant.CLIENT_API_PRE + GlobalConstant.MDM_MODULE_PREFIX + "/tran/lngBank")
|
||||
public interface ILngBankClient {
|
||||
|
||||
@GetMapping("/getAllTranData")
|
||||
Map<String,String> getAllTranData();
|
||||
|
||||
@GetMapping("/getTranById")
|
||||
String getTranById(@RequestParam("id")String id);
|
||||
|
||||
}
|
||||
@ -8,6 +8,9 @@ import java.time.LocalDateTime;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
|
||||
import com.xjrsoft.common.annotation.Trans;
|
||||
import com.xjrsoft.common.enums.TransType;
|
||||
|
||||
/**
|
||||
* @title: 表单出参
|
||||
* @Author 管理员
|
||||
@ -35,8 +38,15 @@ public class LngCustomerBankVo {
|
||||
* 银行
|
||||
*/
|
||||
@ApiModelProperty("银行")
|
||||
@Trans(type = TransType.LNG_BANK, transToFieldName = "bankName")
|
||||
private String bankCode;
|
||||
|
||||
/**
|
||||
* 银行
|
||||
*/
|
||||
@ApiModelProperty("银行名称")
|
||||
private String bankName;
|
||||
|
||||
|
||||
/**
|
||||
* 账号名称
|
||||
|
||||
@ -8,6 +8,9 @@ import java.time.LocalDateTime;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
|
||||
import com.xjrsoft.common.annotation.Trans;
|
||||
import com.xjrsoft.common.enums.TransType;
|
||||
|
||||
/**
|
||||
* @title: 表单出参
|
||||
* @Author 管理员
|
||||
@ -35,8 +38,15 @@ public class LngSupplierBankVo {
|
||||
* 银行
|
||||
*/
|
||||
@ApiModelProperty("银行")
|
||||
@Trans(type = TransType.LNG_BANK, transToFieldName = "bankName")
|
||||
private String bankCode;
|
||||
|
||||
/**
|
||||
* 银行
|
||||
*/
|
||||
@ApiModelProperty("银行名称")
|
||||
private String bankName;
|
||||
|
||||
|
||||
/**
|
||||
* 账号名称
|
||||
|
||||
Reference in New Issue
Block a user