---修复关联关系一对多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.mdm.vo.LngBRegionVo;
|
||||
|
||||
/**
|
||||
* @author: ksy
|
||||
@ -19,6 +20,6 @@ public interface ICountryRegionClient {
|
||||
Map<String,String> getAllTranData();
|
||||
|
||||
@GetMapping("/getTranById")
|
||||
String getTranById(@RequestParam("id")String id);
|
||||
LngBRegionVo getTranById(@RequestParam("id")String id);
|
||||
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
package com.xjrsoft.module.mdm.client;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
@ -8,7 +8,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.mdm.dto.UpdateLngBBankDto;
|
||||
import com.xjrsoft.module.mdm.vo.LngBCurrencyVo;
|
||||
|
||||
/**
|
||||
* @author: ksy
|
||||
@ -21,7 +21,7 @@ public interface ICurrencyClient {
|
||||
Map<String,String> getAllTranData();
|
||||
|
||||
@GetMapping("/getTranById")
|
||||
String getTranById(@RequestParam("id")String id);
|
||||
LngBCurrencyVo getTranById(@RequestParam("id")String id);
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -9,6 +9,7 @@ import org.springframework.web.bind.annotation.RequestParam;
|
||||
|
||||
import com.xjrsoft.common.constant.GlobalConstant;
|
||||
import com.xjrsoft.module.mdm.dto.UpdateLngBBankDto;
|
||||
import com.xjrsoft.module.mdm.vo.LngBBankVo;
|
||||
|
||||
/**
|
||||
* @author: ksy
|
||||
@ -21,7 +22,7 @@ public interface ILngBankClient {
|
||||
Map<String,String> getAllTranData();
|
||||
|
||||
@GetMapping("/getTranById")
|
||||
String getTranById(@RequestParam("id")String id);
|
||||
LngBBankVo getTranById(@RequestParam("id")String id);
|
||||
|
||||
@GetMapping("/getTranByCodes")
|
||||
List<UpdateLngBBankDto> getTranByCodes(@RequestParam("codes") List<String> codes);
|
||||
|
||||
@ -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.mdm.vo.LngBStationLngVo;
|
||||
|
||||
/**
|
||||
* @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.MDM_MODULE_PREFIX + "/tran/lngStation")
|
||||
public interface ILngStationClient {
|
||||
|
||||
@GetMapping("/getAllTranData")
|
||||
Map<String,String> getAllTranData();
|
||||
|
||||
@GetMapping("/getTranById")
|
||||
String getTranById(@RequestParam("id")String id);
|
||||
LngBStationLngVo getTranById(@RequestParam("id")String id);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user