kongdeqiang
2023-06-05 a41b28d983f46f90a41ff7d2aa47179541c1be99
src/main/java/com/boying/job/PayResultScheduled.java
@@ -36,7 +36,7 @@
    Boolean taskFlag = false;
    @Scheduled(cron = "0/2 * * * * ?")
    //@Scheduled(cron = "0/2 * * * * ?")
    public void execute() throws Exception {
        if(taskFlag == true){
            System.out.println("正在运行,强制退出-------》");
@@ -62,7 +62,6 @@
                //查询到最后一个出场没缴费的记录
                OutPark outPark = outParks.get(0);
                log.info("查询到最后的出场信息为:"+outPark);
                System.out.println(outPark);
                //查询缴款码记录更新
                doPay(outPark);
            }
@@ -93,7 +92,7 @@
        for (int i = 0; i < 10; i++) {
            String s= i+"";
            ThreadUtil.execute(() -> {
                System.out.println(s);
              //  System.out.println(s);
            });
        }
    }