|
|
@ -37,7 +37,6 @@ import com.epmet.dto.result.GridCountResultDTO; |
|
|
|
import com.epmet.dto.result.ValidCustomerResultDTO; |
|
|
|
import com.epmet.excel.CustomerExcel; |
|
|
|
import com.epmet.feign.GovOrgFeignClient; |
|
|
|
import com.epmet.feign.GovOrgOpenFeignClient; |
|
|
|
import com.epmet.service.CustomerService; |
|
|
|
import org.slf4j.Logger; |
|
|
|
import org.slf4j.LoggerFactory; |
|
|
@ -66,8 +65,6 @@ public class CustomerController { |
|
|
|
|
|
|
|
@Autowired |
|
|
|
private GovOrgFeignClient govOrgFeignClient; |
|
|
|
@Autowired |
|
|
|
private GovOrgOpenFeignClient govOrgOpenFeignClient; |
|
|
|
|
|
|
|
@GetMapping("page") |
|
|
|
public Result<PageData<CustomerDTO>> page(@RequestParam Map<String, Object> params) { |
|
|
@ -282,14 +279,4 @@ public class CustomerController { |
|
|
|
ValidatorUtils.validateEntity(formDTO, CustomerIdFormDTO.Customer.class); |
|
|
|
return new Result<CustomerInfoResultDTO>().ok(customerService.getCustomer(formDTO)); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@PostMapping("zxc") |
|
|
|
public void getZxc(){ |
|
|
|
CommonGridIdFormDTO commonGridId = new CommonGridIdFormDTO(); |
|
|
|
commonGridId.setGridId("111"); |
|
|
|
commonGridId.setUserId("111"); |
|
|
|
Result<List<String>> gridStaffs = govOrgOpenFeignClient.getGridStaffs(commonGridId); |
|
|
|
System.out.println(gridStaffs); |
|
|
|
} |
|
|
|
} |
|
|
|