Merge branch 'master' into dev

master
胡锐 11 months ago
commit 72e3cb2f01
  1. 3
      schedule/src/main/java/com/hfkj/schedule/MerLedgerSchedule.java

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

Loading…
Cancel
Save