You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.2 KiB
32 lines
1.2 KiB
package com.sinosoft.customer;
|
|
|
|
import com.sinosoft.common.core.constant.ServiceNames;
|
|
import com.sinosoft.common.core.domain.R;
|
|
import com.sinosoft.customer.domain.bo.SubCustomerBo;
|
|
import com.sinosoft.customer.domain.vo.CustomerNoVo;
|
|
import com.sinosoft.customer.domain.vo.RemoteMasterCusomerVo;
|
|
import org.springframework.cloud.openfeign.FeignClient;
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* 客户中心查询接口
|
|
*/
|
|
|
|
@FeignClient(value = ServiceNames.CUSTOMER,contextId = "remoteCustomerService")
|
|
|
|
public interface RemoteCustomerService {
|
|
|
|
//根据子客户号查询主客户号
|
|
@PostMapping("/customerquery/quryMasterCustomerNo")
|
|
R<CustomerNoVo> quryMasterCustomerNo(@RequestBody SubCustomerBo subCustomerBo);
|
|
|
|
//根据主客户号查询所有子客户号
|
|
@PostMapping("/customerquery/qurySubCustomerNo")
|
|
R<CustomerNoVo> qurySubCustomerNo(@RequestBody String masterCustomerNo);
|
|
|
|
@PostMapping("/customerquery/remoteQuryMasterCustomer")
|
|
R<RemoteMasterCusomerVo> remoteQuryMasterCustomer(@RequestBody String masterCustomerNo);
|
|
}
|
|
|