|
|
|
@ -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<>(); |
|
|
|
|