---修复关联关系一对多bug
This commit is contained in:
@ -7,6 +7,7 @@ import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
|
||||
import com.xjrsoft.common.constant.GlobalConstant;
|
||||
import com.xjrsoft.module.sales.vo.LngCustomerVo;
|
||||
|
||||
/**
|
||||
* @author: ksy
|
||||
@ -15,10 +16,7 @@ import com.xjrsoft.common.constant.GlobalConstant;
|
||||
@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);
|
||||
LngCustomerVo getTranById(@RequestParam("id")String id);
|
||||
|
||||
}
|
||||
|
||||
@ -1,12 +1,11 @@
|
||||
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;
|
||||
import com.xjrsoft.module.sales.vo.LngGradeSystemVo;
|
||||
|
||||
/**
|
||||
* @author: ksy
|
||||
@ -15,10 +14,7 @@ import com.xjrsoft.common.constant.GlobalConstant;
|
||||
@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);
|
||||
LngGradeSystemVo getTranById(@RequestParam("id")String id);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user