package com.zksy.data.controller;

import com.zksy.data.service.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test2")
public class Test2Controller {
    @Autowired
    private XcrAbnormalBusinessOperationsService xcrAbnormalBusinessOperationsService;
    @Autowired
    private XcrMainFinancialStatementsService xcrMainFinancialStatementsService;
    @Autowired
    private XcrIncomeTaxReturnService xcrIncomeTaxReturnService;
    @Autowired
    private XcrAdministrativeLicensingService xcrAdministrativeLicensingService;
    @Autowired
    private XcrAbnormalHouseholdIdentificationService xcrAbnormalHouseholdIdentificationService;
    @GetMapping("/a")
    public String hello() {
//        xcrAbnormalBusinessOperationsService.saveDataByUniCode("gateway/api/1/getQyycmlxxxxByUniscid");
//        xcrMainFinancialStatementsService.saveDataByUniCode("gateway/api/1/getCwbbzbByUniscid");
//        xcrIncomeTaxReturnService.saveDataByUniCode("gateway/api/1/getQysdssbxxByUniscid1");
//        xcrAdministrativeLicensingService.saveDataByUniCode("interface/v1/doublePublic/findLicensingList");
        xcrAbnormalHouseholdIdentificationService.saveDataByUniCode("gateway/api/1/getFzchrdxxByUniscid");
        return "hello";
    }
}
