|
|
@ -5,6 +5,7 @@ import com.weaver.common.base.entity.result.WeaResult;
|
|
|
|
import com.weaver.seconddev.interfaces.k3.CallK3CustomerService;
|
|
|
|
import com.weaver.seconddev.interfaces.k3.CallK3CustomerService;
|
|
|
|
import com.weaver.seconddev.interfaces.k3.CustomerServiceStub;
|
|
|
|
import com.weaver.seconddev.interfaces.k3.CustomerServiceStub;
|
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
@ -25,6 +26,9 @@ import java.util.Map;
|
|
|
|
@RequestMapping({"/papi/secondev/workflow/controller" })
|
|
|
|
@RequestMapping({"/papi/secondev/workflow/controller" })
|
|
|
|
public class K3_Check_CustomerInfo_controller {
|
|
|
|
public class K3_Check_CustomerInfo_controller {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Autowired
|
|
|
|
|
|
|
|
private CallK3CustomerService services;
|
|
|
|
|
|
|
|
|
|
|
|
@RequestMapping("/K3_Check_CustomerInfo")
|
|
|
|
@RequestMapping("/K3_Check_CustomerInfo")
|
|
|
|
public WeaResult<String> run(@RequestParam Map<String,Object> params) {
|
|
|
|
public WeaResult<String> run(@RequestParam Map<String,Object> params) {
|
|
|
|
log.error("K3_Check_CustomerInfo_controller execute start");
|
|
|
|
log.error("K3_Check_CustomerInfo_controller execute start");
|
|
|
@ -43,7 +47,6 @@ public class K3_Check_CustomerInfo_controller {
|
|
|
|
req.setFName(custname);
|
|
|
|
req.setFName(custname);
|
|
|
|
req.setFNumber(custnumber);
|
|
|
|
req.setFNumber(custnumber);
|
|
|
|
req.setDataCenterID(datacenterid);
|
|
|
|
req.setDataCenterID(datacenterid);
|
|
|
|
CallK3CustomerService services = new CallK3CustomerService();
|
|
|
|
|
|
|
|
CustomerServiceStub.CustomerSearchRes res = services.getCustMsg(req);
|
|
|
|
CustomerServiceStub.CustomerSearchRes res = services.getCustMsg(req);
|
|
|
|
code = res.getCode();
|
|
|
|
code = res.getCode();
|
|
|
|
message = res.getMessage();
|
|
|
|
message = res.getMessage();
|
|
|
|