Commit a33e60f4 authored by 周昊's avatar 周昊

1、每日定时启动更新中台数据

parent c4707e83
package com.censoft.censoftrongtong.controller;
import com.censoft.censoftrongtong.service.IInfoAssetsService;
import com.censoft.censoftrongtong.service.IInfoLedgerService;
import com.ruoyi.common.utils.StringUtils;
import org.springframework.stereotype.Component;
import javax.annotation.Resource;
/**
* @author 周昊
* @desc ...
* @date 2023-10-09 09:45:48
*/
@Component("infoTask")
public class InfoTask {
@Resource
private IInfoLedgerService infoLedgerService;
@Resource
private IInfoAssetsService infoAssetsService;
public void saveOrUpdateByHttp()
{
infoLedgerService.saveOrUpdateByHttp();
infoAssetsService.saveOrUpdateByHttp();
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment