package com.izouma.nineth.task;

import com.izouma.nineth.service.AssetService;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Service;

@Service
@AllArgsConstructor
@Slf4j
public class AssetServiceTask {

    private AssetService assetService;

    /**
     * TODO 改为手动调用
     *
     * 自动检查限制的售卖的资产信息
     */
    //@Scheduled(fixedDelay = 1000 * 60 * 30)
    public void batchMint(){
        //Integer changeCount = assetService.initLimitSellPriceData();
        //log.info("限制售卖价格的变更：" + changeCount);
    }

}
