中国算力平台算力登记系统2.0
yanzhaofeige
2024-09-30 1f170bfc65dfa63f0df0b5f1d8810834f187a16a
commit | author | age
43dc29 1 package com.odcc.cpzidc.quartz.task;
Y 2
3 import org.springframework.stereotype.Component;
4 import com.odcc.cpzidc.common.utils.StringUtils;
5
6 /**
7  * 定时任务调度测试
8  * 
9  * @author ruoyi
10  */
11 @Component("ryTask")
12 public class RyTask
13 {
14     public void ryMultipleParams(String s, Boolean b, Long l, Double d, Integer i)
15     {
16         System.out.println(StringUtils.format("执行多参方法: 字符串类型{},布尔类型{},长整型{},浮点型{},整形{}", s, b, l, d, i));
17     }
18
19     public void ryParams(String params)
20     {
21         System.out.println("执行有参方法:" + params);
22     }
23
24     public void ryNoParams()
25     {
26         System.out.println("执行无参方法");
27     }
28 }