...
This commit is contained in:
parent
c4a121464b
commit
83d9b7b4db
|
@ -64,8 +64,6 @@ public class CensusControllerV2 {
|
|||
private JdbcTemplate jdbcTemplate;
|
||||
@Autowired
|
||||
private Tsingtao_xhaProperties tsingtao_xhaProperties;
|
||||
@Autowired
|
||||
private TsingtaoDataResourceService tsingtaoDataResourceService;
|
||||
|
||||
@Value("${census.type}")
|
||||
private String[] censusTypes; // 需要进行统计的资源类型
|
||||
|
@ -430,6 +428,7 @@ public class CensusControllerV2 {
|
|||
}
|
||||
break;
|
||||
case TSINGTAO: { // TODO 青岛大数据局
|
||||
TsingtaoDataResourceService tsingtaoDataResourceService = new TsingtaoDataResourceService();
|
||||
GetDataResourceListDto getDataResourceListDto = new GetDataResourceListDto();
|
||||
getDataResourceListDto.setPageNum(1);
|
||||
getDataResourceListDto.setPageSize(5);
|
||||
|
|
|
@ -21,14 +21,13 @@ import java.util.stream.Collectors;
|
|||
/**
|
||||
* 青岛市局数据资源
|
||||
*/
|
||||
@Component
|
||||
public class TsingtaoDataResourceService extends AbstractDataResourceService {
|
||||
|
||||
private static final Logger logger = LoggerFactory.getLogger(TsingtaoDataResourceService.class);
|
||||
|
||||
private static RestTemplate restTemplate;
|
||||
|
||||
{
|
||||
static {
|
||||
TsingtaoDataResourceService.restTemplate = SpringContextUtils.getBean(RestTemplate.class);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue