1821349743@qq.com
2023-02-20 059154a3b7d812b3bb4b89ecfa4d94f9b905f7e0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package com.product.server.report.quartz;
 
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
 
import com.product.core.controller.support.AbstractBaseController;
import com.product.core.exception.BaseException;
import com.product.server.report.config.SystemCode;
import com.product.server.report.service.idel.IChartPropertyConfigService;
import com.product.server.report.service.idel.IViewDataConvertService;
 
/**
 * 报表数据处理定时任务接口
 *
 */
@Component
public class ReportDataProcessQuartz extends AbstractBaseController {
    
     @Autowired
    ViewDataConvertService viewDataConvertService;
    public void dataProcess() throws BaseException {
        try {
            IViewDataConvertService service=(IViewDataConvertService)getProxyInstance(viewDataConvertService);
            service.reportDataProcessTask();
        }
        catch(BaseException e) {
            throw e;
        }
        catch(Exception e) {
            throw new BaseException(SystemCode.SYTEM_REPORT_DATA_PROCESS_ERROR.getValue(),SystemCode.SYTEM_REPORT_DATA_PROCESS_ERROR.getText()+":"+e.getMessage());
        }
    }
}