This commit is contained in:
2025-12-29 16:33:58 +08:00
parent 28737e848b
commit dc8644f6be
17 changed files with 445 additions and 33 deletions

View File

@ -0,0 +1,24 @@
package com.xjrsoft.module.sales.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.SALES_MODULE_PREFIX + "/tran/customer")
public interface ICustomerClient {
@GetMapping("/getAllTranData")
Map<String,String> getAllTranData();
@GetMapping("/getTranById")
String getTranById(@RequestParam("id")String id);
}

View File

@ -0,0 +1,24 @@
package com.xjrsoft.module.sales.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.SALES_MODULE_PREFIX + "/tran/gradeSystem")
public interface IGradeSystemClient {
@GetMapping("/getAllTranData")
Map<String,String> getAllTranData();
@GetMapping("/getTranById")
String getTranById(@RequestParam("id")String id);
}

View File

@ -75,7 +75,8 @@ public class LngCustomerPageVo {
* 状态(未提交/审批中/已审批/已驳回)
*/
@ApiModelProperty("状态(未提交/审批中/已审批/已驳回)")
@Trans(type = TransType.DIC, id = "1990669393069129729", transToFieldName = "approName")
//@Trans(type = TransType.DIC, id = "1990669393069129729", transToFieldName = "approName")
@Trans(type = TransType.DIC, id = "1990669393069129729")
private String approCode;
@ApiModelProperty("状态(未提交/审批中/已审批/已驳回)")

View File

@ -34,13 +34,26 @@ public class LngScorePageVo {
* 评价体系主键
*/
@ApiModelProperty("评价体系主键")
//@Trans(type = TransType.API, id = "93d735dcb7364a0f8102188ec4d77ac7")
@Trans(type = TransType.GRADE_SYSTEM, transToFieldName = "gsName")
private String gsId;
/**
* 评价体系名称主键
*/
@ApiModelProperty("评价体系名称")
private String gsName;
/**
* 供应商/客户
*/
@ApiModelProperty("供应商/客户")
@Trans(type = TransType.CUSTOMER, transToFieldName = "cpName")
private String cpCode;
/**
* 供应商/客户
*/
@ApiModelProperty("供应商/客户名称")
private String cpName;
/**
* 分数
*/

View File

@ -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);
}

View File

@ -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;
/**
* 分数
*/