| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
 | | package com.doumee.jobs; |  |   |  | import org.slf4j.Logger; |  | import org.slf4j.LoggerFactory; |  | import org.springframework.stereotype.Component; |  |   |  | /** |  |  * @author 公众号:知了一笑 |  |  * @since 2023-07-26 11:44 |  |  */ |  | @Component("printJob") |  | public class PrintJob implements JobService { |  |   |  |     private static final Logger log = LoggerFactory.getLogger(PrintJob.class); |  |   |  |     @Override |  |     public void run(String params,String module) { |  |         log.info("\n ======== \n print-job-params:{} \n ========",params); |  |     } |  | } | 
 |