转换
This commit is contained in:
@ -0,0 +1,24 @@
|
||||
package com.xjrsoft.module.supplier.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.SUPPLIER_MODULE_PREFIX + "/tran/supplier")
|
||||
public interface ISupplierClient {
|
||||
|
||||
@GetMapping("/getAllTranData")
|
||||
Map<String,String> getAllTranData();
|
||||
|
||||
@GetMapping("/getTranById")
|
||||
String getTranById(@RequestParam("id")String id);
|
||||
|
||||
}
|
||||
@ -31,16 +31,29 @@ public class LngScorePageVo {
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime dateGrade;
|
||||
/**
|
||||
* 评价体系主键
|
||||
*/
|
||||
@ApiModelProperty("评价体系主键")
|
||||
@Trans(type = TransType.API, id = "93d735dcb7364a0f8102188ec4d77ac7")
|
||||
private String gsId;
|
||||
* 评价体系主键
|
||||
*/
|
||||
@ApiModelProperty("评价体系主键")
|
||||
@Trans(type = TransType.GRADE_SYSTEM, transToFieldName = "gsName")
|
||||
private String gsId;
|
||||
|
||||
/**
|
||||
* 评价体系名称主键
|
||||
*/
|
||||
@ApiModelProperty("评价体系名称")
|
||||
private String gsName;
|
||||
/**
|
||||
* 供应商/客户
|
||||
*/
|
||||
@ApiModelProperty("供应商/客户")
|
||||
@Trans(type = TransType.SUPPLIER, transToFieldName = "cpName")
|
||||
private String cpCode;
|
||||
|
||||
/**
|
||||
* 供应商/客户
|
||||
*/
|
||||
@ApiModelProperty("供应商/客户名称")
|
||||
private String cpName;
|
||||
/**
|
||||
* 分数
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user