提交代码

master
胡锐 11 months ago
parent af51173467
commit 378b392427
  1. 3
      schedule/src/main/java/com/hfkj/schedule/MerLedgerSchedule.java

@ -8,6 +8,7 @@ import com.hfkj.sysenum.*;
import lombok.SneakyThrows;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.Scheduled;
import javax.annotation.Resource;
@ -20,6 +21,7 @@ import java.util.Map;
* @author: HuRui
* @date: 2023/9/25
**/
@Configuration
public class MerLedgerSchedule {
private static final Logger log = LoggerFactory.getLogger(MerLedgerSchedule.class);
@ -32,7 +34,6 @@ public class MerLedgerSchedule {
/**
* 审批状态查询
*/
@SneakyThrows
@Scheduled(cron="0 0/1 * * * ?") //每1分钟执行一次
public void merLedgerApplyment() {
Map<String, Object> param = new HashMap<>();

Loading…
Cancel
Save